this is what i found works great in winxp but anything related to sessions works on current page then the session id changes when using windows vista , 7 but if you turn on in internet exploere to accept session/third party cookies and what not it works fine is there a way around this ?
yea i thought the same thing but it gets weird with win7 / win vista for some reason
i setup a lamp server with centos im not running anything weird and session / cookies from my site will not work unless i go to ie and turn on (enable third party cookies)in windows xp works perfect i have tested both local / and offsite its kinda intresting about to try cgi or perl maybe java as a login see if it clears it up or what not if you want to see the code / site your welcome to but im not going to lie im still scratching my head about it but moved on to finish the other stuff and then move back to that
THis is most definitely something weird. I've never come across that before. I now undertand what you mean by 3rd party cookies- doh! However, I can't see why a cookie YOU are setting is coming across as a third party cookie. Are you using an iframe with the login form coming from a different site? I can't see how that would work to propagate your session anyway, but is your session setting/ login handler page in a different folder to your other pages? If so, it could be a path-related problem.
How about trying the session_save_path() function?
I've had problems with normal cookies and directories before, never with sessions though.