#At file:///H:/connector_net/6.1/ based on revid:vvaintroub@stripped
777 Vladislav Vaintroub 2009-10-15
Bug#47815 : fix SessionProvider to read timeout from the
application specific web.config, not from the root web.config
modified:
CHANGES
MySql.Web/Providers/Source/SessionProvider.cs
=== modified file 'CHANGES'
--- a/CHANGES 2009-09-17 12:17:56 +0000
+++ b/CHANGES 2009-10-14 23:15:49 +0000
@@ -2,6 +2,7 @@ Version 6.1.3
- fixed session state provider table definition to allow more than 64K per-session data (bug#47339)
- fixed compilation problem in NativeDriver inside ExecuteDirect (bug #47354)
- fixed default collation bug with session provider table (bug #47332)
+- in sessionState provider, timeout value was read from the wrong (root) web.config (bug#47815)
Version 6.1.2
- fixed hanging after losing network connectivity to server (bug#43761)
=== modified file 'MySql.Web/Providers/Source/SessionProvider.cs'
--- a/MySql.Web/Providers/Source/SessionProvider.cs 2009-08-27 14:55:18 +0000
+++ b/MySql.Web/Providers/Source/SessionProvider.cs 2009-10-14 23:15:49 +0000
@@ -132,7 +132,7 @@ namespace MySql.Web.SessionState
applicationName = config["applicationName"];
// Get <sessionState> configuration element.
- Configuration webConfig = WebConfigurationManager.OpenWebConfiguration(null);
+ Configuration webConfig = WebConfigurationManager.OpenWebConfiguration(HostingEnvironment.ApplicationVirtualPath);
sessionStateConfig = (SessionStateSection)webConfig.SectionGroups["system.web"].Sections["sessionState"];
// Initialize connection.
Attachment: [text/bzr-bundle] bzr/vvaintroub@mysql.com-20091014231549-qv3rcyaiszyskm82.bundle
| Thread |
|---|
| • bzr commit into connector-net-6.1 branch (vvaintroub:777) Bug#47815 | Vladislav Vaintroub | 15 Oct |