1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Sessions vs Cookies

Friday July 20, 2007
Sessions and cookies both do similar things, but they work in different ways. Knowing the difference will help you determine which is best to preform the task your site needs. In short, a cookie is stored on the user's browser and a session is not.
Comments
July 20, 2007 at 11:20 am
(1) Jason Champion says:

Got any examples of using cookies with sessions?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.