Page 1 of 1

xmlstring to Flash and IE cache...

Posted: Tue Dec 05, 2006 9:18 am
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

Posted: Tue Dec 05, 2006 9:40 am
by feyd
You may need to use the header() function to specify no-cache.

Posted: Tue Dec 05, 2006 9:59 am
by stv
Yeah!

It works
thank you very much feyd