Hello, I'm having a bit of a problem with my sessions. For whatever reason my server drops the "www" out of my url, changing "http://www.mysite.com/user" to "http://mysite.com/user". So the session doesn't recognize the page as being from the same site and I can't use my session variables. If I type "www" in the proper place in the query string and reload the page it works. Is there a server setting that I can change to stop it from hacking up my urls?
Thanks, Tim
I'd recommend setting the session.cookie_domain value in a .htaccess file to be '.mysite.com' (note the leading '.', so that any subdomain will be accepted).
Thank you. I will try this. I have always used cookies but finally I have realized the advantage of sessions over cookies for certain applications and so sessions are new to me.