Opening a new window

  • Thread starter Thread starter YouKnowIt
  • Start date Start date
Y

YouKnowIt

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!
 
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
 
Back
Top