cron 2
Project ID: 1215987893
Project Details
  • Status:
    Closed (Chosen Programmer: alexvinnik; Paid + bonus; Rated 10 out of 10)
  • Posted:
    7/13/2008 at 18:24 EST
  • Closed:
    7/14/2008 at 14:20 EST
  • Project Creator:
    Rated 10 out of 10 for this project.
  • Budget:
    N/A
  • Description:
    Hi, I am still in need of the following project:

    Challenge: I need to UPDATE $TABLE set inuse='0' if session ended, BUT not using the loggout button.

    For example: The user closes the browser.

    Let's say user logs into his/her account. login script will modify the db. (I did this already)

    While, a second attempt to login to the same account, then check if session in use, if not login
    successfully, otherwise display error message: "Session Already in use. Only one logon at a time
    is permitted on this system". (I did this already)

    If the current user clicks the LOGOUT button, then delete user row from db. (I did this already)

    While, a second attempt to login to the same account, then check if session in use, if not login
    successfully, otherwise display error message. (I did this already)

    I need:

    a) A cronjob to check every x minutes if the users session still exists

    If yes, do nothing

    If no, then UPDATE $TABLE set inuse='0'
  • Tags:
Project Bids
Programmer Bid Delivery Time Time of Bid Rating  
alexvinnik $50 12 hours 7/14/2008 at 14:07 EST 10.00/10
(82 reviews)
Hello. How about escrow?
buster $50 1 day 7/14/2008 at 5:40 EST 9.60/10
(5 reviews)
Can be done.
etw $50 1 day 7/14/2008 at 7:01 EST 3.00/10
(39 reviews)
I can create the cron job to do as you ask. I will support my work even after the completion of the project.
daynightsoft $60 12 hours 7/14/2008 at 1:08 EST 9.37/10
(35 reviews)
it will be done
khanhhuyna $60 2 days 7/13/2008 at 22:42 EST 9.29/10
(35 reviews)
Ready to work! Thanks!
vnphpexpert $70 1 day 7/13/2008 at 20:34 EST 10.00/10
(98 reviews)
Ready to do, see PMB
expertwork $70 1 day 7/13/2008 at 22:16 EST 10.00/10
(9 reviews)
Can be done.
openmind $75 1 day 7/14/2008 at 1:31 EST 10.00/10
(69 reviews)
Will be done as required. Escrow payment before I start working on project. Thanks
Related Projects
Need a Joomla website