×

Discussion Board

Results 1 to 5 of 5

Hybrid View

  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    5

    displaying customer login and logout time

    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

  2. #2
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: displaying customer login and logout time

    use Cperiodic or RTimer for Timer updates and clock ticks.

    Regards,
    Mateen Maldar

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    5

    Re: displaying customer login and logout time

    HUH?? SO what exactly does Cperiodic or RTimer do???/

  4. #4
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: displaying customer login and logout time

    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

  5. #5
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: displaying customer login and logout time

    hi,

    Thanks alot for ur compliment and i'm a contributor for the forum.

    Regards,
    Mateen Maldar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×