Forums Register Login

Creating new Session without invalidating current session

+Pie Number of slices to send: Send
Hi guys,

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.

Thanks,

Siraj
+Pie Number of slices to send: Send
Only one session can exist for a given user at a given time so, no.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
"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 ?

Thanks,
Siraj
[ April 23, 2008: Message edited by: Sira jUddin ]
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.

Thank you all for your inputs
+Pie Number of slices to send: Send
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
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
https://gardener-gift.com


reply
reply
This thread has been viewed 4594 times.
Similar Threads
Problems invalidating HttpSession
Creating new session
how to get a new session in mozilla firefox new window
Disabling forward button in browser
Generating a new session id for a user
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:47:44.