When my page is loaded, it displays some TweenLite animation, using jQuery. Javascript code for animation is located in separate .js file.
I need to keep the animation when the page is opened for the first time, and remove it afterwards. The obvious way for me would be to use a session variable which should be set after animation is complete.
I know that jQuery can access session variables through ajax, but I cannot find any examples of doing it.
I found similar question here, on stackoverflow, and the only answer to it is to use a localStorage. How is it different from a session?