473,796 Members | 2,649 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1273
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.javas cript 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*****@agrico reunited.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.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demo n.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
1794
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 start fresh after the .jpg section of the move images code. this will be essential to make the whole thing work. Please help. Even if you just write out the solution. I am beggin. I am desperate. Please help. <!DOCTYPE HTML PUBLIC...
24
2154
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 Seattle, WA 98109
1
2519
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 users use IE 6.0 and most of them don't have problem with this button. But one user reported everytime he click on this button, there is a pop-up window shows up and ask him refresh and reload the page, after he clicks OK, the previous page will be...
2
1098
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 record a message via his microphone on a webpage, the recording then saved on a SQL server (or a WAV file on our server with the path held on the server, whichever is easier!!), WITHOUT any user interaction interms of uploading the file.
5
1460
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 everytime I submit. It doesn't happend with running it inside the visual studio, just when running it as a site directly with IE. Anyways, I found out if I set cookieless="true" it solves the problem. However I am not happy with this solution even...
16
2540
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 uses IE to talk with a server. The user on the client (IE) sees an ASP net page containing a TextBox. He can write some text in this text box and push a submit button.
5
3751
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
1625
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 browser, go to Tools, Internet Options and change my settings so that IE does not look for the most current web page. I have to set it to "Never." Can anyone advise me how to programmatically change the settings within the VB code of my browser app? ...
0
2249
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 now I'm just formatting the form inside the tables. I added the table with the form yesterday and a button. After the data comes from php server I want the user to be able to click the Excel button at the bottom and the form output will go to...
0
9673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10217
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10003
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.