If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Previous url

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-11-06, 07:50
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
Previous url

Is there a way to find the url that the user is coming from?
Dimis
Reply With Quote
  #2 (permalink)  
Old 05-11-06, 15:46
csamuels csamuels is offline
Registered User
 
Join Date: Mar 2006
Location: south jersey, usa
Posts: 53
Request. ServerVariables (EnvironmentVariable)

The ServerVariables collection property contains, and allows you to retrieve, the values of server environment variables.

You can iterate through a collection using a For Each item in ... Next loop.

There is one mandatory argument.

EnvironmentVariable

-- HTTP_REFERER returns a string containing the original URL when a redirect has occurred.





client side javascript

referrer Property
If a destination document is reached by a user clicking on a Link object in another document (the referrer), this property returns the referring document's URL.

Syntax: document.referrer
__________________
"They say Moses split the Red Sea
I split the blunt and rolled the fat one, I'm deadly"
-- Tupac 'Blasphemy'
Reply With Quote
  #3 (permalink)  
Old 05-12-06, 16:26
wayneph wayneph is offline
Registered User
 
Join Date: Aug 2005
Location: D/FW, Texas, USA
Posts: 78
Note that some Internet Security programs like McAfee and Norton have the ability to block sending this variable so it may be empty.
__________________
--wayne
SELECT * FROM Users WHERE Clue>0
0 rows returned
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On