codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  session time out  dshah at 19:31 on Friday, September 01, 2006
 

I am trying to achive following task in my new application. Need help to get some idea.

On my application i have user tab where our dealer can create there user for there company. I have two table in my database. One for dealerinfo and one for userinfo. Userinfo contain data for user and dealer# they belong to. I have one more table which contain session info like when user log in it create new row into this table and add his session id. log in time ,dealer no, access level and log out time. So when user click log out then log out time get populate so when user can second time if log out then redirect to log in page otherwise read user data from cookie and authenicate user.

Now here the problem. I would like to write some think so during 7:00 AM to 5:500 PM session can time out every 15 min ideal time and after 5:01Pm to 6:59 AM session can time out every 1 hour. Now i also want do special set up for some dealer like some dealer can have 20 min time out in morning and 30 min on everning. How can i achive this task how can i create the scrip and run to it run the way a want a run.

Need help

thanks









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Harvard/MIT Startup Recruiting
•  regarding change of color when dropdown menu is clicked
•  transfer variable to popup (a mind bender)
•  Re: java help questions
•  Re: Java and Applets
•  FileShare server/Client closing
•  need bar code printing software (free but not demo)
•  how to add minutes in system time
•  Re: Cant use an undefined value as a Symbol reference at compare1.pl line 66


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2006