Login, Logout


Recommended Posts

With sample code provided in help file, I able to provide password protection to desired pages. but it need to enter password every time to access that page once i left it. that should be accessible untill; 1) hit Logout button 2) Login Active up to certain time, during which no popup asking password.

Link to comment
Share on other sites

You just need to create a global variable that gets initialized to 0, and then set to the current time when they successfully login.  Then, just look at the difference between the current system time and this variable to see if the login has timed out.  Set the variable to 0 for logout.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.