Problem with SSI

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?
Who is Participating?
ahoffmannConnect With a Mentor Commented:
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
reggiewolfAuthor Commented:
My website address is
Very hard to tell without being able to see any code.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

caching problem
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.
stu215Systems AnalystCommented:
add this tag to the top of your page to stop cacheing:

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

ITcrowConnect With a Mentor Commented:

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

May be get rid of:

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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.