New window and new session?

  • Thread starter Thread starter Alex D.
  • Start date Start date
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?
 
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
 
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
 
Back
Top