Jump to content

Sessions Not Working Without Www?


smerny

Recommended Posts

It's probably a domain issue on the session cookie. You can use session_set_cookie_params to set the domain parameter of the cookie to apply to all subdomains. If you set the domain as ".example.com", it will apply to example.com, www.example.com, etc.http://www.php.net/manual/en/function.sess...okie-params.php

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...