Hi Chris, Thanks for your reply. How to configure server(Tomcat, I am using JBoss) to use URL-encoded session id tracking? I did not do anything. Is cookie used for session tracking by default? Thanks! David
Christopher Schultz <[EMAIL PROTECTED]> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave, Dave wrote: > I am using servlet. How to open a window in a new session? > > I tried javascript > > onclick="window.open(...)" > > but the opened window belongs to the same servlet session (see from > user login name). If you are using cookie-based session id tracking, you might not be able to do this at all. If you switch to URL-encoded session id tracking, you can simply leave the session id out of the popup's URL and your popup will not inherit the current session from the old one. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF+UX89CaO5/Lv0PARAkSIAKCb4gWA+EPb/D6FU/iPKz9rvknUywCfa6mU OlpwtfMF+5EA6ICgWorRP04= =rGp+ -----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] --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A.