Hello sir,

thank you for the hint I am working on this.
I hope it works also in my application.

BR
F

On Friday, October 24, 2014 10:54:54 AM UTC+3, T.R.Rajkumar wrote:
>
> You can do in the head section of the view
>  <script language="javascript" type="text/javascript" >
>         history.forward();
>     </script>
> I use it in my applications.
>
> 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 
>> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to