#At file:///D:/bzr-connector-net/6.1/ based on revid:reggie.burnett@stripped
753 Reggie Burnett 2009-08-27
- fixed some bugs with session state provider (bug #46939)
- fixed typo in asp.net config wizard
modified:
CHANGES
MySql.VisualStudio/WebConfig/WebConfigDlg.cs
MySql.Web/Providers/Source/SessionProvider.cs
=== modified file 'CHANGES'
=== modified file 'CHANGES'
--- a/CHANGES 2009-08-25 21:26:55 +0000
+++ b/CHANGES 2009-08-27 14:55:18 +0000
@@ -1,6 +1,8 @@
Version 6.1.2
- removed ReturnGeneratedIdentifiers. We are now treating the command builder exactly
the same way SqlClient does
+- fixed some bugs with session state provider
+- fixed typo in asp.net config wizard
Version 6.1.1
- lots of bug fixes merged up from 6.0.5
=== modified file 'MySql.VisualStudio/WebConfig/WebConfigDlg.cs'
--- a/MySql.VisualStudio/WebConfig/WebConfigDlg.cs 2009-08-18 03:15:12 +0000
+++ b/MySql.VisualStudio/WebConfig/WebConfigDlg.cs 2009-08-27 14:55:18 +0000
@@ -117,7 +117,7 @@
{
pages[3].Title = "Session State";
pages[3].Description = "Set options for use with the session state provider";
- pages[3].EnabledString = "Use MySQL to manage my ASP.Net session date";
+ pages[3].EnabledString = "Use MySQL to manage my ASP.Net session state";
pages[3].ProviderConfig = new SessionStateConfig();
}
=== modified file 'MySql.Web/Providers/Source/SessionProvider.cs'
--- a/MySql.Web/Providers/Source/SessionProvider.cs 2009-08-17 19:30:33 +0000
+++ b/MySql.Web/Providers/Source/SessionProvider.cs 2009-08-27 14:55:18 +0000
@@ -132,8 +132,8 @@
applicationName = config["applicationName"];
// Get <sessionState> configuration element.
- sessionStateConfig = (SessionStateSection)WebConfigurationManager.OpenWebConfiguration(applicationName).
- GetSection("system.web/sessionState");
+ Configuration webConfig = WebConfigurationManager.OpenWebConfiguration(null);
+ sessionStateConfig = (SessionStateSection)webConfig.SectionGroups["system.web"].Sections["sessionState"];
// Initialize connection.
connectionStringSettings = ConfigurationManager.ConnectionStrings[config["connectionStringName"]];
@@ -308,7 +308,7 @@
using (MySqlConnection conn = new MySqlConnection(connectionString))
{
MySqlCommand cmd = new MySqlCommand(
- "UPDATE my_aspnet_Sessions SET Locked = 0, Expires = NOW() + INTERVAL @Timeout MINUTE" +
+ "UPDATE my_aspnet_Sessions SET Locked = 0, Expires = NOW() + INTERVAL @Timeout MINUTE " +
"WHERE SessionId = @SessionId AND ApplicationId = @ApplicationId AND LockId = @LockId",
conn);
Attachment: [text/bzr-bundle] bzr/reggie.burnett@sun.com-20090827145518-noh4d0crpu24ssqq.bundle
| Thread |
|---|
| • bzr commit into connector-net-6.1 branch (reggie.burnett:753) Bug#46939 | Reggie Burnett | 27 Aug |