| ArGoStuff User to User Support Forums |
Webmail timeout Last Post 02 Oct 2008 05:45 AM by dr_fission. 8 Replies. | Sort: |
| Prev Next | You are not authorized to post a reply. | |
intouch
 New Member
 Posts:8
 | | 04 Aug 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. | | |
|
|
Steve Topilnycky Forum Administrator
 Veteran Member
 Posts:1278

 | | 05 Aug 2008 09: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. | | - - - - - - -
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com/ | |
| intouch
 New Member
 Posts:8
 | | 05 Aug 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. | | | |
| Steve Topilnycky Forum Administrator
 Veteran Member
 Posts:1278

 | | 05 Aug 2008 11:05 PM |
| I will pass your comments on to the Developer, Archie. | | - - - - - - -
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com/ | |
| intouch
 New Member
 Posts:8
 | | 06 Aug 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! | | | |
| Steve Topilnycky Forum Administrator
 Veteran Member
 Posts:1278

 | | 06 Aug 2008 12:39 AM |
| I have advised Archie and it is on his "To-Do" list. Did you restart IIS after making the change? | | - - - - - - -
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com/ | |
| intouch
 New Member
 Posts:8
 | | 06 Aug 2008 01:36 AM |
| Yes, restarted IIS. Did not restart the server, figured it would not be necessary. | | | |
| Steve Topilnycky Forum Administrator
 Veteran Member
 Posts:1278

 | | 06 Aug 2008 07: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. | | - - - - - - -
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com/ | |
| dr_fission
 New Member
 Posts:5
 | | 02 Oct 2008 05: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. |
|
Active Forums 4.2 |
|  | | Mail Server v1.0.8.3 |
- Added support of STARTTLS (STLS) command for SMTP, POP3, IMAP, and SMTP relay and delivery, which will
allow secure, fully encrypted connections, when possible;
| | 11/6/2011 1:10:34 PM |
| Mail Server v1.0.8.2 |
- Optimized delivery speed. In earlier versions each "tick" which was checking whether messages were
in the outbox queue, was picking up only one message at a time. Now it will attempt to pick MaximumAllowedThreads-ActiveDelivery threads
messages, which should considerably increase deliver speed;
- Optimized SEARCH and STATUS IMAP commands. They appear to be used very extensively by Android, and (not that extensively, but still) by
iPhone. Now users who use mobile phones to access their IMAP accounts will see considerable improvement;
- Optimized STORE IMAP command. Before storing of IMAP flags was occuring one message at a time, which seemed to be fine
with SQL server, but proved to be slow for SQLite... Now it happens with single SQL call.
| | 10/8/2011 7:59:35 PM |
| ArGoSoft Mail Server v1.0.8.1 | -
Fixed a bug: when using IMAP via Firefox with "When I delete a message, move it
to Trash folder" option, marking messages in the trash folder was causing high CPU usage,
and was taking some time, making the server pretty much non-responsive. The problem was
happening only when using SQLite.
| | 6/6/2011 9:33:36 PM |
| ArGoSoft Mail Server v1.0.8.0 |
- Fixed a problem with web interface - was showing only first page of messages, and would not
switch to other pages; In order to fix the web interface, mail server itself has to be updated;
- When installint initially, was still using SQLite, even when SQL was requested;
- There was a problem with switching from SQLite database engine to SQL server database engine:
the SQL database was not being created;
| | 5/23/2011 5:53:55 PM |
| ArGoSoft Mail Server .NET v1.0.7.9 |
- The server no longer requires Microsoft SQL Server. If SQL server is not found, it will use
SQLite engine, which does not require separate installation. If SQL server is found, then user will be
prompted whether he wants to use it;
- Made other improvements, such as, now mailbox rebuild indexes orphaned records, rather then deleting them,
also added an opotion to increment UIDL validity of folder (both on the Mailbox viewer box);
- Made minor improvements on web interface;
| | 4/26/2011 9:47:25 PM |
| |
|  |  | |  |
|