I want to play an animation browser only once. If a user watches the movie and if goes to any other page or refreshes (F5) and then comes back to the animation page, the animation should not be played from the beginning. I want to play it from any other frame.
I think JavaScript or php can be used by this set cookie or some things.
Please help me in advance thank you.
You can set a session
session_start ();
and then set a session variable after the Flash data
$ _ session ["noflash"] = true;
and perform a check on top
if (isset ($ _ session ["noflash"]) and $ _SESSION ["noflash" ] == true) {// Set the correct FlashWare}
This is how the session data is set, after the flash is started, and session data is also started when the user Site again.
Comments
Post a Comment