IT Community - Software Programming, Web Development and Technical Support

I keep getting "Data Missing" when I click the "back" button in my browser. How can I

This is a discussion on I keep getting "Data Missing" when I click the "back" button in my browser. How can I within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; I keep getting "Data Missing" when I click the "back" button in my browser. How can ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > HTML, CSS and Javascript Coding Techniques

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-26-2007, 02:16 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 632
oxygen is on a distinguished road
Question I keep getting "Data Missing" when I click the "back" button in my browser. How can I

I keep getting "Data Missing" when I click the "back" button in my browser. How can I stop this?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-28-2007, 12:12 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Thumbs up Re: I keep getting "Data Missing" when I click the "back" button in my browser. How c

hi,

This is due to the fact that you have posted data to a web page, so it's considered to be dynamic and therefore should not be cached by the browser. There are several kludges, but no real fixes to this:

* Try making the page to open in a new window using target="_blank". The back button will be greyed out as the new window won't have a history; to go "back", simply close the window.
* Use the GET method for your forms instead of POST. Then the information is kept in the url and there's no 'data missing'.
* Put a "back" button that would repost the data to the previous page. If users complain, just tell them to use the "back" button you have instead of the browser's back button.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Diffrence between a "assignment operator" and a "copy constructor" Sabari C and C++ Programming 1 07-24-2007 04:00 AM
Write any small program that will compile in "C" but not in "C++" Sabari C and C++ Programming 1 07-24-2007 03:48 AM
Why do I get "HTTP 500" error(or "(DLL)initialization routine failed")in my browser? kingmaker ASP and ASP.NET Programming 1 07-20-2007 03:38 AM
Difference between a "assignment operator" and a "copy constructor"? vigneshgets C and C++ Programming 2 07-12-2007 04:30 AM


All times are GMT -7. The time now is 01:04 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0