PDA

View Full Version : PHP Session Question


atomicnuke
08-19-2006, 11:43 AM
I'm setting a session and for some reason now they aren't working like they did before. I seem to have to use http://www.sitename.com/directory/script.php for them to be accessed, instead of going to sitename.com/directory/script.php. Does anyone know why?

gorehzone
08-20-2006, 01:18 AM
Setting session parameters at domain.com does not affect session params at www.domain.com.
They're considered two separate websites from a sessions standpoint.
If you're using www, don't have links going to the site without the www.
-J