Re: Open a session based on the session id

2007-08-24 Thread Hernâni Henrique Ramos Cerqueira
Thanks, I always tough that with ajax requests cookies were not sended. This is my first application that mixes ajax requests and session tracking, and becaus I was not able to read session info, I immediately assumed that (and i think i had read that somewhere). But the problem was with the info..

Open a session based on the session id

2007-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hernâni, > I'm developing a webapp that does lots of ajax requests, but I need to > keep track of the session. What 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 tomc

Re: Open a session based on the session id

2007-08-24 Thread Ben Souther
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

Re: Open a session based on the session id

2007-08-24 Thread Hernâni Henrique Ramos Cerqueira
Sex, 2007-08-24 às 10:06 -0400, Christopher Schultz escreveu: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hernâni, > > Don't hijack threads. Please post a new question. ??? > > - -chris > > Hernâni Henrique Ramos Cerqueira wrote: > > Hello all, > > I'm developing a webapp that does l

Re: Open a session based on the session id

2007-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hernâni, Don't hijack threads. Please post a new question. - -chris 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 J

Open a session based on the session id

2007-08-24 Thread Hernâni Henrique Ramos Cerqueira
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