Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 23rd, 2004, 11:22 PM
sach_del sach_del is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 25 sach_del User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
To Refresh page on BROWSER's BACK Button

Hello ,

My web pages have a search page in which user need to fill the form and then next ASP page finds the required data and display it in the form of a table. Now when I get back to previous page by BROWSER's BACK button on left-top I will not get the fresh form and it shows the all radio buttons selected.This is not required.

Can it be possible for me to refresh this page when one goes to it by BROWSER's BACK button ?

Thanks

Reply With Quote
  #2  
Old March 24th, 2004, 11:12 AM
druuna druuna is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 137 druuna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 37 sec
Reputation Power: 0
Yes and no.

And that's not the answer you hoped for, I'm sure

Yes: You can put the following tag in the header of your page(s)
meta http-equiv="pragma" content="no-cache"

This will tell the browser not to cache the page content and forces it to get the page from the given url.

No: Not all browsers comply to this option.

The browser back/forward/reload buttons all use the localy cached content if it is able to (good for speed and lessens traffic on the net). The no-cache option is html 4.01 legal (probably before 4 too) and created for those situations that the browser should not use it's local cache.

All browsers should comply, but as I stated before, some don't.

I know this isn't the sollution you are looking for, but as far as I know you cannot tackle this problem with 100% guarantee.

Reply With Quote
  #3  
Old March 24th, 2004, 11:31 PM
sach_del sach_del is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 25 sach_del User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Druuna,

Thanks a lot for your efforts

This way also I can solve my problem .

My page has 6 radio buttons in the group of two.

Now I want to keep only one ticked in each group.

This I did on window_onload() function. But it doesn't work

when I browse back from the next page.Can it be possible to

make a constraint on each group which keep only one

radio button selected all the time even if page is displayed

after browseing back ?

Thanks

Sachin

Reply With Quote
  #4  
Old March 25th, 2004, 09:11 AM
druuna druuna is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 137 druuna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 37 sec
Reputation Power: 0
Like I said before, the client (browser) decides how it is done. There is no solution that will work for all browsers.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > To Refresh page on BROWSER's BACK Button


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway