How to force new Session when spawning browser using hyperlink

B

Børge Hansen

Hi. Does anyone know how I can force a new session when my asp.net app
openes a window which links into my application using
javascript:window.open().

I want the application to spawn a new window (and session) which does not
interfere with each other....

Thanks
Børge

(please do no respond directly, as my email is not the real one...)
 
K

Kevin Spencer

Call Session.End in the PostBack. When the script is added to the page, a
new request is created when the new window is spawned, which starts a new
Session.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
B

bruce barker

you can not do this cookies, as both client windows share the same cookie
info. but if you use cookieless sessions (url munging) you can have the new
window start a new session by munging a new session id in its url.

-- bruce (sqlwork.com)
 
Joined
Jun 18, 2007
Messages
5
Reaction score
0
Hi,
I do have same requirement. I need to start a new session from one session i.e on the click of hyperlink. But i dont want to end my previous session. I want both of the sessions work simultanesouly. Can Someone please help me with this?

Thanks and Regards,
Prash..



Kevin Spencer said:
Call Session.End in the PostBack. When the script is added to the page, a
new request is created when the new window is spawned, which starts a new
Session.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Børge Hansen" <[email protected]> wrote in message
news:#[email protected]...
> Hi. Does anyone know how I can force a new session when my asp.net app
> openes a window which links into my application using
> javascript:window.open().
>
> I want the application to spawn a new window (and session) which does not
> interfere with each other....
>
> Thanks
> Børge
>
> (please do no respond directly, as my email is not the real one...)
>
>
 
Joined
Sep 14, 2006
Messages
6
Reaction score
0
You were able to resolve it? This is exact problem I'm facing.

If someone logs into my application, i want to allow him to see application for his subordinates as well, and then I do not want his existing session to be effected. Please let me know how can we start a new session?

Please help. (e-mail address removed), (e-mail address removed)


prash said:
Hi,
I do have same requirement. I need to start a new session from one session i.e on the click of hyperlink. But i dont want to end my previous session. I want both of the sessions work simultanesouly. Can Someone please help me with this?

Thanks and Regards,
Prash..
 

Ask a Question

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.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top