Solved

get page that user visited onload

Posted on 2008-06-23
1
184 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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 …
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

744 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now