Resources | JavaScript | Browser Cookies

Browser Cookies:


Recently, there have been a fair amount of articles concerning the security of cookies. So I suggest that if you do choose to use cookies for your web site, you do not use them to store any sensitive information (like passwords, login names or personal information about the user).

That being said, cookies can be very useful to hold information that will customize the way your web site appears to certain users. For example, you might use a cookie to disable any flash animations on your website, if a user doesn't want to wait for them to download.

The following is a set of JavaScript functions that will set and retrieve cookies on a user's browser. The functions are all commented, so they should be fairly easy to follow:



Related Links: Detect Browser Type | Detect Plug-ins


Want to discuss this article, or other development issues? Visit our message boards!

Or contact us directly with a comment or question on this article: click here !
armbrustconsulting.com