PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
stv
Forum Newbie
Posts: 6 Joined: Thu Oct 19, 2006 8:29 am
Post
by stv » Tue Dec 05, 2006 9:18 am
Hi guys
sending pieces of db to Flash in form of xml string, I can't show immediately (in Flash) modifications to the xml/db stuff
in ASP I wrote:
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
it's ok.
in PHP I tried:
session_cache_limiter('nocache');
but no update showed (I checked: db is updated, obviously)...
where is the mistake?
Thanks
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Dec 05, 2006 9:40 am
You may need to use the
header() function to specify no-cache.
stv
Forum Newbie
Posts: 6 Joined: Thu Oct 19, 2006 8:29 am
Post
by stv » Tue Dec 05, 2006 9:59 am
Yeah!
It works
thank you very much feyd