Ive tried all codes that can be found on the net bout disabling the back button on browsers...
But negative with OPERA browser...
Any suggestions thanks...
Disabling the back button for Opera browser
Page 1 of 15 Replies - 2764 Views - Last Post: 26 September 2010 - 02:48 PM
Replies To: Disabling the back button for Opera browser
#2
Re: Disabling the back button for Opera browser
Posted 16 September 2010 - 04:25 PM
My question is why would you want to do that? If I was a user and you disabled my back button, I would be peeved about it. Not sure what your intent is either...
Besides, I would think that since PHP runs on the server, it can't do squat about the browser. Just sayin.
Besides, I would think that since PHP runs on the server, it can't do squat about the browser. Just sayin.
This post has been edited by Dogstopper: 16 September 2010 - 04:27 PM
#3
Re: Disabling the back button for Opera browser
Posted 16 September 2010 - 05:16 PM
yes... thanks for the reply...
ahm this must be moved to javascript category....
I have sessions in my codes where it disables the user to go back to the previous page...
This way is working on all browsers but not with Opera...
so maybe I can disable Opera's back button..
ahm this must be moved to javascript category....
I have sessions in my codes where it disables the user to go back to the previous page...
This way is working on all browsers but not with Opera...
so maybe I can disable Opera's back button..
#4
Re: Disabling the back button for Opera browser
Posted 16 September 2010 - 06:06 PM
You need to rethink your design unless your primary goal is to cause users to avoid your site.
#5
Re: Disabling the back button for Opera browser
Posted 26 September 2010 - 12:13 PM
#6
Re: Disabling the back button for Opera browser
Posted 26 September 2010 - 02:48 PM
Here is what I would do in this case.
NOTE - This will increase bandwidth usage!
Step 1 - Disable caching on your site. This qill require the browser to ask the server for the page every time any link is clicked (including back and forward buttons).
Step 2 - Create a session for each user that keeps track of the furthest they have gone
Step 3 - On each page load check the furthest the user has gone. If that is further than the current page is load the page they should be on instead.
That should do it. The key point here is disabling caching, which is also responsible for the increased bandwidth usage.
NOTE - This will increase bandwidth usage!
Step 1 - Disable caching on your site. This qill require the browser to ask the server for the page every time any link is clicked (including back and forward buttons).
Step 2 - Create a session for each user that keeps track of the furthest they have gone
Step 3 - On each page load check the furthest the user has gone. If that is further than the current page is load the page they should be on instead.
That should do it. The key point here is disabling caching, which is also responsible for the increased bandwidth usage.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote










|