Response.Redirect question

Results 1 to 2 of 2

Thread: Response.Redirect question

  1. #1
    Join Date
    Dec 1969

    Default Response.Redirect question

    Can I pass a variable with a response.redirect?<BR><BR>I want to have this<BR>vName = ors("FirstName")<BR>response.redirect "page.asp?Name=vName"<BR><BR>I know that isnt the right syntax...can it be done?

  2. #2
    Join Date
    Dec 1969

    Default Sure

    response.redirect "page.asp?Name=" & vName<BR><BR>better is <BR>response.redirect "page.asp?Name=" & Server.urlEncode(vName)<BR><BR>if spaces or weird char in vname<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts