Thread: PHP Sessions
View Single Post
  #8 (permalink)  
Old 07-07-09, 07:04 PM
Jcbones Jcbones is offline
Aspiring Coder
 
Join Date: Mar 2009
Location: North Carolina, USA
Posts: 516
Thanks: 5
Thanked 47 Times in 44 Posts
Quote:
Originally Posted by ruteckycs View Post
Sorry my friend I think you are confused. Sessions are NOT Cookies. Sessions are stored server side, Cookies are stored client side.

I say use cookies because as I recall for me , when I was first coding, cookies were much easier to understand and work with.

Being that a default php.ini says
Quote:
session.use_cookies specifies whether the module will use cookies to store the session id on the client side. Defaults to 1 (enabled).
And, most people will not disable that, then YES, sessions use cookies.

AT least on the 4,009,128 websites that I have visited in the past few years.

PS. 98% of my statistics are made up.
Reply With Quote