|
-
Aug 14th, 2006, 12:48 PM
#1
Thread Starter
New Member
Question in ASP.Net
Hi all,
I am new to the world of ASP.Net programming and i want to know if i am on a page isthere is anyway to know the url or the previous page to it.
ie for example if my application is 3 pages and i am on the page number 3
how i know if i came to it by page 1 or page 2.
thanks in advance.
-
Aug 14th, 2006, 03:35 PM
#2
Re: Question in ASP.Net
This is something you would track behind the scenes, perhaps in a session variable.
-
Aug 14th, 2006, 03:38 PM
#3
Re: Question in ASP.Net
Also, if they got directed to your site/page through a link:
VB Code:
If Not Page.Request.UrlReferrer Is Nothing Then
Response.Write(Page.Request.UrlReferrer.AbsoluteUri)
End If
Will give you info about the source page.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|