in reply to Any other way to keep session besides cookies or hidden fields?

One way or another, you're going to have to use cookies or a session id (either in the URL or in a hidden field) for reliable session management. Take a look at CGI::Session.
  • Comment on Re: Any other way to keep session besides cookies or hidden fields?

Replies are listed 'Best First'.
Re: Re: Any other way to keep session besides cookies or hidden fields?
by liz (Monsignor) on Jul 30, 2003 at 19:05 UTC
    You can also put the session key (as long as it is not predictable, e.g. an MD5 string) as the top directory in your URL:
       http://your.com/14681655ef653af/home.html
    
    The advantage of this approach is that if you make all of the links in your HTML relative to each other, you don't have to do any URL munging inside the HTML. Of course, you can forget about getting meaningful caching of proxy servers or browsers.

    The session key is easily obtainable with mod_perl or rewritten using mod_rewrite.

    Liz