to add session expiry time
Posted: Tue Mar 09, 2010 5:11 am
when ever a user login, his information(name,password..etc) will be stored in sessions and also stored in users table.
the table has following fields
1.userid 2.password
i would like to add session expiry time
what i want to do is if a user login and does not do any thing for next 15 minutes i want to redirect the user to login page.
how i can do this.any of your help will be appreciated
thanks..
the table has following fields
1.userid 2.password
i would like to add session expiry time
what i want to do is if a user login and does not do any thing for next 15 minutes i want to redirect the user to login page.
how i can do this.any of your help will be appreciated
thanks..