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)
 

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

Top