----- Original Message -----
From: Martin Kuba <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 15, 1999 6:18 PM
Subject: Re: encodeURL()


> > Yes, you can recover the sessionid parameter value from the request
headers
> > if the session
> > object reports that cookies are turned off and put it in a correctly
named
> > hidden input
> > in the form. That may work ok :)
> >
> > Andy Bailey
>
> It is not guaranted that the session will be held as parameter.
> Yes, Apache uses a parameter named "JServSessionId",
> many other servlet engines do it also, but some servlet engines
> keep the session in PATH_INFO part of the URL or somewhere else.
>
> See www.sun.com, it uses :
>
>
http://www.sun.com/share/text/SMICopyright.html;$sessionid$5Z0OCPAAAWZNRAMUV
FZE3NQ
>
you can get the session id value from session.getId() and have your client
bind that as a get parameter
Thats what I actually do and it works.

Andy Bailey

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to