I got a strange problem with session. Session variables that I define in a page with "www" prefix in the domain name for example http://www.foo.com/page1.php for some reason can't be recognized in page2.php if I remove the "www". But if I use "www" like http://www.foo.com/page2.php, it works just fine.
Can anybody tell me why is this happening? I sure use session_start(). Does anybody in any chance have experienced this?
Using php 5.2.8 on LiteSpeed host.
Any help will be greatly appreciated.