Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 702
  • Last Modified:

ASP referrer

I'm using ASP (not .NET) for creating an internal website.
How to get the referrer page using ASP?
like the (document.referrer in javascript).
Thanks
0
alfanhendro
Asked:
alfanhendro
  • 2
1 Solution
 
Sashi RachabattulaSCRUM Master, .NET Project LeadCommented:
server.mappath(".")
0
 
markhoyCommented:
to see all the variable use this:

for each fld in request.serverVariables
response.write fld & " = " & request.serverVariables(fld) & "<BR>"
next

referer = request.serverVariables(referer)
0
 
markhoyCommented:
request.serverVariables(HTTP_REFERER) shows the page the user came from (if they clicked on a link to your page).
0
 
alfanhendroAuthor Commented:
Yup.
It works well.
Thanks, guys.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now