Current location: Hot Scripts Forums » General Web Coding » JavaScript » Replace Back Button


Replace Back Button

Reply
  #1 (permalink)  
Old 07-27-06, 11:30 PM
eddyvlad eddyvlad is offline
Wannabe Coder
 
Join Date: Sep 2003
Location: In The Bloody Pits Of Hell
Posts: 160
Thanks: 2
Thanked 0 Times in 0 Posts
Replace Back Button

Is there a code to replace the function of a back button?

I did a fully ajax web application and so the page don't refresh at all. If a user click on the back button while in the application, they will be back at the login.php page which serve as a log out page also. In the end, they gets logged out.

So I want to store the history of actions the user did in a php session, make the function of the back button to run the actions the user did previously instead of loading the previous page.

I know it's possible because gmail made it. I just need to know how. hmm...
__________________
Mr. Brown Eyes
Reply With Quote
  #2 (permalink)  
Old 07-28-06, 01:12 AM
duesi's Avatar
duesi duesi is offline
Wannabe Coder
 
Join Date: Jun 2006
Posts: 225
Thanks: 0
Thanked 0 Times in 0 Posts
Wouldnt it better if your application reacts properly to the back button?
I don't know abaout GMail, but in google analytics, the "Back" support just sucks!

I know its hard, but your users expect the back button to work, its not nice to castrate the users browser!
For Jakob Nielsen, tahts the number 1 mistake (of 1999!), and I think he is right!

http://www.useit.com/alertbox/990530.html
__________________
Duesi

"One of the great skills in using any language is knowing what not to use, what not to say" (Ron Jeffries)

http://www.swissbytes.de
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable browser's back button after logout shaky ASP 7 08-18-06 07:37 AM
creating browser`s back button asad12 JavaScript 1 07-04-06 09:33 AM
How to replace radio button in a form with a picture? amazing PHP 2 11-17-05 08:17 AM
Using the Back Button and the Close Button mdgibson Hot Scripts Forum Questions, Suggestions and Feedback 1 09-29-05 12:41 AM


All times are GMT -5. The time now is 11:14 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.