CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Resolved - Session.Timeout location

Print topic Send  topic

Author Message
netsys

Posts: 39
Posted: 06/30/2010, 12:04 PM

I found a couple of old posts about updating the default session timeout in the common.asp file using the Session.Timeout property. I can't seem to find this anywhere in my Common.asp file. Can someone direct me to the location?

Thank you!
View profile  Send private message
Waspman

Posts: 948
Posted: 07/03/2010, 12:40 PM

From memory you enter the lines at the beginning of the common file, something like Session Timeout = 100 (not right). But don't bother it doesn't work. I keep the sessions open with an iframe embedded page that refreshes every so many seconds. This way I can also set the time out based on the user.
_________________
http://www.waspmedia.co.uk
View profile  Send private message
netsys

Posts: 39
Posted: 07/06/2010, 6:09 AM

Seems like a good solution. Thanks!
View profile  Send private message
Dreamcatchers


Posts: 120
Posted: 07/20/2010, 8:31 AM

Waspman,
Can you provide an example of how your loading the pages in an iframe. I like the idea but each page just calls another page not an iframe.
_________________
Training and LMS Developer
View profile  Send private message
Waspman

Posts: 948
Posted: 07/22/2010, 12:41 AM

just create a page that refreshes itself every x seconds.

I set the refresh frequency in the header of this page based on the user so some people don't stop open all day. I also display "You are logged on as John Smith last session refresh = 11:30"
just to make it useful:)

Stick the iFrame to call the page in the footer of your main page and the server thinks your session is active so it doesn't drop.

T
_________________
http://www.waspmedia.co.uk
View profile  Send private message
Dreamcatchers


Posts: 120
Posted: 08/30/2010, 11:23 AM

waspman,
just tried to get this going and failed. Can you tell me where I missed the point?

Add a footer to my page with an include file called footer.ccp
In the Footer.html I placed the iFrame block
<IFRAME SRC="confidential_notice.html" width="600" height="65"
</IFRAME>

It calls a confidential_notice.html with thre refresh instructions and a text message:
<html><head>
<META HTTP-EQUIV="REFRESH" CONTENT="15">
</head><body>
<center>
<font size=1>This site is for internal use only
</font></center>
</body></html>

I see IE refresh itself every 15 seconds. But when I tried to update the record on the screen after waiting a while, I got the login page. My session was lost.
_________________
Training and LMS Developer
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.

MS Access to Web

Convert MS Access to Web.
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.