Board index » Web Programming » How to force new Session when spawning browser using hyperlink

How to force new Session when spawning browser using hyperlink

Web Programming244
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...)


-
 

Re:How to force new Session when spawning browser using hyperlink

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" <someone@somewhere.com>wrote in message

Quote
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...)









-

Re:How to force new Session when spawning browser using hyperlink

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)





"Børge Hansen" <someone@somewhere.com>wrote in message

Quote
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...)









-