We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Stopping page caching
Topic Started: Jun 25 2005, 04:37 PM (200 Views)
blakeo_x
Member Avatar
I cant believe its not PHP!
[ *  *  * ]
Some of my website visitors have been complaining of websites on being shown up-to-date. Now, Im pretty sure there is a META tag or some kind of script that can stop caching, but I forgot where to find it. Anyone know what Im talking about?

(Second programming question today. WOO! :rofl: )
Offline Profile Quote Post Goto Top
 
solinent
Member
[ *  *  * ]
I know how to to do it with asp, not sure about php. Check google.

with asp it would be:

<%
Response.Expires = Date - 5000
%>

asp.NEt(in head):

<script language="vbscript" runat="server">
Sub Page_Load
Response.Expires = Date - 5000
End Sub
</script>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply