A couple of days ago I received an email from Steven Davis. He proposed some brilliant enhancements to the MySQL session state store provider. Thanks to him, I am able to provide a new release of it today.
New features he incorporated into the provider are:
New features he incorporated into the provider are:
- added cluster db support: the ability to retry within a cluster of servers, the web.config can then use connectionStringList=”<ConnectionString1>,<ConnectionString2>”
- fixed timeout Minutes to TotalMinutes
- changed namespace to Kimpel.MySqlSessionDll to make debugging clearer
Release v.03 now also supports MySQL Connector/Net 6.2. I also added a SQL script to create the necessary sessions table.
Please do not hesitate to contact me if you have any questions. Free download.
I need to add a login and logout function in an .aspx page and be able to use your MySqlSessionState Store provider.Could you please explain ho w to do this as I am trying to learn C# and object Oriented programming?ThanksRob
Rob,thank you for your message.The functionality you are trying to implement is actually pretty straight forward (I guess you are able to find tons of information or code snippets on the Internet) and not quite specific to the MySqlSessionState store provider.Well, basically I store user/role and password information in a database. If a user tries to login, I try to authenticate him against the database and (on success) store some information in the user’s session object.Please do not hesitate to contact me if you have further questions.Best regards,Harry