View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
No, that address does not match the one I´m redirecting. I have a first page with an html form, when the user submits, it calls a FoxWeb script.

So the browser´s address field shows the address of the script. At some point of that script I try to redirect to another page using the Response.redirect method. That address is never shown in the address field, and I get the "Can´t show the page" browser´s message instead (actually the spanish version of that message).
 
Mariela.
 
Sent by FoxWeb Support on 04/03/2002 04:46:42 PM:
The redirect method should actually cause the browser to request the URL in question, so the URL should show up in the browser's address field.  Does that URL match the one that works?

FoxWeb Support Team
support@foxweb.com

Sent by Mariela on 04/03/2002 11:12:07 AM:
I have a problem when using the redirect method on response object. The browser cant´find the page where I´m redirecting. I´m testing it in a local host running PWS. The line I wrote in my program is:
    Response.redirect("http://localhost/website/page1.html")
And I´m sure the URL exists, because if I type it on the browser it shows the page.  What am I doing wrong?
 
Mariela.