Sessions: Cookies, uses URLs/SessionId, or Server based?
Posted: Tue May 01, 2007 11:18 am
Hi,
I'm trying to create a mobile friendly login system using PHP. I'm quite new to PHP and have been looking up Sessions.
I have found contradicory information on this topic.
Some places state that PHP Sessions are better than Cookies becuase they store Session information on the server rather than on the client machine.
Other places state that Sessions use either Cookies or append Session information to URLs.
Does anybody know which one is correct? It seems like a very confusing area.
When I test the login page on my computer, I can't find any cookies stored on my PC from that login page's domain.
When i test the same page on a Sony Ericsson K750i the login system works fine.
But when I test it on my K700i it doesn't work at all.
Does anybody know for sure what the situation really is and why information out there is so contradictory on this topic?
Thanks and Regards.
I'm trying to create a mobile friendly login system using PHP. I'm quite new to PHP and have been looking up Sessions.
I have found contradicory information on this topic.
Some places state that PHP Sessions are better than Cookies becuase they store Session information on the server rather than on the client machine.
Other places state that Sessions use either Cookies or append Session information to URLs.
Does anybody know which one is correct? It seems like a very confusing area.
When I test the login page on my computer, I can't find any cookies stored on my PC from that login page's domain.
When i test the same page on a Sony Ericsson K750i the login system works fine.
But when I test it on my K700i it doesn't work at all.
Does anybody know for sure what the situation really is and why information out there is so contradictory on this topic?
Thanks and Regards.