ccarletti Posted September 7, 2006 Share Posted September 7, 2006 I am trying to pass session variables in a shopping cart from one page that is not secure to another that is secure but lose all values. I guess it sees this as 2 seperate sessions when entering into a secure side. Is there a way to pass the variables from http to https without losing them?Any help will be appreciated.Best wishes,Chris[url=http://www.giftsandwicks.com]www.giftsandwicks.com[/url] Quote Link to comment https://forums.phpfreaks.com/topic/19980-passing-session-variables-to-secure-server/ Share on other sites More sharing options...
shocker-z Posted September 7, 2006 Share Posted September 7, 2006 i spose u could submit/POST the session ID to the secure page and at same time insert all session valuse into a database including sessionid and then use the posted value to pbring up all the details on the secure site...Liam Quote Link to comment https://forums.phpfreaks.com/topic/19980-passing-session-variables-to-secure-server/#findComment-87612 Share on other sites More sharing options...
HuggieBear Posted September 7, 2006 Share Posted September 7, 2006 shocker-z,I think that's the only way you can do it. Unless you have your original details secured.I always add items to the DB, pass the session ID and then retrieve from the DB once secure.RegardsRich Quote Link to comment https://forums.phpfreaks.com/topic/19980-passing-session-variables-to-secure-server/#findComment-87630 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.