Re: Auth component cache problem in Internet Explorer

2009-06-06 Thread Dr. Loboto

Try Configure::write('Session.checkAgent', false); in app/config/
core.php - Flash send different User-Agent string and it resets
session.

On May 8, 3:03 pm, remy remyjacob...@gmail.com wrote:
 Still haven't solved the problem, but I did found what the problem
 is..

 It seems that something went wrong with Flash. When I disabled all
 Flash parts in my site, the Auth component works fine in IE.
 It looks like that the Flash 'resets' the cache with also the userdata
 for the Auth component.

 Anybody else who knows how to solve this problem?

 On 7 mei, 23:51, rartavia royarta...@gmail.com wrote:

   The weirdest part is that even when I toldauthto allow that specific
   action, I checked my data that arrived correctly but still the save()
   didn't occurred.

  About that, do ignore it, that happen because in that saving, user_id
  is required and as in that request is null so a db error occurred. The
  problem is the user in session beaning null.

  Thanks for any help
--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Auth component cache problem in Internet Explorer

2009-05-29 Thread jackb

I'm experiencing the same problem, but I have managed to isolate it to
occur only when I'm making ajax requests that make use of parameters.
That is, in Cake if I am using the $ajax helper and use the with
option for a function to return a string, or if the request is created
in javascript using the parameters option in the prototype
ajax.request.

I have not reviewed flash enough to determine if it plays a part in my
problems. I only use setFlash.

This was not happening for me in IE7 only IE8 beta 1 and IE 8.0.6001

On May 8, 3:03 am, remy remyjacob...@gmail.com wrote:
 Still haven't solved the problem, but I did found what the problem
 is..

 It seems that something went wrong with Flash. When I disabled all
 Flash parts in my site, theAuthcomponent works fine in IE.
 It looks like that the Flash 'resets' thecachewith also the userdata
 for theAuthcomponent.

 Anybody else who knows how to solve this problem?

 On 7 mei, 23:51, rartavia royarta...@gmail.com wrote:

   The weirdest part is that even when I toldauthto allow that specific
   action, I checked my data that arrived correctly but still the save()
   didn't occurred.

  About that, do ignore it, that happen because in that saving, user_id
  is required and as in that request is null so a db error occurred. The
  problem is the user in session beaning null.

  Thanks for any help



--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Auth component cache problem in Internet Explorer

2009-05-08 Thread remy

Still haven't solved the problem, but I did found what the problem
is..

It seems that something went wrong with Flash. When I disabled all
Flash parts in my site, the Auth component works fine in IE.
It looks like that the Flash 'resets' the cache with also the userdata
for the Auth component.

Anybody else who knows how to solve this problem?


On 7 mei, 23:51, rartavia royarta...@gmail.com wrote:
  The weirdest part is that even when I toldauthto allow that specific
  action, I checked my data that arrived correctly but still the save()
  didn't occurred.

 About that, do ignore it, that happen because in that saving, user_id
 is required and as in that request is null so a db error occurred. The
 problem is the user in session beaning null.

 Thanks for any help
--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Auth component cache problem in Internet Explorer

2009-05-07 Thread rartavia

I'm having a similar problem with internet explorer 8.
I sending data via ajax to my controller, in Firefox, Safari, Chrome
and Opera works quite all right. However, seems like IE fails to send
the login info. My requests failed in IE so I did $this-log($this-
Session-read('Auth.User'), LOG_DEBUG); in my app_cotroller and with
all browsers excepting IE I could see my user in session, with IE
appeared empty, hence I couldn't access my controller method
(protected by auth).
The weirdest part is that even when I told auth to allow that specific
action, I checked my data that arrived correctly but still the save()
didn't occurred.

Could you solve your issue?
Anybody else have any ideas?

Thanks
--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Auth component cache problem in Internet Explorer

2009-05-07 Thread rartavia


 The weirdest part is that even when I told auth to allow that specific
 action, I checked my data that arrived correctly but still the save()
 didn't occurred.

About that, do ignore it, that happen because in that saving, user_id
is required and as in that request is null so a db error occurred. The
problem is the user in session beaning null.

Thanks for any help
--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Auth component cache problem in Internet Explorer

2009-04-03 Thread remy

Hi all,

I'm using the Auth component for a simple user controller system to
login/logout.
It worked fine with version 1.2.0.6311 beta.

Since I updated my cake to version 1.2 RC2 I found an error in IE7.
Logging in seems to work fine, but when I go to another page, I
instantly get logged out. This only happens when I use Internet
Explorer, with Firefox everything works still fine.

Can anybody tell me what went wrong? It seems to be a caching
problem...

Thanks in advance!
--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---