473,395 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

desperate need for help with browser settings

Hello,
I have a web app that needs the follwing settings

Tools/internet options/settings/

Check for newer versions of stored pages.

I can not rely on the users to do this.

Is there any way to did this programatically?

thanks
BJ


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #1
6 1248
On 14 Jun 2004 15:11:36 GMT, billj2 <billj2> wrote:
I have a web app that needs the follwing settings

Tools/internet options/settings/


Then redesign it, you can't rely on such functionality, it should be
trivial to simply change URIs all the time.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 23 '05 #2

Jim,
Two words for you, and they are not good morning.

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #3
billj2 wrote:
Jim,
Two words for you, and they are not good morning.


Particularly rude, when the solution was suggested. Apparently
you need things spelled out for you:

<script type="text/javascript">
document.write('<a href="somepage.html?ts=' +
(new Date()).getTime() +
'">This link will always load a fresh copy of somepage.html
unless the user clicks Back</a>'
);
</script>

<?php
echo '<a href="somepage.html?ts=' . time() . '">Link text</a>';
?>

You may also be interested in reading: <url:
http://www.mnot.net/cache_docs/#CONTROL />

But I'd bet you're more interested in insulting those attempting
to help you then in actually learning anything.

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available
at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 23 '05 #4
billj2 wrote:
I have a web app that needs the follwing settings
Tools/internet options/settings/
Check for newer versions of stored pages.
I can not rely on the users to do this.
Is there any way to did this programatically?


You cannot force browser to cache how you want them to, but you can strongly
urge them to.

Make your application return appropriate http headers which set the content
to expire immediately, and/or use meta tags which tell the browser not to
cache the document.

That will be effective for almost all typical users.

--
Matt Kruse
Javascript Toolbox: http://www.JavascriptToolbox.com/
Jul 23 '05 #5


thanks for the suggestion.

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #6
JRS: In article <40**********************@news.newsgroups.ws>, seen in
news:comp.lang.javascript, billj2 <billj2@?.?> posted at Mon, 14 Jun
2004 17:21:28 :

Jim,
Two words for you, and they are not good morning.

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!


Since you get rewarded for asking, perhaps Jim would be happier if you
were to offer to transfer that reward to him.

He suggested changing URIs all the time; if you to read the FAQ, cited
in his signature & posted here today, searching for the word URI, you
would find the information that you need, which is not the information
that you want.

<FAQENTRY>

In that section, s/date/time/, s/of/or/ #2.

Perhaps it should be "URI used to request the page", rather than "URI of
the page".

</FAQENTRY>

// location.href+'?d='+ +new Date() // suffices

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> JL / RC : FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tank | last post by:
I have had this post up here when i was trying to figure out how to make leading zeros and have been able to fudge that to work. I am now have trouble getting the loop that makes the folders to...
24
by: Ministry Of Jute | last post by:
I returned home from work today to find an Airborne Express Letter Express mailer leaning up against my apartment door. The return addressee was Microsoft Suite 300 1165 Eastlake Avenue E...
1
by: Jenny | last post by:
Need urgent help for an unsolved problem. In our ASP web application, we creat a Back button and if user click on this button, it execute history.go(-1) to go back to the previous page. All our...
2
by: JemPower | last post by:
Hi all, I don't know if this is the right newsgroup or not, but an answer would be appreciated. I have a client who has is 'requesting' that we write a program for him that allows him to...
5
by: Reza Solouki | last post by:
Help, I posted another thread here asking help because I was losing my session information(got no response). After a lot of searching on different sites I discovered that my sessionID changes...
16
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client...
5
by: beachlounger | last post by:
What the heck is wrong with this: #ifndef POLYNOMIAL_H #define POLYNOMIAL_H class Polynomial { public: Polynomial(); Polynomial operator+( const Polynomial& ) const; // addition
1
by: calvinmicklefinger | last post by:
Hello, I am building a custom web browser app using VB6 and the web browser control. In order to keep the custom browser from timing out while trying to open, I am required to open my IE...
0
by: JRough | last post by:
Hi, I have a page with a form that is included into a php page. It has some php variables which are headers based on the user choices. In the form I will send some mysql data columns but right...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.