On Saturday, October 25, 2014 11:25:46 AM UTC-7, LoveWeb2py wrote: > > Thank you, Massimo. I'll look into that. First time I've heard of html5 > local storage. > > Following the link Massimo was most interesting. I took my HTML course when HTML5 was just a little too new to be covered, so I'm going to be self-taught on the upgrades.
/dps > On Friday, October 24, 2014 12:48:14 AM UTC-4, Massimo Di Pierro wrote: >> >> I would do this all in JS. You play the file then store in a html5 local >> storage a flag that says you played it. Next time you check the >> localstorage. No reason to bother the server with this information. >> >> http://www.w3schools.com/html/html5_webstorage.asp >> >> On Thursday, 23 October 2014 20:18:38 UTC-5, LoveWeb2py wrote: >>> >>> Hello, >>> >>> I would like to greet or user with a sound one time upon accessing a >>> controller but if they click it again i would want the sound to play again >>> while they're logged in. However if they log out and log back in I would >>> like it to play again. What type of logic should I use sessions or >>> cookies? What is av better fit. >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

