Both cookies ans session are used to hold a value..but both are
different because cookies are used to persist the information at
client
side whereas session is used to persist the information at server side.
cookies
is used to stored client information in client side and session
is used
to provide uniqueness to client request.in real time session variable
is use to move data from one page to other page.and session is use for
server side
state management
No comments:
Post a Comment