T
Tim
How can I force my webapp to create a new session for every new
browser-window?
tia.
browser-window?
tia.
How can I force my webapp to create a new session for every new
browser-window?
Roger said:I don't think you have control over this when using cookies. Most
browsers don't see different windows as different sessions. However, with
url rewriting (session id's in the URI) I think you can make it work.
John C. Bollinger said:On the other hand, it may be difficult to prevent your servlet container
from managing sessions via cookies when it can, and it is unwise to
postulate implementing different behavior for different session tracking
mechanisms. The approach most people take is simply to take into
account that there may be multiple browser windows open on the same
session at the same time. It is usually better to make your application
more flexible and robust than to attempt to force its environment and
clients to cater to its limitations and foibles.
John Bollinger
(e-mail address removed)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.