View Full Version : simulating a GET method problem...

11-10-2003, 09:21 PM
I'm trying to simulate a GET method using a response.redirect... I've been trying a lot of things but I can't find the right syntax... I always get a "page not found" message...
from this:

response.redirect ("Request.ServerVariables(""SCRIPT_NAME"")?page=1&folder="&folder)

to this:

response.redirect (server.HTMLEncode("Request.ServerVariables(""SCRIPT_NAME"")?page=1&folder=")&folder)

I won't show all y attempts since it would be pretty boring... Does anyone have the right syntax?

thanx a lot

11-11-2003, 06:35 AM
which parts have to be variable? this gives you the ability to enter the page and the folder:

Response.Redirect Request.ServerVariables("SCRIPT_NAME") & "?page=" & intPage & "&folder=" & strFolder

11-11-2003, 12:35 PM
yeah! that works perfectly now. Thanx a lot :thumbsup: