Jump to content


PHP ssessions and cookies

  • Please log in to reply
2 replies to this topic

#1 sasikala

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 29 March 2006 - 02:03 PM

In PHP, Where the session and Cookies information will store?
which information is stored in the Server and which will be stored in the Users computer?

#2 ober

  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 29 March 2006 - 02:08 PM

Welcome to the forums!

Cookies are stored on the user's pc. Sessions are saved on the server.

Info: PHP Manual

#3 craygo

  • Staff Alumni
  • Advanced Member
  • 1,973 posts
  • LocationRhode Island

Posted 29 March 2006 - 02:08 PM

The sessions are stored on the server with the included information about the client and settings. When the client leaves the site the session is removed. Cookies are stored on the clients machine with the setting there so that when they return, their setting will always be available.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users