Jump to content

Sessions Problem Help


stuckwithcode

Recommended Posts

Hello,

 

I cant seem to get my newly updated php sessions to display there new values until I refresh the page.  I use onunload to run a page that deletes the sessions but when I go back to my page the old sessions are there untill I refresh the page.

 

Any help?

 

PHP is a server-side language.

Dynamically generated pages, where the content at the same URL can be different for each page request, must specifically contain headers that prevent the caching of the content on the page.

 

A lot of web hosting specifically outputs headers that cause content on a page to be cached (in order to reduce server load). You must output your own headers to override this behavior for dynamically generated pages.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.