Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
fm5280
New Member
New Member



Joined: Jul 11, 2006
Posts: 6

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

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
Former Moderator in Good Standing



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

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

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

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







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

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.
 
manunkind
Client



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

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

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

Read this MS article too. Old, but still an issue: [ Only registered users can see links on this board! Get registered or login! ]

_________________
PC Sympathy 
View user's profile Send private message Visit poster's website
hitwalker







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

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...
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

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

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

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©