jsessionid
Scott Battaglia
scott.battaglia at gmail.com
Fri Sep 14 12:02:05 EDT 2007
The default JSP page is designed to call the response.encodeUrl so that
Tomcat can determine if it needs to add a jsessionid or not to the url. I
see it sometimes on my machine.
It doesn't hurt anything if its there. You can disable it by editing the
jsp page.
-Scott
On 9/14/07, Dom <formpost at hotmail.com> wrote:
>
> Does anyone have any idea why tomcat or CAS deployment adds a jsessionid
> to
> the url.
>
> I have cookies enable. Looking at the headers it appears that both
> the jsessionid cookie is being set and the url parameter.
>
>
> HEAD OUTPUT
> ----------------------------------------------------------
> http://www-mysite.com:8081/cas/login
>
> GET /cas/login HTTP/1.1
> Host: www-mysite.com:8081
> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6)
> Gecko/20070725 Firefox/2.0
> .0.6
> Accept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
>
> HTTP/1.x 302 Found
> Location: http://www-mysite.com:8081/cas/login;jsessionid=v4ak3v4narho
> Content-Type: text/html; charset=iso-8859-1
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Set-Cookie: JSESSIONID=v4ak3v4narho;Path=/client
> Content-Length: 0
> Server: Jetty(6.1H.5-beta)
> ----------------------------------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070914/f0a7fbe9/attachment.html
More information about the cas
mailing list