You are probably using cookies to maintain session state.
This is fine, but you must be consistent in what host name you use for your server.
Your server must respond to one, and EXACTLY ONE host name. This must be the same host name for HTTP as for HTTPS.
So if you were to visit http://example.com/ then got directed to https://www.example.com/ , you would not have the same cookies.
I am of course assuming that your session handler is set up the same between the HTTP and HTTPS sites - but that is a problem for your PHP / web server setup.
If you have multiple other domains, or want people to be able to use http://example.com/ , get all those domains to do a redirect rather than serving any content from them.
You MUST redirect any other domains rather than serving the site from multiple domains.
This is also of benefit to search engines.
Mark