Hello, do you how is this possible to be performed? The user is not logged in.
On Saturday, August 30, 2014 5:28:20 PM UTC+3, Anthony wrote: > > The details will depend on exactly how you want to control access to quiz > questions, but the general solution would be to store the user state in the > session, and when a particular page/question is requested, check the > session, and redirect elsewhere if the session check fails. > > Anthony > > On Tuesday, August 26, 2014 5:36:45 PM UTC-4, Fotis Gioulekas 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]. For more options, visit https://groups.google.com/d/optout.

