Hi,

I am wondering how best to do this in Cocoon:

When a user logs in, the user has to check if they are
the first person to login for the day and if so, do
some tasks.

To do this, I though of setting a global variable say
FIRST_LOGIN=true at midnight every night - using the
Quartz scheduler.  

Then when a user logged in, as part of the
authentication logic, I would have them check this
variable and do the action if it was true.  Of course,
after doing the action, they would set this variable
to false.

Any pointers as to how this can best be done would be
appreciated.  I am unable to implement this approach
at present as I do not know how to set a global
variable whose value can be altered dynamcially.

thx
Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to