<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Javascript] last page viewed</TITLE>

<META content="MSHTML 6.00.2462.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=211574211-19072001><FONT face=Arial color=#0000ff 
size=2>document.referrer will give you the same result as the&nbsp;ASP statement 
request.servervariables ("HTTP_REFERER") note that JS spells referrer 
correctly.</FONT></SPAN></DIV>
<DIV><SPAN class=211574211-19072001><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=211574211-19072001><FONT face=Arial color=#0000ff 
size=2>Cheers</FONT></SPAN></DIV>
<DIV><SPAN class=211574211-19072001><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=211574211-19072001><FONT face=Arial color=#0000ff 
size=2>Mark</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Andrew Dunn 
  [mailto:adunn@mail.interworx.com.au]<BR><B>Sent:</B> 19 July 2001 
  12:45<BR><B>To:</B> javascript@LaTech.edu<BR><B>Subject:</B> RE: [Javascript] 
  last page viewed<BR><BR></FONT></DIV>
  <DIV><SPAN class=560084411-19072001><FONT face=Arial color=#0000ff size=2>The 
  page that the user can come to this page from is a log in page. Once they have 
  logged in then they can view this page as long as their session 
  lasts.</FONT></SPAN></DIV>
  <DIV><SPAN class=560084411-19072001></SPAN>&nbsp;</DIV>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> javascript-admin@LaTech.edu 
  [mailto:javascript-admin@LaTech.edu]<B>On Behalf Of </B>Phil 
  Winstanley<BR><B>Sent:</B> Thursday, 19 July 2001 9:23 PM<BR><B>To:</B> 
  'javascript@LaTech.edu'<BR><B>Subject:</B> RE: [Javascript] last page 
  viewed<BR><BR></FONT></DIV><BR>
  <P><FONT size=2>Erm :o)</FONT> </P>
  <P><FONT size=2>The HTTP_REFERER wont necessarily give you the last page 
  viewed ... (type in the URL, use a favourites link ect and see what refferer 
  it returns.)</FONT></P>
  <P><FONT size=2>__________________________________________</FONT> </P>
  <P><FONT size=2>Phil Winstanley</FONT> <BR><FONT size=2>Software Creations 
  (Holdings) Ltd</FONT> <BR><FONT size=2>ASPace</FONT> <BR><FONT 
  size=2>___________________________________________</FONT> <BR><FONT 
  size=2>ICQ: 29163700</FONT> <BR><FONT size=2><A 
  href="http://www.creations.co.uk/" 
  target=_blank>http://www.creations.co.uk/</A></FONT> <BR><FONT 
  size=2>phil.winstanley@creations.co.uk</FONT> </P><BR>
  <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: 
  Andrew Dunn [<A 
  href="mailto:adunn@mail.interworx.com.au">mailto:adunn@mail.interworx.com.au</A>] 
  </FONT><BR><FONT size=2>Sent: Thursday, July 19, 2001 12:37 PM</FONT> 
  <BR><FONT size=2>To: javascript@LaTech.edu</FONT> <BR><FONT size=2>Subject: 
  [Javascript] last page viewed</FONT> </P><BR>
  <P><FONT size=2>Hi,</FONT> <BR><FONT size=2>&nbsp;&nbsp; Is it possible to 
  retrieve the last page viewed using javascript? At the</FONT> <BR><FONT 
  size=2>moment I am using ASP like so:</FONT> </P>
  <P><FONT size=2>var last_page = 
  &lt;%=Request.Servervarialbes("HTTP_REFERER")%&gt;;</FONT> </P>
  <P><FONT size=2>is it possible to do the same but with javascript?</FONT> </P>
  <P><FONT size=2>Regards,</FONT> </P>
  <P><FONT size=2>Andrew</FONT> </P>
  <P><FONT size=2>_______________________________________________</FONT> 
  <BR><FONT size=2>Javascript mailing list</FONT> <BR><FONT 
  size=2>Javascript@LaTech.edu</FONT> <BR><FONT size=2><A 
  href="http://www.LaTech.edu/mailman/listinfo/javascript" 
  target=_blank>http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT> 
</P></BLOCKQUOTE></BODY></HTML>