page name

  • Thread starter Thread starter Eddie Celebi
  • Start date Start date
E

Eddie Celebi

Hi folks

I want to be able to workout the name of the page from within a
System.Web.UI.Page. I want to save it as a return page in a session. Where
do I get this from and is this the best way to do it?

Also where can I get the IP address of the client.

Any help most welcome.

Thanks

Eddie
 
The relative page file name is in Request.FilePath. The
full page file name is in Request.PhysicalPath. The IP
Address is in Request.UserHostAddress. It, also, may be
available in Request.UserHostName, which is to get some
DNS information that I have yet to see.
 
Thanks alot Leonard :-)

Leonard said:
The relative page file name is in Request.FilePath. The
full page file name is in Request.PhysicalPath. The IP
Address is in Request.UserHostAddress. It, also, may be
available in Request.UserHostName, which is to get some
DNS information that I have yet to see.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top