PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
fm5280
New Member
New Member


Joined: Jul 11, 2006
Posts: 6

PostPosted: Wed Jan 31, 2007 5:08 pm Reply with quote Back to top

Does anyone know a good way to prevent users from using the browser 'back' button with Nuke 7.6? I want to force users to navigate uisng links instead of being able to back up to a previous page, is this possible?
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Wed Jan 31, 2007 7:07 pm Reply with quote Back to top

The question really has nothing to do with whether it's Nuke 7.6 or any Nuke for that matter. I don't have my Jabascript book at hand but as I recall there is a history object and the browser just accesses that. So you'd have to monkey with that if it's possible at all. I doubt that it is "easy" since you see sites all the time asking people "please don't use the back button".

For a solution, if one exists, I'd google something like "Jabascript back button" or "Jabascript disable back button" with a v in place of the b of course.

Or maybe one of the gurus here will have a solution for you.
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Jan 31, 2007 7:14 pm Reply with quote Back to top

indeed fkelly....

but fm5280, thats done by using an immediate redirect: every time the user clicks Back, the browser returns to a page that bounces the user forward to the undesired location.

you realy shouldnt wanna use this.
people realy experience this as irritating.
absolutely not recommended.
View user's profile Send private message
fm5280
New Member
New Member


Joined: Jul 11, 2006
Posts: 6

PostPosted: Wed Jan 31, 2007 7:46 pm Reply with quote Back to top

hitwalker wrote:
indeed fkelly....

but fm5280, thats done by using an immediate redirect: every time the user clicks Back, the browser returns to a page that bounces the user forward to the undesired location.

you realy shouldnt wanna use this.
people realy experience this as irritating.
absolutely not recommended.
the reason I want to is I run a streaming music site, fm5280.com, and listeners can make requests, once they make a request I need to prevent them from using the backbutton to return to the request page without it loading again, since each time it loads it checks how many requests they have made etc, if they can backbutton, the page is retireved from history and does not update to the latest info.
View user's profile Send private message
manunkind
Client


Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM

PostPosted: Wed Jan 31, 2007 9:35 pm Reply with quote Back to top

Just make sure no local copy gets stored:
Only registered users can see links on this board!
Get registered or login to the forums!


Read this MS article too. Old, but still an issue:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Feb 01, 2007 4:55 am Reply with quote Back to top

you could also search google on...disable back button...
that gives enough results.
but as you will read to.....its not compatible will all browsers....
and there are many ways of doing that...
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Feb 01, 2007 4:08 pm Reply with quote Back to top

Seems the more correct way to be to check on the script that is processing the request, so that they cannot request more than the number you decide on. It could just add an entry into the database, if you are not already doing that
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum