CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> .NET

 Site Logging Users Out....

Print topic Send  topic

Author Message

Posts: 45
Posted: 08/30/2004, 6:06 PM

Can anyone send me the code for a application to change the time it takes before a user is automatically logged out of my web site.

I believe that currently my users are being logged out after 15 mins of inactivity.

Can anybody help?
Shawn :-)
View profile  Send private message
Posted: 08/31/2004, 12:53 AM


Try the folowing code in Page After Initialize event
Session.Timeout = 40 ' minutes


Posts: 283
Posted: 08/31/2004, 5:32 AM

In addtion to your web.config file can/may have settings for the entire app
please look for this code in your web.config

sqlConnectionString="data source=;Trusted_Connection=yes"
View profile  Send private message

Posts: 45
Posted: 08/31/2004, 8:05 AM

:-) Thanks Stan!

The code in the Page After Initialize event seems to be working perfectly.


I wasn't able to locate the code you pointed out in my web.config. Any ideas why it wouldn't be there? Is this code that Code Charge automatically sets up in the web.config?

Shawn :-)
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

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

Home   |    Search   |    Members   |    Register   |    Login

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