PHP drops sessions
Posted by: crimsondryad
Posted on: 2006-08-15 22:23:00
I just figured this out. Maybe it's a no-brainer, but I was dynamically generating my SSL url (ie, define(SSL_URL, https://mysite.com"); ) and didn't put the www in the web address. PHP would promptly drop the session as soon as it hit the page.
Has anyone else had any experience with this? Is there a workaround? I'm asking because I have a secure cert for http://mysite.com but the rest of the site is using http://www.mysite.com. So as soon as I attempt to use the cert, down it goes.
================================
Angela Gann
CrimsonDryad Web Design Services
Web Design, Custom Software Development
http://www.crimsondryad.com