Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

obteined an aspx url

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
0
0
PT
Hi,


Can someone tell me if it is possible to obtain de current url from an active aspx.
Note thar server variables is not capable of give what I want because the same page can be loaded
from diferent directories (and so, differente urls)

Thank you
 
hi there....

there are formats for the url... here are all of them with examples....:)

Response.Path --> /session_test/url.aspx
Response.PhysicalPath --> C:\egytex\session_test\url.aspx
Response.PhysicalApplicationPath --> C:\egytex\
Response.RawURL --> /session_test/url.aspx?Id=4&Name=Me

the directory session_test islocated in the root of the website....

The HMS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top