BleepingComputer.com: Refreshing web pages

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Refreshing web pages Having trouble with my visitors

#1 User is offline   deloa2 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 8
  • Joined: 12-July 04

Posted 05 August 2004 - 06:03 PM

I have an ASP page for my web customers to visit their account (My Account); this page loads their information posting any updates in the page depending on the customer's ID.

I have found many customers that have problems "seeing" the latest updates posted.

I think the problem is related to temporary files already loaded in their PC; I'd advise them to delete them from their browser. Now some of them already told me they are still having the same problem; is it possible or could be that they didn't do it [delete the files] correctly?

Wondering if there might be a code tag or a script, preferably in ASP, otherwise in javascrip that will force them to upload the most current version of the page, which should overwrite any version of the page already in their systems?

I'd appreciate your advise...

Thanks!

#2 User is offline   HuckerJ 

  • Forum Regular
  • PipPipPip
  • Find Topics
  • Group: Members
  • Posts: 189
  • Joined: 11-April 04
  • Location:East Tennessee

Posted 05 August 2004 - 06:40 PM

Here you go:
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
</head>


and in asp:
<% Response.CacheControl = "no-cache" %>>
<% Response.AddHeader "Pragma", "no-cache" %>
<% Response.Expires = -1 %>

This post has been edited by HuckerJ: 05 August 2004 - 06:43 PM

There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!

#3 User is offline   deloa2 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 8
  • Joined: 12-July 04

Posted 05 August 2004 - 10:10 PM

Thank you HuckerJ!

I'll try it... I'm assuming I could use either one (one is in html and the other one in asp?) and not both.

Thanks again!

#4 User is offline   HuckerJ 

  • Forum Regular
  • PipPipPip
  • Find Topics
  • Group: Members
  • Posts: 189
  • Joined: 11-April 04
  • Location:East Tennessee

Posted 06 August 2004 - 05:54 AM

You should still be able to use both if you wanted. Put the html in the <head> and the ASP part in the <% %>.

This post has been edited by HuckerJ: 06 August 2004 - 05:58 AM

There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users