Javascript History Object

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

    Javascript History Object

    Is it possible to redirect a user dependent on the domain of the last web
    page viewed? For example, if the user came from "thisdomain.com ", I want to
    redirect them back to this page. But, if the user came from
    "otherdomain.co m", I want to direct them to a different page in
    "thisdomain.com ." So, there would have to be a way to retrieve the URL of
    the previous page viewed. Information on Microsoft's web page says it is
    not possible to retrieve the actual URL for privacy reasons, but I thought I
    would ask anyhow. Thanks for any help.

    -Vinnie


  • Lasse Reichstein Nielsen

    #2
    Re: Javascript History Object

    "Vinnie" <animedreamer@v erizon.net> writes:
    [color=blue]
    > Is it possible to redirect a user dependent on the domain of the last web
    > page viewed? For example, if the user came from "thisdomain.com ", I want to
    > redirect them back to this page.[/color]

    Check out "document.refer rer".

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • Vinnie

      #3
      Re: Javascript History Object

      Thank you! This is very helpful.

      -Vinnie

      "Lasse Reichstein Nielsen" <lrn@hotpop.com > wrote in message
      news:k72v4uo7.f sf@hotpop.com.. .[color=blue]
      > "Vinnie" <animedreamer@v erizon.net> writes:
      >[color=green]
      > > Is it possible to redirect a user dependent on the domain of the last[/color][/color]
      web[color=blue][color=green]
      > > page viewed? For example, if the user came from "thisdomain.com ", I[/color][/color]
      want to[color=blue][color=green]
      > > redirect them back to this page.[/color]
      >
      > Check out "document.refer rer".
      >
      > /L
      > --
      > Lasse Reichstein Nielsen - lrn@hotpop.com
      > DHTML Death Colors:[/color]
      <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>[color=blue]
      > 'Faith without judgement merely degrades the spirit divine.'[/color]


      Comment

      Working...