[Javascript] last page viewed

Rees, Mark (TWIi London) mrees at twii.net
Thu Jul 19 06:46:15 CDT 2001


document.referrer will give you the same result as the ASP statement
request.servervariables ("HTTP_REFERER") note that JS spells referrer
correctly.
 
Cheers
 
Mark

-----Original Message-----
From: Andrew Dunn [mailto:adunn at mail.interworx.com.au]
Sent: 19 July 2001 12:45
To: javascript at LaTech.edu
Subject: RE: [Javascript] last page viewed


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.
 
-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Phil Winstanley
Sent: Thursday, 19 July 2001 9:23 PM
To: 'javascript at LaTech.edu'
Subject: RE: [Javascript] last page viewed




Erm :o) 

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.)

__________________________________________ 

Phil Winstanley 
Software Creations (Holdings) Ltd 
ASPace 
___________________________________________ 
ICQ: 29163700 
http://www.creations.co.uk/ <http://www.creations.co.uk/>  
phil.winstanley at creations.co.uk 


-----Original Message----- 
From: Andrew Dunn [ mailto:adunn at mail.interworx.com.au
<mailto:adunn at mail.interworx.com.au> ] 
Sent: Thursday, July 19, 2001 12:37 PM 
To: javascript at LaTech.edu 
Subject: [Javascript] last page viewed 


Hi, 
   Is it possible to retrieve the last page viewed using javascript? At the 
moment I am using ASP like so: 

var last_page = <%=Request.Servervarialbes("HTTP_REFERER")%>; 

is it possible to do the same but with javascript? 

Regards, 

Andrew 

_______________________________________________ 
Javascript mailing list 
Javascript at LaTech.edu 
http://www.LaTech.edu/mailman/listinfo/javascript
<http://www.LaTech.edu/mailman/listinfo/javascript>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010719/697de491/attachment.htm>


More information about the Javascript mailing list