Implementing a MYSQL connection time-out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhighat4214
    New Member
    • Jul 2008
    • 13

    Implementing a MYSQL connection time-out

    Hello All,

    Actually I wanted to implement a MySQL connection time-out for the data-entry application which I developed in PHP. I just wanted to know is there any function in PHP-MYSQL lib that takes care of the same ? Or Do I have to simulate that behaviour using some more lines of code ? Please guide me regarding the same.
    Thank You for reading and replying to this post.

    Regards,
    Abhijit
    P.S. I'd like to time-out and redirect to login page rolling back the user's current transaction.
Working...