If you just want to hide the parameter in the url you can just use a form's
'post' method instead of get. If you want to do this from a link instead of a
form then you can create a form with no visible elements and then submit it
with a javascript link. Something kinda like this
<form action='index.cgi' method='post' id='myForm'>
<input type='hidden' name='myParam' value='blah...'>
</form>
...
then something like this
<a href="javascript:document.forms['myForm'].submit()">Click Me</a>
Was this what you were asking?
Michael Peters
Venzia
Cox, Todd wrote
> Hello all,
>
> I have started working with CGI::Application and HTML::Template and have
> found it to be great! I now can separate my code from HTML and it is
> much cleaner. I have a fundamental lack of knowledge that is very
> puzzling to my current app. I have a simple form app that when a
> user goes to the site it does the following:
> 1. Mode_1: Using a radiobutton asks the user to choose 1 of two choices
> of selection.
> 2. Mode_2: Based on the selection a popup box is displayed asking for
> more specific input.
> 3. Mode_3: Once the input has been selected an ldap search of our
> central directory service is performed to get email addresses.
> 4. Mode_4: Compose an email message to send to all of the returned
> users.
> 5. Mode_5: Confirm and send.
>
>
>
> The problem I ran into is that the message body is part of the URL string
> and I don't want that. So then I figured Apache::Session would take
> care of that and in a way it did. The problem is I am creating a new
> session when I go to the next run mode because I am creating a new
> instance of my application. How can I 1) eliminate the CGI
> param(message) body from being shown on the URL or 2) get just one
> session to start? I was going on the thought that since there was a
> setup that automagically it would run that once and I would have one
> session object.
>
>
>
> Any thoughts?
>
>
>
> T. Cox
>
> National Cancer Institute
>
> Rockville, MD
------- End of Original Message -------
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.