Martin wrote:
From Page1.asp, I use "Server.transfer" to "REDIRECT" to another asp
page (page2.asp),
in page2.asp I use Request.ServerVariables("URL") and
Request.ServerVariables("REFERER") to get the lastpage and the
actual page, this method (or property) return incorrect values:
"Page1.asp" and ""
Why?
RTM:
Method: Server.Transfer
Description: Sends all of the current state information to another
.asp file for processing.
http://msdn.microsoft.com/library/en...0507db91a5.asp
Server.Transfer Method
The Transfer method sends all of the information that has been
assembled for processing by one .asp file to a second .asp file.
http://msdn.microsoft.com/library/en...38c2a61317.asp
That's why.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.