Sunday, August 24, 2008

Using the Virtual Path of the Script

The virtual path to the script being executed is used for self-referencing Web page. In case you want to make sure that form is submitting to the Web page itself, no matter which virtual path the Web page has, you should request the server environment variable

SCRIPT_NAME

StrselfURL = Request.serverViriables (“SCIPRT_NAME”)

No comments: