Hello struts,

Thursday, August 19, 2004, 7:36:38 AM, you wrote:


sD> ----- Original Message ----- 
sD> From: "Pavlikus" <[EMAIL PROTECTED]>
sD> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
sD> Sent: Thursday, August 19, 2004 4:30 PM
sD> Subject: Re: Help on Action implementing thread for checking user
sD> registration thru email?


>> What about following variant?
>>
>> In "execute" method of RegistrationAction:
>> 1. Drop ALL expired records from database
>> 2. Commit user info to DB
>>
>>
>> -- 
>> Best regards,
>>  Pavlikus                            mailto:[EMAIL PROTECTED]
>>

sD> Can you be a bit more specific? Do you mean to use DB to set expired time
sD> for each record to be 24 hr, if user not check back with Action, DB
sD> will drop that record automatically??

Yes. I store "preRegistration" date in DB. So, I can easy drop expired
records during new user registration.


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




-- 
Best regards,
 Pavlikus                            mailto:[EMAIL PROTECTED]


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

Reply via email to