File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Adding a time stamp parameter in order to force a new http session opening a new browser window
Joined: Oct 17, 2010
Oct 17, 2010 07:11:31
When I open two different windows of Firefox, I get twice the same http session using
session = request.getSession(true).
I would like to add a time stamp parameter to every forward URL in Struts 2.1 in order to force a new session opening a new browser window.
In which method should I do it and the objects of which should I use?
At the moment every action extends ActionSupport and
implements ServletRequestAware, ServletResponseAware, ParameterAware, SessionAware, RequestAware, ServletContextAware
Thank you in advance.
Author and ninkuma
Joined: Jan 10, 2002
Oct 17, 2010 11:59:50
Please be sure to start your own questions in your own new topics, I have split this post off into its own topic for you.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Adding a time stamp parameter in order to force a new http session opening a new browser window
what is session ?
session issues with Ctrl-N
Tabs within one browser share Session, but I want to capture close and time out event for each tab
Problems with lost sessions
New session new Browser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014