Sunday 24 June 2007

What are the advantages of Cookies over Session Object?

# It informs each page what session the request belongs to
when a user accesses during a session.
# It retrieves all the session information stored on the
server.
# Cookies can persist for a much longer period of time than
session that has a timeout value usually of 20 minutes and
hence can store information even when a user is off the
site.

0 comments: