Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]
hey brett, thank you very much for your reply. i will try $this-disableCache() on my controllers, thank you Rohman --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]
Uhm... I think is not that as i don't want to lose queries results if pressing back button... but as it says This is different than view caching... I think my answer should be in View Caching as I want to force reload the view but not lose the queries if i'm logged in. As I understand the disableCache() is used to stop the browser caching the page, which is what I thought you were asking for. I have tried logging in with IE7 and then out, I then try to access the same page by clicking on a link (not back button) on one of my sites and it prevents access in the same way FF does. I'm using the Auth component to login and logout with and use the $session-read('Auth.User.username') to get the user information. This was on a 1.2 RC2 site, haven't tried with the latest RC3will try later if I get time. Brett Wilton http://wiltonsoftware.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]
thanks for the reply again, i will try to use the disableCache() function and see. i had never used 1.2 RC2 as i switched from 1.1 to 1.2 RC3 directly and then find out that issue. i will try a little more. thanks Rohman On Nov 12, 5:57 am, Brett Wilton [EMAIL PROTECTED] wrote: Uhm... I think is not that as i don't want to lose queries results if pressing back button... but as it says This is different than view caching... I think my answer should be in View Caching as I want to force reload the view but not lose the queries if i'm logged in. As I understand the disableCache() is used to stop the browser caching the page, which is what I thought you were asking for. I have tried logging in with IE7 and then out, I then try to access the same page by clicking on a link (not back button) on one of my sites and it prevents access in the same way FF does. I'm using the Auth component to login and logout with and use the $session-read('Auth.User.username') to get the user information. This was on a 1.2 RC2 site, haven't tried with the latest RC3will try later if I get time. Brett Wiltonhttp://wiltonsoftware.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]
Hi Rohman, I just tried the latest RC3 7866 and have found that the IE7 is functioning as you indicated, this is not how it worked under RC2. I'm not sure off hand why there is this difference. Brett --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]
If you type in the page with IE7 I get the same result, even on a 1.1.X project I had with othAuth. I was wrong in saying RC2 worked as I was clicking a link rather than typing one in. The only way to stop IE7 from caching the page is to use the disableCache(), I did a quick hack in my app_controller.php and in the beforeFilter() function put $this-disableCache() and this forced IE to reload the page. You could I guess just disable the cache for IE7 and / or only when you've been browsing logged in pages. There may be another solution but I'm not aware of it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]
Not sure if this is what your after or not, Controller::disableCache...http://book.cakephp.org/view/431/disableCache Brett Wilton http://wiltonsoftware.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]
Dear Brett, thanks for the reply 3.5.3.4.3 disableCache Used to tell the user’s browser not to cache the results of the current request. This is different than view caching, covered in a later chapter. Uhm... I think is not that as i don't want to lose queries results if pressing back button... but as it says This is different than view caching... I think my answer should be in View Caching as I want to force reload the view but not lose the queries if i'm logged in. Thanks! Rohman --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---