Tags

, , , , , ,

Today I looked into how to maintain a variable during a visitor’s session to my web site.  I learned that with HTML5, there’s the ability to use the sessionStorage object.  A great addition to replace cookies.  Unfortunately, it doesn’t work in earlier browser versions.  Fortunately – there’s a solution! Enter code.Google.com:
http://code.google.com/p/sessionstorage/

Andrea provided this great javascript file that can be used to allow the session storage object to still function properly in older browsers.  I ❤ it!

http://code.google.com/p/sessionstorage/downloads/detail?name=sessionstorage.1.4.js

Advertisements