Hi!
What are cookies? What's cache? and whats the difference between them?
Hi!
What are cookies? What's cache? and whats the difference between them?
Cookies - a mechanism to store the state information since http is a find and forget protocol. So there is no way for the web server to know what you did in the last transaction(last navigation). To achieve this cookies are used cache: is a mechanisom used by browser to store pages, images and certain elements of web pages you visited on your hard drive. Next time, you access the page, your browser brings elements from your cache. In ie 6.0 its your temporary internet files. Ps: cache in microprocessors are different
Thanks Amar,
can u explain where the cookies are located? on the server or on the clients machines? say if i browsing thru yahoo pages the cookies are generated on the yahoo server or on our local machines ?
cookies are created by server side application and are STORED on the client m/c on behalf of jsp.
for more information ,open ur browser , go to help and u can find a lot on cookies
bye
:)
NEVER SAY DIE.
Cookies are small text files stored by server side application on client's system. Websites use cookies to pass information like browsing habits, customization details etc. between sessions. It is the only way to store data locally at client machine by web application/web sites. On Windows XP cookies are stored at c:\documents and settings\\cookies folder.
eg. If you customize yahoo.com front page, next time you will get the same page as you customized it as the information is stored in a cookie. If you try from another system, you wont get your customization.
Regards,
Anoop :)
If its useful, dont forget to [COLOR="Red"]THANK[/COLOR] me :cool: