[web2py] How can I prevent a user from pressing the browser's back button?

2014-08-29 Thread Fotis Gioulekas
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 pres

Re: [web2py] How can I prevent a user from pressing the browser's back button?

2014-10-16 Thread Fotis Gioulekas
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

[web2py] Re: How can I prevent a user from pressing the browser's back button?

2014-10-16 Thread Fotis Gioulekas
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, >>

[web2py] Re: How can I prevent a user from pressing the browser's back button?

2014-10-23 Thread Fotis Gioulekas
Thank you very much for the feedback. I will check and let you know about the results. best regards, F On Friday, October 17, 2014 9:49:31 PM UTC+3, Dave S wrote: > > > > On Thursday, October 16, 2014 12:15:26 AM UTC-7, Fotis Gioulekas wrote: >> >> Hello, do you ho

[web2py] Re: How can I prevent a user from pressing the browser's back button?

2014-10-24 Thread Fotis Gioulekas
plications. > > On Wednesday, August 27, 2014 3:06:45 AM UTC+5:30, 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 >> questio