session & cookie
-
Hi every Body. :-D please tell me why do you we use cookie and session in web site? thank you. :)
-
Hi every Body. :-D please tell me why do you we use cookie and session in web site? thank you. :)
Cookies are used to persist data on the client so that it can be reused by your web page when it is next loaded. Session variable are similar, but on the server end. However as these are linked to a particular session ID they will go away after a bit when the client leaves your web site as they are stored in memory. However, cookies are saved to disk, and may be deleted by the end user. Many sites do not use either, and don't need to. It all depends what you want to do, and how you want your web app to work.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) www.JacksonSoft.co.uk
-
Cookies are used to persist data on the client so that it can be reused by your web page when it is next loaded. Session variable are similar, but on the server end. However as these are linked to a particular session ID they will go away after a bit when the client leaves your web site as they are stored in memory. However, cookies are saved to disk, and may be deleted by the end user. Many sites do not use either, and don't need to. It all depends what you want to do, and how you want your web app to work.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) www.JacksonSoft.co.uk
thank you mr.