Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with a response.redirect statement

Status
Not open for further replies.

rlh145

Programmer
Feb 19, 2001
36
US
If this is not the right forum to ask this, could someone let me know?

I am having a problem with deleting a record in a Frontpage application. The cancel button on my delete confirmation page is using a response.redirect statement that points to an .asp file with no paramenters. I need to redirect it to an .asp file that has paramenters. I will show the statement I am trying to use:

Response.Redirect(&quot;/res/Display_List.asp?userid=<%=session(&quot;userid&quot;)%>&quot;)

Now I know why it does not work (the use of quotes around userid), but could someone tell me what alternative statement could be used to remedy the problem?

Thanks!
Ralph
 
You might try:

Response.Redirect(&quot;/res/Display_List.asp?userid=<%=session('userid')%>&quot;)

or if that gives you trouble

Response.Redirect(&quot;/res/Display_List.asp?userid=<%=session(userid)%>&quot;) Regards,
Tread42
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top