aspose file tools*
The moose likes Struts and the fly likes Adding a time stamp parameter in order to force a new http session opening a new browser window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Adding a time stamp parameter in order to force a new http session opening a new browser window" Watch "Adding a time stamp parameter in order to force a new http session opening a new browser window" New topic
Author

Adding a time stamp parameter in order to force a new http session opening a new browser window

Marina Shapiro
Greenhorn

Joined: Oct 17, 2010
Posts: 1
Hi,

When I open two different windows of Firefox, I get twice the same http session using HttpSession 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.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61180
    
  66

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding a time stamp parameter in order to force a new http session opening a new browser window