You could also pass it as the path_info for the url if you wanted to make it somewhat 
more discrete. The eagle book also has a good section on session ids.

Nigel Hamilton wrote:

> HI Jitesh,
>
>         I do exactly the same thing ... but I pass session variables using a 
>combination of methods.
>
>         Inserting a hidden field into subsequent pages:
>
>                 <input type = "hidden" name = "sessionid" value = "1232139102831">
>
>         Or you could append the sessionid to a URL:
>
>                 http://www.yoursite.com/cgi-bin/yourcgi.pl?sessionid=1232139102831
>
>         Failing that, you could create a hidden frame (i.e., size = 0) and store the 
>sessionid in a Javascript variable:
>
>                 <form onSubmit = "this.action = this.action + '?sessionid=' + 
>parent.hiddenframe.sessionid;">
>
>         The javascript will append the sessionid when the form is submitted.
>
>         You might choose the third option if you wanted to keep the sessionid 
>semi-secret and you only need to access the session variable some of the time.
>
> NIge
>
>
> Nigel Hamilton
> ______________________________________________________________________________
> http://e1mail.com        e1mail - Encrypted 1st Class Mail        e1mail: 1001

--
Jeff Saenz
[EMAIL PROTECTED]


Reply via email to