Added: July/06/2004 at 1:00am | IP Logged
|
|
|
Here is an example of using a server variable to have a page post back to itself: <form id="frmMain" name="frmMain" action="<%= Request.ServerVariables("SCRIPT_NAME") %>" method="post">
And to see all the server variables for a Web page try this: Response.Write "<br>Server:<br>" For Each varItem in Request.ServerVariables For I = 1 to Request.ServerVariables(varItem).Count Response.Write varItem & " = " & Request.ServerVariables(varItem)(I) & "<br>" Next ' Next I. Next ' Next varItem.
__________________ J. Paul Schmidt, Freelance ASP Web Developer
www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample (Freely Downloadable)
|