Success at last !!!!!!!

Thanks all for info. I came across cache issues, but was so confused
by it all, I lost the plot.

Robert, you reply made me look again at this cache issue, and after
reading a comment at the main php website, the answer was so simple...
just typical.

Again for info that might help someone: ( I hope it makes sense, as
still a novice)

I used "charles" - very usual (although seemed buggy to me) web
development tool that monitors http requests and such live in your
browser window (firefox extension available)
I noticed that the "pragma: no cache" header with other headers were
being sent from the phpfile to the flash. This caused internet
explorer to not get the data, although works fine in Firefox.

So, it seems that these headers (sent auto. from apache server) were
causing the problem.
(as roberts link he provided)

so, by adding this line at the start of the php file i'm calling from flash:

session_cache_limiter("must-revalidate");

immediately stopped the headers and solved the problem.

Here below is the headers sent before and after I added the line above:

/////////BEFORE//////////////

HTTP/1.1 200 OK
Date: Wed, 22 Mar 2006 01:02:36 GMT
Server: Apache/2.0.49 (Fedora)
X-Powered-By: PHP/4.3.10
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 124
Connection: close
Content-Type: text/html; charset=UTF-8

///////////////AFTER////////////////////////

HTTP/1.1 200 OK
Date: Wed, 22 Mar 2006 01:03:56 GMT
Server: Apache/2.0.49 (Fedora)
X-Powered-By: PHP/4.3.10
Content-Length: 124
Connection: close
Content-Type: text/html; charset=UTF-8

//////////////////////////////////////////////////////

As you can see, the "Pragma: no-cache", "Expires: Thu, 19 Nov 1981
08:52:00 GMT" and
"Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0" are removed thus fixing the problem.


You can find the tool "Charles" the tool at http://www.xk72.com/charles/


Its been an emotional journey finding the answer, full of hopes and
failures. I dont really understand it, just hope this is the end of
the problem.

Also I hope this is handy info for someone in a similar situation.

Oh the credit goes to the person who added the first comment at :

http://de3.php.net/manual/en/function.session-cache-limiter.php



Thanks all for help :)


Regards


Johnny-needs-a-big-cup-of-tea-now
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to