Opening a new window

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!
 
W

William F. Robertson, Jr.

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top