Re: [C#] check I come from ...

Robert Taylor <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Just another idea, you could keep track of
some values that are generated every 'x'
minutes.  Then pass the current value in
the query string from page 'A'.  When the 
user hits page 'B', test to see if the value
is a valid value.  Also, have the values
expire (or just remove them from your valid
list).  I don't know your application, so I
don't know how long your users are spending
on page 'A'.
 
Hope this Helps,
Robert L. Taylor



> Date: Thu, 10 May 2007 13:22:58 +0200> From: [email protected]> Subject: [DOTNET-WEB] [C#] check I come from ...> To: [email protected]> > Hello,> > In an ASP.NET 2.0 application, I have 3 pages :> - a.spx> - b.aspx> - c.aspx> > I'd like check when I load b.aspx than I come from a.aspx, if not redirect> to another page, how can I do that ?> > Regards,> > ===================================> This list is hosted by DevelopMentor® http://www.develop.com> > View archives and manage your subscription(s) at http://discuss.develop.com
_________________________________________________________________
Change is good. See what’s different about Windows Live Hotmail.
www.windowslive-hotmail.com/learnmore/default.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_changegood_0507
===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.