New window and new session?

A

Alex D.

Is there any way to open a new window with a new session using the
Page.RegisterClientScriptBlock to insert some javascript in a button's
onclick event?
 
O

Oisin

All vanilla javascript can do is spawn a new window sharing the parent
process, ergo the parent's session too. A new session would mean a new
iexplore.exe process, which scripting will never let you do without
altering the default permissions for the security zone your site sits
in. This may be permissible/possible for you, so take a look at the
WScript.Shell COM object.

Hope this helps,

- Oisin
 
C

Ciaran

In a previous job i worked at a microsoft partner and when we had this
requirement we asked microsoft who claimed it wasn't possible to script.
They did however create an ActiveX component which could be loaded in a new
window first which forced IE to use a new session.

I dont have a copy of this DLL but maybe they released it as a hotfix at
some point or a more experienced web activex coder could think of how to
re-create it.

Ciaran
 

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