Hi Paps,
Please try Request.ServerVariables("HTTP_REFERER"). This should tell you
the file name of the previous document which sent the user to the current
document. A blank value can occur for other reasons, but it's an indicator
that there was no previous document.
Please let me know if this works for you.
Thank you, Mike Moore
Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
From: "Paps" <pa******@euroforex.com>
Subject: Opener Page ID
Date: Fri, 4 Jul 2003 12:43:18 +0200
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <#f**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 213-140-10-139.fastres.net 213.140.10.139
Path: cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.aspnet:32282
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
which is the best method to know if a aspx page was called from within
another aspx page of my project and not called directly from the
browser-address ?
thanks
Paps