More session handling questions
Posted: Wed Oct 13, 2004 6:37 pm
Hi
Do you need to have cookies enabled in order to use php sessions. I was under the impression that session data is stored server side and that users do not need to have cookies enabled is this true?
Today I was working at work, working in my site and everything was working fine. I was able to move through the site no problem in a browser with cookies disabled and cache set to 0.
Note: The web server is also on my machine used for testing.
I get home today want to work on the site and I can't log in because I don't have cookies enabled. Now I haven't touched my code at all I just wanted to see if I could use it from home.
So I am guessing that since I was using the site from the web server perhaps that is why everything was fine could this be true?
What can I do, besides URL re-writing, to allow users without cookies enabled to get access to my site?
Dave
Do you need to have cookies enabled in order to use php sessions. I was under the impression that session data is stored server side and that users do not need to have cookies enabled is this true?
Today I was working at work, working in my site and everything was working fine. I was able to move through the site no problem in a browser with cookies disabled and cache set to 0.
Note: The web server is also on my machine used for testing.
I get home today want to work on the site and I can't log in because I don't have cookies enabled. Now I haven't touched my code at all I just wanted to see if I could use it from home.
So I am guessing that since I was using the site from the web server perhaps that is why everything was fine could this be true?
What can I do, besides URL re-writing, to allow users without cookies enabled to get access to my site?
Dave