faqts : Computers : Programming : Languages : PHP : access : Questions and Answers : Questions : Asking a Question

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

19 of 26 people (73%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

Difference between cookie and session

Jul 5th, 2008 02:42
Taksh Verdhan, Crick Dougles, Kelly India, Sachin Malge,


A session as you probably mean it is a server-side object which stores
state. You use it in servlets to store and retrieve data. You keep
hearing people saying HTTP is a stateless protocol, right? They mean
when you load a page, you're finished as far as the web server is
concerned. If you reload a page, the new request isn't associated in any
way with the previous one.
A cookie is a small piece of information a browser sends to a server
with every request. 
http://finance7.wordpress.com/
http://www.jaipurweddingcards.com