We have noticed strange behaviour of Browser back button while implementing new requests from our client of GroupIt learning Activity project.
This project is extensively using Ajax/javascript. Our client asked us to show the previous page with existing data when clicking "back" button.
So, we created a back button whose onclick event calls "history.go(-1)", which is same as clicking Back button in the browser.
This back button behaves differently in different browsers and in different servers.
i-e Existing data in previous page was NOT shown in Internet Explorer (IE).
But existing data was shown in FireFox in production server. The strange thing is, existing data was NOT shown in FireFox itself in our Test server.
We have faced lot of cross browser issues in our previous projects. But first time I am noticing different behavior of same browser (FireFox) in different Servers.
My understanding about browser back button is, it is purely depending on behaviour of the web browser. Since we are using same code in our Test server and in the production server, the HTML rendered to the browser from both Test server and production server should be ideally same.
Just wondering why same browser is behaving differently when getting HTML from different webservers.
By searching internet I came to know that the factors affecting the behaviour of Browser back button are "cache control" and "expire" parameters which are set from either meta tag or from header method of php.
But in our case, since the code is same the header information should be same in both server.
Is there any other factor which controls behaviour of browser back button?
More Articles...
Friday, September 11, 2009
Search This Blog
Blog Archive
-
▼
2009
(257)
-
▼
September
(27)
- Google Sidewiki Comments.
- Google Hot Trends in Search Result itself.
- Go directly to the desired section of the web page...
- Goolge's response to AT&T's letter to FCC on Googl...
- Showing latest blogposts in our website
- Vote for selecting Best Idea that will be sponsore...
- PubSubHubbub protocol for getting the RSS/Atom fee...
- Amazon Hot Deals
- Google sidewiki for making universal commenting fo...
- Setting up aStore provided by Amazon.com
- Combine multiple Blogger RSS Feeds using Yahoo pip...
- Business News
- Google's letter to FCC about Google Voice rejectio...
- News about Google and Google products
- Make Book from your Blogger Blog
- Google acquires reCAPTCHA
- Started new Blog "Start Learning and Show your tal...
- Software Testing News and Articles
- Strange Behaviour of Browser Back button.
- Does "Safe Mode" of PHP really give any benefit?
- FileZilla - Free FTP Client for doing ftp thro' se...
- Handling "headers already sent" Error
- Cache issue in Blogger Blog
- Steps for PHP installation.
- Truncating Feed Item Description without affecting...
- We have started our another Development Center at ...
- Global Tech News
-
▼
September
(27)

AI Course | Bundle Offer | Unlocking AI | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | SQL ebook | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment