Link to home
Start Free TrialLog in
Avatar of samir25
samir25

asked on

Request.ServerVariables("SCRIPT_NAME")

can anyone explain me whats happening by writing this line:

<FORM ACTION="<%= Request.ServerVariables("SCRIPT_NAME") %>" METHOD = "POST" >

thanks a lot
Avatar of sajuks
sajuks

<% =Request.ServerVariables("SCRIPT_NAME") %>
 Display the virtual path to the script or application being executed
The result: /thepath/scriptfilename.asp

So the page is posting to itself...
ASKER CERTIFIED SOLUTION
Avatar of sajuks
sajuks

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial