[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Trying to understand how CGI::App works


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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.