Thank you for the reply. On Saturday, August 30, 2014 9:31:00 AM UTC+3, Marin Pranjić wrote: > > You can't. This is something you should take care of on server side. > Use session to store user's state, or store it in DB. > > > On Tue, Aug 26, 2014 at 11:36 PM, Fotis Gioulekas <[email protected] > <javascript:>> wrote: > >> Hello to everybody, >> >> I have built a quiz that randomlycreates questions. >> Each time a user submits it's answer, the app redirects to another >> question. >> When the user does not want to continue to another question it presses a >> button "exit quiz" and the app redirects to another url. >> When the user presses the browser's back button, it can return back to >> the quiz. >> How can I prevent this? >> Is there a solution that either closes the browser's tab or redirects to >> a default html page when the user presses the back broswer's button or >> >> My app does not requires user registratrion and login. >> >> Thank you in advance, >> Fotios >> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > >
-- 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.

