2009年10月7日 星期三

Cookie Handling Routines in JavaScript

These routines are not rocket science, but they do provide a complete set of easy-to-use cookie handling routines in JavaScript. You will find below demonstrations of all the routines, together with the calling sequences used.

(Session Cookies + Persistent Cookies)

The following routines are provided in the zip file:

1) Test to see if session cookies are enabled.
2) Test to see if persistent cookies are enabled.
3) Write a session cookie
4) Write a persistent cookie
5) Get value of a named cookie
6) Delete a persistent cookie

URL : http://www.braemoor.co.uk/software/cookies.shtml

沒有留言:

張貼留言