Re: Session, destruction (not happening?)

2007-12-15 Thread majna

for first part check
http://groups.google.com/group/cake-php/browse_thread/thread/6c991fc8bbddd18e/33ec269fdbd366d5?lnk=st&q=gc#33ec269fdbd366d5



On Dec 15, 6:48 am, jarmstrong <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> So I am seeing that the cake_sessions table is not getting automatically
> cleaned up by cake for the stale session variables. I have created a shell
> process "ClearSessions" which is run in a cron job and clears out session
> that have persissted longer than what I allow. Does anyone have any best
> practices here for the people that are running higher traffic cake apps? I
> have also made this table MyIsam in MySql as it is 80% read and 80% write.
>
> Secondly, there are a LOT of updates that are getting written back. Does
> anyone have an idea on how this could be slimmed down? For instance I
> believe this is partially due to the high number of requestAction calls I
> have going on.
> --
> View this message in 
> context:http://www.nabble.com/Session%2C-destruction-%28not-happening-%29-tp1...
> Sent from the CakePHP mailing list archive at Nabble.com.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Session, destruction (not happening?)

2007-12-14 Thread jarmstrong


Hi everyone,

So I am seeing that the cake_sessions table is not getting automatically
cleaned up by cake for the stale session variables. I have created a shell
process "ClearSessions" which is run in a cron job and clears out session
that have persissted longer than what I allow. Does anyone have any best
practices here for the people that are running higher traffic cake apps? I
have also made this table MyIsam in MySql as it is 80% read and 80% write. 

Secondly, there are a LOT of updates that are getting written back. Does
anyone have an idea on how this could be slimmed down? For instance I
believe this is partially due to the high number of requestAction calls I
have going on.
-- 
View this message in context: 
http://www.nabble.com/Session%2C-destruction-%28not-happening-%29-tp14348209p14348209.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---