Originally Posted by SteveH
I suppose what I don't understand is how
on one ASP page can see
santaclaus = Request("freakyfridaykruger")
unless those pages interrelate. I suppose that happens through 'redirect', doesn't it?
Yes. Except you have it backwards.
It is the REQUEST("whatever") that must be changed to match the whatever=
that is used in the Response.Redirect.
That is, when I do
Response.Redirect "contact_us.asp?ZZZ=" & ContactUs_Name
then the contact_us.asp page must change its code to match the ZZZ. Or whatever is used there. The receiver must adapt itself to the sender.
In point of fact, the receiver *could* be written without knowing what key=value
pair the sender is using!!!
Suppose that I wrote contact_us.asp knowing that the sender was indeed sending me *something* in the querystring, but I didn't know exactly what.
I could write:
For Each key In Request.QueryString
Response.Write "I found " & key & " set to " & Request.QueryString(key) & "<br/>"
That is, I can iterate through all the Request.QueryString (or Request.Form) key=value
pairs to find out what I got sent.