thank you, and it wasnt working thats why i asked. there must be something else wrong in my code
On Sun, Jul 15, 2012 at 3:50 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Elias, > > On 7/15/12 1:37 PM, Elias Kopsiaftis wrote: > > ok i appreciate the input, but for now i will stick with the comet > > approach because i read that websocket for tomcat 7 is still > > experimental and i already built a lot of logic around the comet > > approach. does anyone know the answer to my original question? > > As long as one servlet was called long-enough before the second one > that the session could be created and its id returned to the client > *and* sessions are supported, then yes, both servlets should have > access to the same session data. > > It should have been easy to test this on your own ... > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlADHvsACgkQ9CaO5/Lv0PCwaACfej2clhjZIZ+UpF2CpNCoOtIX > HvUAniuzrjEf7AakeL6ONaIN736TImlr > =1ZqX > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >