By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,315 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,315 IT Pros & Developers. It's quick & easy.

Opening a new window

P: n/a
When I use response.redirect or the href to open a new window the sessionID
also changes. Is there a way to open a new window from the same session ID
in C# using .Net?

Thanks!
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Use window.open to retain the session.

if ( newWindow )
{
Response.Write( "<script language=\"vbscript\">\n" );
Response.Write( "window.open \"" );
Response.Write( resultsPage );
Response.Write( "\"\n" );
Response.Write( "</script>" );
}

HTH,
bill
"YouKnowIt" <ga**************@hotmail.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
When I use response.redirect or the href to open a new window the sessionID also changes. Is there a way to open a new window from the same session ID in C# using .Net?

Thanks!

Nov 18 '05 #2

P: n/a
FIX: Windows Opened by Script Lose Authentication or Session

http://support.microsoft.com/default...b;EN-US;196383

Regards

Trevor Benedict R
MCSD

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.