CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Script

  1. #1
    Guest

    Script

    Hi!
    I am using ASP. i wanted retrieve the URL name typed by user to request the .paricular ASP file


  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Script

    Try placing this as one of the first few lines of your ASP page:


    Response.write Request.ServerVariables("HTTP_REFERRER")




    That variable usually holds the url that was requested.

    you'll have to play with it to make sure though.

    good luck,
    John

    John Pirkey
    MCSD
    www.ShallowWaterSystems.com
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured