JCM0165
asked on
vb.net redirect http <--> https without absolute url
There are 1-3 pages in my app I need secure. How can I have the pages automatically go to https for those pages only without using an absolute url in the redirect?
Thanks in advance.
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great, that works on going to that page, so it's half the battle.
The other half is, what can I do with the reponse.redirects to relative links going from the secure page to other pages? In this case I want to switch from https back to http.
thanks
The other half is, what can I do with the reponse.redirects to relative links going from the secure page to other pages? In this case I want to switch from https back to http.
thanks
any pages goin back to http, you can either add a reverse type of code on all of the other pages or hard code each of the links on the https page to say http://mysite.com/regularpage.aspx
All its doing is looking at the request variable
Open in new window