share data between https and http
Posted: Thu Apr 02, 2009 8:13 am
Dear forum, I am coding my first https site and have some questions. I was about to take the shortcut and make all pages secure by installing the certificate to http://www.mydomain.com so that all pages are secure but I feel it is not right. Any strong comments for or against doing that? Now to the main problem, when switiching from http pages to https pages I lose the state, my session variables are not accessible so I cant check if user is logged in or access the shopping cart. this is understandable but what is the best way to get this working correctly so that my regular pages are accessed from http://www.mydomain.com while sensitive data will be entered at https://secure.mydomain.com ? Thanks in advance.