Showing posts with label Cookie. Show all posts
Showing posts with label Cookie. Show all posts

Thursday, May 20, 2010

Javascript Cookies

In one of my earlier posts I had handled cookies in JSP. Here are a few methods to handle cookies using Javascript. I have written three methods that will do all that you need to manage cookies
1. Write/Create cookie
2. Read Cookie
3. Delete Cookie (Write the cookie with a prior date)





Hopefully, this helps.

Monday, February 22, 2010

Setting cookies in JSP

This is an example of how you can read and write cookies in users brwosers through JSP code:



Hopefully, this helps. Let me know if you face some issues.