CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Changing Logon Timeout within Code Charge

Print topic Send  topic

Author Message
aturner51

Posts: 6
Posted: 08/07/2009, 12:35 PM

I have an application that requires a user to login. If the page is idle for more that 3 minutes, it requires the user to reenter their username and password. Is there a way to physically change the time out ratio to 30 minutes in Code Charge (see below)? The user is required to enter a lot of data, but may at some point be called off to do something else. I don't want them to have to log back in each time they walk away from their computer just briefly.

Will I be required to add a Session Variable to each page? Or, can it just be done from within common.asp?

The application is built using ASP in Code Charge Studio 4.2.00.040 with SQL 2005 backend.
View profile  Send private message
garycrunk

Posts: 23
Posted: 08/07/2009, 1:04 PM

Yes... This is what I do...
In your common.asp file... Usually after your DIM entries near the top of the file...

Place this
' Set the Session Timeout to 2 Hours... That should be PLENTY of Time
Session.Timeout = 120

_________________
Gary Crunk
Job Examiner
View profile  Send private message
aturner51

Posts: 6
Posted: 08/07/2009, 1:26 PM

Thank you. I will give that a try.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.