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

"Stanford, Gerald" <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Check the server variables REFERRER tag. It should tell you where it
came from. 

-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Gabriel
Sent: Thursday, May 10, 2007 6:23 AM
To: [email protected]
Subject: [DOTNET-WEB] [C#] check I come from ...

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(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com




The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not the intended recipient, you are prohibited from copying, distributing, or using the information.  Please contact the sender immediately by return e-mail and delete the original message from your system.

===================================
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.