I've never had to deal with the session id in my own code.
Both Firefox and MSIE send it automatically when I make AJAX calls.





192.168.000.029.02446-192.168.000.020.08080: POST 
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Language: en-us
x-prototype-version: 1.5.0
Referer: http://192.168.0.20:8080/myContext/myPage
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
1.1.4322)
Host: 192.168.0.20:8080
Content-Length: 36
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=1C00A7251D7BF3EB3499EDC37614A93B <<<<=======<<<<<<
 
 
192.168.000.029.02446-192.168.000.020.08080: criteria=a














> Hernâni Henrique Ramos Cerqueira wrote:
> > Hello all,
> > I'm developing a webapp that does lots of ajax requests, but I need to
> > keep track of the session. Wath i do is to read the JSESSIONID cookie
> > with javascript and send the value as a POST parameter when I make the
> > request, but then tomcat doesn't open the session automaticaly. My
> > question is the following: Is there a way of calling the rigth session
> > based on the session id passed on the post parameter?
> > 
> > Thanks in advance,
> > Cheers, Hernâni
> > 
> > 
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGzuXn9CaO5/Lv0PARAq+XAKCMPau4Sei6eR5etAR40Y1ijfcNawCfa+e8
> mxdcstbA6kTnokVMr7iiFQM=
> =ZbeP
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to