Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 25th, 2006, 03:42 PM
Registered User
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to techy
Default Returning from HTTP to HTTPS


We have a https:// page where in we have a link which takes the user to a HTTP page.Now we are required to come back to the HTTPS page using the Request.Servervariables("HTTP_Referer").

The page just keeps trying to go back as the HTTP_Referer is not set when we come from the HTTPS page.I mean freezes there but never goes back to the HTTP page.

But when the same thing happens from HTTP to HTTP..it works .I have read articles but want a complete picture....

Please reply ASAP as we are stuck with this.

Thanks in advance.

Old September 26th, 2006, 09:48 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

This information should answer your question:


--Stole this from a moderator

I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
Old September 27th, 2006, 12:12 PM
Registered User
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to techy

What I saw from the links provided by you holds good if you are in the same domain or site.But in my case we are hitting a link which is not on the same server.

Therefore the HTTP_Referrer is empty.

Please HELP!!!

Similar Threads
Thread Thread Starter Forum Replies Last Post
migrating http to https RoniR ASP.NET 1.0 and 1.1 Professional 15 April 27th, 2007 01:27 PM
How does one switch from HTTP to HTTPS Aaron Edwards Classic ASP Basics 0 September 29th, 2005 10:32 AM
Passing login state across http and https astra Classic ASP Basics 0 May 19th, 2004 05:19 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.