Re: Possible ACL or Cookie Issue When I Reload Page

2009-09-15 Thread hahmadi82


I've tested further and found that after reloading the page a few times, it's
the entire Auth-user that does not exist until I load a different page.
Please help.


hahmadi82 wrote:
 
 There's a very peculiar problem with my site that I can't quite figure
 out.  My garage page loads/displays information from the database based
 on the users current session that's logged in.  The user_id used to load
 the information is set to $this-Auth-user('id'). However, if you reload
 the page repeatedly real fast, all the data comes in as blank and I get a
 mysql error saying that the user_id is not set.  At this point, if I click
 on a different page and go back to the garage page the data loads fine
 again.  This issue also occurs if you sit on the garage page for, lets
 say, 30 minutes and push reload once.  The data doesn't load and I get the
 error until I click on a different page.  Why is this happening?
 

-- 
View this message in context: 
http://www.nabble.com/Possible-ACL-or-Cookie-Issue-When-I-Reload-Page-tp25373747p25460926.html
Sent from the CakePHP mailing list archive at Nabble.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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Possible ACL or Cookie Issue When I Reload Page

2009-09-11 Thread hahmadi82


Does any one know how to fix this?



hahmadi82 wrote:
 
 There's a very peculiar problem with my site that I can't quite figure
 out.  My garage page loads/displays information from the database based
 on the users current session that's logged in.  The user_id used to load
 the information is set to $this-Auth-user('id'). However, if you reload
 the page repeatedly real fast, all the data comes in as blank and I get a
 mysql error saying that the user_id is not set.  At this point, if I click
 on a different page and go back to the garage page the data loads fine
 again.  This issue also occurs if you sit on the garage page for, lets
 say, 30 minutes and push reload once.  The data doesn't load and I get the
 error until I click on a different page.  Why is this happening?
 

-- 
View this message in context: 
http://www.nabble.com/Possible-ACL-or-Cookie-Issue-When-I-Reload-Page-tp25373747p25407462.html
Sent from the CakePHP mailing list archive at Nabble.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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Possible ACL or Cookie Issue When I Reload Page

2009-09-09 Thread hahmadi82


There's a very peculiar problem with my site that I can't quite figure out. 
My garage page loads/displays information from the database based on the
users current session that's logged in.  The user_id used to load the
information is set to $this-Auth-user('id'). However, if you reload the
page repeatedly real fast, all the data comes in as blank and I get a mysql
error saying that the user_id is not set.  At this point, if I click on a
different page and go back to the garage page the data loads fine again. 
This issue also occurs if you sit on the garage page for, lets say, 30
minutes and push reload once.  The data doesn't load and I get the error
until I click on a different page.  Why is this happening?
-- 
View this message in context: 
http://www.nabble.com/Possible-ACL-or-Cookie-Issue-When-I-Reload-Page-tp25373747p25373747.html
Sent from the CakePHP mailing list archive at Nabble.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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Possible ACL or Cookie Issue When I Reload Page

2009-09-09 Thread AgBorkowski

i have the similar situation with auto complete and many ajax reuests
- my user after many request to controller has logout when i cut url
and paste in browser user has goback login. this is the stupid
situation.

On 9 Wrz, 23:49, hahmadi82 hahmad...@gmail.com wrote:
 There's a very peculiar problem with my site that I can't quite figure out.
 My garage page loads/displays information from the database based on the
 users current session that's logged in.  The user_id used to load the
 information is set to $this-Auth-user('id'). However, if you reload the
 page repeatedly real fast, all the data comes in as blank and I get a mysql
 error saying that the user_id is not set.  At this point, if I click on a
 different page and go back to the garage page the data loads fine again.
 This issue also occurs if you sit on the garage page for, lets say, 30
 minutes and push reload once.  The data doesn't load and I get the error
 until I click on a different page.  Why is this happening?
 --
 View this message in 
 context:http://www.nabble.com/Possible-ACL-or-Cookie-Issue-When-I-Reload-Page...
 Sent from the CakePHP mailing list archive at Nabble.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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---