Re: Get Previous URL

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Request.ServerVariables("HTTP_REFERER")

Definition: Returns a string containing the URL of the page that referred
the request to the current page using an <a> tag. If the page is redirected,
HTTP_REFERER is empty

Shawn

"Tim::.." <myatix_at_hotmail.com> wrote in message
news:F3850446-0512-43C1-885E-2CF6DB890ED6@xxxxxxxxxxxxxxxx
> Can someone please tell me how I get the value of the previous pages
URL???
>
> I want to write an IF statement something like this...
>
> IF PREVIOUS URL = "http:www.somepage.com" THEN
> ' Do something
> ELSE
> ' Do something else
> END IF
>
> Thanks for any advice!!!


.



Relevant Pages

  • Struts link tag
    ... I want to use the tag to make a link to a certain webpage. ... The URL of this page is a string that is stored in the database. ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: form and arrays[]
    ... > To turn these variables into a string, ... each description is repeated twice ... the new line tag is not being recognized ... Prev by Date: ...
    (php.general)
  • Re: Option Buttons in VB.NET
    ... For this is the tag from every control very useful. ... As string it is than ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: Free/Busy published
    ... To tag on to this request, what file on the server is this information stored? ... Exchange 2000 Server ... Prev by Date: ...
    (microsoft.public.exchange.admin)
  • Re: Controlling Javascript from server side
    ... but five different language implementations here. ... 'true' means that the request must be handled asynchronously. ... There is exactly *no* reason for such a thing here. ... | percent-endoded string). ...
    (comp.lang.javascript)