Solved

Problem with SSI

Posted on 2004-09-12
10
175 Views
Last Modified: 2013-12-25
well here is an example of what happens. I have a poll on my website and let say it says 20 votes. Even if more people vote it still says 20 votes even when i refresh unless i delete my cookies and then refresh. then it updates. Is there any way to get it to update everytime i go to my site without having to delete the cookies?
0
Comment
Question by:reggiewolf
10 Comments
 

Author Comment

by:reggiewolf
ID: 12041169
My website address is http://www.xboxoverload.com
0
 
LVL 48

Expert Comment

by:Tintin
ID: 12048786
Very hard to tell without being able to see any code.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 12070130
caching problem
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 5

Expert Comment

by:apparition
ID: 12084929
How are you doing your polls? Maybe theres code in your poll that only allows one vote per IP address.
As Tintin said its very hard to tell without seeing the code.
0
 
LVL 10

Expert Comment

by:stu215
ID: 12126956
add this tag to the top of your page to stop cacheing:

<meta http-equiv="pragma" content="no-cache">

~Stu
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 125 total points
ID: 12127829
if it is a caching problem on a server, the meta tag does not help 'cause the caching server does not parse the page
In such a case su have to write proper HTTP headers
0
 
LVL 5

Assisted Solution

by:ITcrow
ITcrow earned 125 total points
ID: 12196451

<META HTTP-EQUIV= "Refresh"       CONTENT      = 1>
<META HTTP-EQUIV="pragma" CONTENT="no-cache">

May be get rid of:
<meta HTTP-EQUIV="EXPIRES" CONTENT="0">

Another PHP solution could be:
Add the following in your page <head> section:
<META HTTP-EQUIV=Refresh CONTENT="x; URL=<?php print $PHP_SELF ?>">
where, x is number of seconds for page refresh.

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question