Search  
You are here:  Forums    
Latest Posts Minimize
RE: Multiple copies being sent + smtp 451 by gyroscopes on 12-03-2008 11:23 PM
RE: connection limit? by RemyV on 12-03-2008 9:28 PM
connection limit? by NateDawg on 12-03-2008 7:38 PM
RE: Multiple copies being sent + smtp 451 by gyroscopes on 12-02-2008 12:00 AM
RE: vbs script for deleting users with MLSRVX.DLL by SteveT on 12-01-2008 11:04 PM
RE: Export server and users configuration by SteveT on 12-01-2008 11:00 PM
Multiple copies being sent + smtp 451 by gyroscopes on 12-01-2008 10:02 PM
Export server and users configuration by gcvoiron on 12-01-2008 8:46 AM
RE: vbs script for deleting users with MLSRVX.DLL by krommetje on 11-30-2008 3:02 PM
I can send, but can't receive by amanda on 11-29-2008 9:26 PM

Top 10 Links Minimize

ArGoStuff User to User Support Forums Minimize
Subject: Webmail timeout
Prev Next
You are not authorized to post a reply.

Author Messages
intouch

Posts: 8
Online: User is Offline
ArGoNuke Recruit
ArGoNuke Recruit





08-04-2008 10:54 AM  

Using the new .Net webmail interface, I have a problem with the system timing out and then displaying the error message "System.NullReferenceException: Object reference not set to an instance of an object." along wth the source and stack trace as I have enabled this in the Config.Web file. The version of the Webmail interface is 1.0.5.3.

I have tried to extend the timeout in the application by adding a line to the Config.Web file in the webmail folder, as follows; This was based on research via Google that indicated this was the correct way to control details of the ASP.NET session timeout.

Unfortunately, this does not seem to work, and fails to extend the timout beyond around 10 minutes. The issue is mostly a problem when people are preparing emails to send, as if they take too long it times out and they lose all their work. The old MSPro version did not have a short timeout, and users have come to expect this in our service.

Can anyone shed some light on what options we have for extending the timeout, either in the application or generally within IIS itself? I am using Server 2008, but have the same issue on Server 2003.

 

SteveT
Forum Administrator

Posts: 2583
Online: User is Offline
ArGoNuke Admiral
ArGoNuke Admiral





08-05-2008 9:52 PM  
I think you are referring to Session State. By default is will time out after 20 minutes. In IIS6 (Windows 2003) you can change this value by going to your web site, right click and select Properties. Select the Home Directory Tab -> Configuration Button -> Options Tab. From there you can increase your session state time out.

Top Cat Computing BOINC Team StatsRegards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com
intouch

Posts: 8
Online: User is Offline
ArGoNuke Recruit
ArGoNuke Recruit





08-05-2008 10:11 PM  
Hi Steve,

Thanks for that. The hint about where this should be controlled is what I needed. I am using 2008 Server, which has IIS7 installed, and the location of the setting is in Website/ASP.Net/Session State. There are a range of options regarding session state, and the default for this is 20 minutes.

It would be good for the webmail code to be more robust, to check on the validity of the session variables before they are used, so that this error is handled correctly. It seems that there are only a few places where this would need to be done, but I am not an ASP.Net programmer so would not know the best way to go about this. I hope this feedback is useful as positive criticism, not negative, and thanks again for the pointer on where I should be looking.

I have increased the setting to 60 minutes, and now I will have to wait at least 25 to verify that my change has worked.
SteveT
Forum Administrator

Posts: 2583
Online: User is Offline
ArGoNuke Admiral
ArGoNuke Admiral





08-05-2008 11:05 PM  
I will pass your comments on to the Developer, Archie.

Top Cat Computing BOINC Team StatsRegards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com
intouch

Posts: 8
Online: User is Offline
ArGoNuke Recruit
ArGoNuke Recruit





08-06-2008 12:32 AM  
Unfortunately, it hasn't worked, the application still times out. I have tested with IIS 6 on 2003 server and IIS 7 on 2008 server, neither have worked so far. I will do some more research and testing over the next 24-48 hours and report back on what works if I can get it happening. My other option is to investigate the code and handle the session timeout manually, or to use options in ASP that will allow the session to be recreated. There seem to be many options!
SteveT
Forum Administrator

Posts: 2583
Online: User is Offline
ArGoNuke Admiral
ArGoNuke Admiral





08-06-2008 12:39 AM  
I have advised Archie and it is on his "To-Do" list. Did you restart IIS after making the change?

Top Cat Computing BOINC Team StatsRegards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com
intouch

Posts: 8
Online: User is Offline
ArGoNuke Recruit
ArGoNuke Recruit





08-06-2008 1:36 AM  
Yes, restarted IIS. Did not restart the server, figured it would not be necessary.
SteveT
Forum Administrator

Posts: 2583
Online: User is Offline
ArGoNuke Admiral
ArGoNuke Admiral





08-06-2008 7:58 AM  
It shouldn't be necessary to restart the server, but I am unfamiluar with the Quirks of Win2008. I haven't tried it yet. But have been doing some reading on it.

Top Cat Computing BOINC Team StatsRegards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com
dr_fission

Posts: 5
Online: User is Offline
ArGoNuke Recruit
ArGoNuke Recruit





10-02-2008 5:45 AM  
Go to the web.config file in the WebMail directory and locate the sessionState settings about half way down. The timeout default is set to 2 minutes in ver 1.0.5.5. Just change the timeout to whatever length in minutes that you want.
You are not authorized to post a reply.



ActiveForums 3.7

Donations Minimize

Find our site useful? Make a donation to show your support

Donate

logo_ccMC.giflogo_ccVisa.giflogo_ccDiscover.giflogo_ccAmex.gif

ArGoStuff Supporters

 


News from ArGoSoft Minimize
1 2 3 4 5 6


Mail Server Pro v1.8.9.6
  • Improved Export to .NET function - sometimes email messages were not getting exported, because the database of email messages was not up to date. Now each folder gets rebuilt before the export function;
12/2/2008 11:19:02 PM
Email Address Validator

We have discontinued our email address validation service, and launched new web site:

http://www.emailaddressvalidator.com

It provides the web service interface to validate lists of email addresses. We hope that our service will help to reduce unwanted traffic on Internet, ensuring that mail is sent only to valid and legitimate addresses.

Sign up now, and get 150 free validations!

11/25/2008 10:13:02 AM
Mail Server v1.0.5.8

Mail Server

  • Mailbags now have an option to accept mail only when specified server is down - will help to fight with spam which attempt to deliver mail bypassing the main server;
  • When delivering mail, if main exchanger returns 4xx reply (temporary problem), the server will not try other exchangers, will retry later the main exchanger;
  • Server options moved from registry to a XML file. 64 bit versions of Vista and 2008 server appear to be having access rights problems to the Windows registry, and the change will make our server more compatible with 64 bit versions;
  • Added an option to specify the number of lines on the log screen, when using the user interface. Was causing memory problems if left running for long time;
  • Fixed couple of problems, which were showing when SQL server was set up to use case sensitive SQL statements;
  • Made changes in the remoting interface to allow logging in using aliases;

Web Interface

  • Made changes to allow logging in using aliases;
  • When viewing folders, web interface now displays the name of logged in user;
11/12/2008 2:31:31 PM
FTP Server v1.0.1.6
  • Server settings have been moved from registry to the XML file, which will be located in the common application data directory. 64 bit versions of Windows were having trouble writing into the registry; similar change is coming to the mail server;
  • If used, XML files (Users.XML, Groups.XML and ServerOptions.XML) will also be moved to the common application data directory;
11/8/2008 11:41:29 PM
FTP Server v1.0.1.5
  • When performing active data transfers on systems with multiple IP addresses, data connections were using first available IP address, rather than one on which the control connection was active. It was causing confusion with firewalls and routers;
11/2/2008 9:39:24 PM


1 2 3 4 5 6

Protect Your Computer today withGet AVG Today


Home:ArGoStuff:Forums:Articles:Cyber Security Tips:FAQ:Downloads:Links
Copyright 2006-2008 by ArGoStuff Terms Of Use Privacy Statement