You are here: Re: Amazing BUG!!! « PHP Programming Language « IT news, forums, messages
Re: Amazing BUG!!!

Posted by Dave on 05/24/05 06:05

(joealey2003@yahoo.com) decided we needed to hear...
<snip>
>
>
> My goal was a session control example.
>
> The problem i described on my first post, and it still exists on the
> lines above.
<re-quote joealey's code>...
session_cache_limiter('private');
session_cache_expire(20);
ini_set("session.gc_maxlifetime",30); // Time in seconds (1200=20min)
ini_set("session.gc_probability",100); // 100% probability
session_start();
</endquote>
>
> Try those lines with a simple count++ code to see the problem.
>
>
Its already been pointed out though that this isn't really a bug
(as per the subject), and you can't consider it PHP's fault or
"problem" either.
As I said in my earlier post, have you read the online docs about
cache limiter, esp. the user comments?
Browsers choose their own "creative" ways to interpret cache-control
headers, hence YMMV. You have to make allowances for browsers yourself
and send extra headers as needed to make things work.
--
Dave <dave@REMOVEbundook.com>
(Remove REMOVE for email address)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация