[Q] response.redirect method

Results 1 to 4 of 4

Thread: [Q] response.redirect method

  1. #1
    Ed Lee Guest

    Default [Q] response.redirect method

    hi,<BR><BR>i want to know how to &#039;customise&#039; the url of response.redirect(URL) command.<BR><BR>i know that i can do &#039;reponse.redirect("index.html")&#039;<BR>b ut i want to know how to pass a variable as the URL in above command like..<BR><BR>myURL=response.cookie("theURL")<BR>r esponse.redirect(myURL)<BR><BR>when i try above command, it gives error saying that myURL is not URL type. <BR><BR>for my application, I need to redirect to a certain page address that&#039;s saved from previous pages.<BR><BR>can anybody help me completing this task?<BR><BR>thx very much in advance.<BR>

  2. #2
    New ASP Guest

    Default RE: [Q] response.redirect method

    Before you do that could you please tell us<BR><BR>myURL=response.cookie("theURL")<BR>respo nse.write myURL &#060;-- Tell us what you get from here?

  3. #3
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: [Q] response.redirect method

    Try this<BR><BR>myURL=response.cookie("theURL")<BR>res ponse.redirect(cstr(myURL))

  4. #4
    Ed Lee Guest

    Default thx a lot

    thx a lot..<BR><BR>so just any string do the work :)<BR><BR>thx!!!<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