Opener Page ID

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paps

    Opener Page ID

    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


  • Mike Moore [MSFT]

    #2
    RE: Opener Page ID

    Hi Paps,

    Please try Request.ServerV ariables("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.


    --------------------[color=blue]
    >From: "Paps" <papettip@eurof orex.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: <#fstlkhQDHA.10 40@TK2MSFTNGP12 .phx.gbl>
    >Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
    >NNTP-Posting-Host: 213-140-10-139.fastres.net 213.140.10.139
    >Path: cpmsftngxa09.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
    >Xref: cpmsftngxa09.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:3228 2
    >X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
    >
    >
    >[/color]

    Comment

    Working...