Click to See Complete Forum and Search --> : Keep the same Session ID between secure


rbailer
08-04-2005, 01:27 AM
I am having a problem with a shopping cart in that when i use the variable $phpsessid on a non secure site and then call a secure page using the server's format of "secure.domain.com", the server assigns a new sessionid to the client. This screws up a bunch of things.

Does anyone know a way to keep the same sessionid in between the switch some non-secure to secure?

BeachSide
08-04-2005, 02:39 AM
That is because the sessionid is only good for the ip/domain that it first started on. So if you are moving from domain.com to secure.domain.com it creates a new cookie.

bokeh
08-04-2005, 01:25 PM
You could pass the data from the non secure area using hidden fields.