hi,
can any1 explain to me how to display in log files the customer login time and logout time. the customers should be searchable by specifying range of date and time.
PS I am trying to display the info in WAP browser..
thanks
hi,
can any1 explain to me how to display in log files the customer login time and logout time. the customers should be searchable by specifying range of date and time.
PS I am trying to display the info in WAP browser..
thanks
use Cperiodic or RTimer for Timer updates and clock ticks.
Regards,
Mateen Maldar
hi,
iPeriodicTimer = CPeriodic::NewL(CActive::EPriorityStandard);
SetTimerTick(KTimeInterval);
StartTimer();
Check the C:\Symbian\7.0s\Series60_v20\Examples\base\timers
U'll find the Basic timer and periodic timer examples
check it's use when the aapplication starts
Assoonas the user hits for the login and enters check this
if(//my login condition)
{
TTime MylogingTime;
MylogingTime.HomeTime();
//and insert the time in DB or u can display it
}
Regards,
Mateen Maldar
hi,
Thanks alot for ur compliment and i'm a contributor for the forum.
Regards,
Mateen Maldar