Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User chickenyd's Avatar
    Join Date
    Mar 2006
    Posts
    5
    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
    Registered User mateen_maldar's Avatar
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,063
    use Cperiodic or RTimer for Timer updates and clock ticks.

    Regards,
    Mateen Maldar

  3. #3
    Registered User chickenyd's Avatar
    Join Date
    Mar 2006
    Posts
    5
    HUH?? SO what exactly does Cperiodic or RTimer do???/

  4. #4
    Registered User mateen_maldar's Avatar
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,063
    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
    Registered User mateen_maldar's Avatar
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,063
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved