I have investigated further and it seems related to cookies.  The
cached values happen when I am logged in and have a cookie enabled.

On Jun 4, 11:28 am, aranworld <[EMAIL PROTECTED]> wrote:
> I am experiencing a very bizarre problem.
>
> In core.php I have:
>     Configure::write('Cache.disable', true);
>
> I have the following two files:
>
> pages/random_number.ctp
>
> <?php
>     echo rand(0,100);
> ?>
>
> www/random_number.php
>
> <?php
>     echo rand(0,100);
> ?>
>
> In Firefox:
>
> When I access /pages/random_number, I get the same numeric result
> every time I reload the page.
> When I access /random_number.php, I get different results every time
> every time I reload the page.
>
> In Internet Explorer, I rightfully get different results with every
> page reload.
>
> Anyone have any ideas, why the results of php's rand() are getting
> cached with CakePHP in Firefox, but NOT while in Internet Explorer?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to