Not sure whether this question has been asked - Is it possible to create a new session without invalidating the current session ? I couldn't find any info regarding this after spending lots of time in spec and search engine.
Appreciate if some one gives me a way to overcome this issue.
"Siraj DH", Please check your private messages regarding an important administrative matter. -Ben
Changed
Chaos !! How could this be possible? Imagine an application where the same user creates 2-3 active sessions and start making different changes in each session. I dont think should ever be possible ! -Amar
This is possible by opening multiple browser, each window is treated as a diffrent session. I am facing problem when it's multiple tabbed window in a single browser(with diffrent login), each tab is assigned with same session Id. This leads to context getting changed for each user.
As a fix I thought to keep the existing session open and create a new session for the second tab request.
Any thoughts or any other way to overcome this problem ?
No, Having multiple session open in the same browser is not possible. If this, rather weird, scenario is a hard requirement, you'll need to maintain some sort of pseudo-sessions on your own. Personally, I think the requirement is madness.
Right, but you know client is the king . In IE6 they were opening multiple browser to update their customers details parallelly, there were no complaints. But as they started using IE7 opening single browser and multiple tab caused lots of chaos.
You could do it using URL rewriting rather than cookies, but the trick as always is getting each tab to adopt a different session. You could also provide your own Session Manager (Tomcat allows you to do this) but I've never been remotely interested in going any further
Post by:autobot
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!
a bit of art, as a gift, the permaculture playing cards