xmlstring to Flash and IE cache...

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

Post Reply
stv
Forum Newbie
Posts: 6
Joined: Thu Oct 19, 2006 8:29 am

xmlstring to Flash and IE cache...

Post by stv »

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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

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 »

Yeah!

It works
thank you very much feyd
Post Reply