|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to I know the previous page is clicked to forward the current page?How to I know the previous page is clicked to forward the current page?
As our web site have many methods to enter the web page, I need to know the users clicked which link or which part of page to enter the web page. just send a parameter in the link
http:\\www.somesite.com\somepage.aspx?link=1& now in somepage you can say request.querystring("link") and you know on wich link was clicked to come to the page regards Michel Posseth [MCP] Show quoteHide quote "ABC" <a**@abc.com> wrote in message news:%23g9$XkLGGHA.2704@TK2MSFTNGP15.phx.gbl... > How to I know the previous page is clicked to forward the current page? > > > > As our web site have many methods to enter the web page, I need to know > the users clicked which link or which part of page to enter the web page. > > Have you thought about checking the referring page value
Request.UrlReferrer.ToString() -- Show quoteHide quoteRegards John Timney Microsoft MVP "ABC" <a**@abc.com> wrote in message news:%23g9$XkLGGHA.2704@TK2MSFTNGP15.phx.gbl... > How to I know the previous page is clicked to forward the current page? > > > > As our web site have many methods to enter the web page, I need to know > the users clicked which link or which part of page to enter the web page. > >
Other interesting topics
Is this static method threadsafe?
Advantages of Static Vs Instance methods? Use validationSummary to display error message in user control Compiler Error: [No relevant source lines] output cache question PLS HELP: Simple adding data to db in ASP.NET 2.0 CompareValidator for dates > than today VWD 2005 Express: "copy web site" creates multiple publishform (2.0) Trap the Maximum request length Prerender changes get lost after Page.RenderControl |
|||||||||||||||||||||||