HTTP_REFERER blank

S

SStory

Need to know what page called my aspx (page via a form)

calling page could be aspx or asp.

sometimes
HTTP_REFERER is blank....

Why?

Is there another variable to use to get it?
Ideas?

Thanks,

Shane
 
E

Eric Lawrence [MSFT]

HTTP_REFERER will be blank for a number of reasons (e.g. if the user sends
the request directly, if the user sends the request from a different IE
security zone, if user has a privacy proxy installed, if the user sends the
request from a page that was transferred using SSL, etc).

What are you using this variable for? You could just make your posting form
contain a hidden input field containing info about the post form.

You should never use this field for security decisions, as it's easy to
spoof.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top