Solved

get page that user visited onload

Posted on 2008-06-23
1
189 Views
Last Modified: 2012-05-05
i have in my application a code that creates a session of the user called "userid"
what i need is to gather what page they were visiting and posted time.  

i will insert that to my db which is easy to do.  my question is just to gather the page name.  how would you do this?
0
Comment
Question by:gianitoo
1 Comment
 
LVL 33

Accepted Solution

by:
raterus earned 500 total points
ID: 21848807
There are lots of properties off of the request class to get you information about the Request in about any form you need it.

Here's one that gives you just about everything,
Request.Url.PathAndQuery
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question