Hi All,
As per the requirement of my project I need to open a new browser instance with new session. I tried to use javascript window.open() function. But this function maintain the same session.
Please help me as it is very urgent and important.
Thanks in advance,
Nirav Patel

Munir ShaikhRank #472 · 5.3K reputationPosted Jul 30, 2007, 1:32 AM EDT
Here is small javascript based solution for you.
let us say i have page called as "Winopener.aspx" and i want to open "Default.aspx" as per your requirement oncloseing "Winopener.aspx" you should open "Defaul.aspx" but session should be new right?
here is "Winopener.aspx" code
<
html><head>
<title>Suboktitle>
<script language="JavaScript">
script>
head>
<body onunload="window.opener='';OpenMyWin()">
body>
html>
Winopener.aspx.cs have following code
protected
void Page_Load(object sender, EventArgs e){Response.Write(Session.SessionID.ToString());}
"Default.aspx" is also some page at the code behind of the same page have same code
Default.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{Response.Write(Session.SessionID.ToString());}
You will see the session ID different, by which i am saying that sessions are different and hence your problem get solved.
Regards,
>>Munnamax