Hi Gilles,
I've moved to the latest version of the data access and data mapper libraries. Using the new session store I have the following problem when I try to use my DAO methods: "DaoManager could not invoke CloseConnection(). No connection was started. Call OpenConnection() first." Does this mean that by using a new session store, I am now responsible for opening and closing connections when using the mapper? Thanks, Greg ________________________________ From: Gilles Bayon [mailto:[EMAIL PROTECTED] Sent: Friday, 9 February 2007 8:25 a.m. To: [email protected] Subject: Re: Writing a custom session store by implementing ISessionStore Yes On 2/8/07, Greg Jackman <[EMAIL PROTECTED]> wrote: Thanks for that Gilles, I'll give it a go. Do I need to upgrade to the latest beta version to be able to set the session store? Cheers, Greg ________________________________ From: Gilles Bayon [mailto: [EMAIL PROTECTED] Sent: Friday, 9 February 2007 7:58 a.m . To: [email protected] Subject: Re: Writing a custom session store by implementing ISessionStore You can used the HybridWebThreadSessionStore ISqlMapper mapper = builder.Configure(...); mapper.SessionStore = new HybridWebThreadSessionStore( sqlMapper.Id ); Set the custom session store once you have build the ISqlMapper and before you use it. -- Cheers, Gilles <a href=" http://www.amazon.com/gp/registry/6JCP7AORB0LE <http://www.amazon.com/gp/registry/6JCP7AORB0LE> ">Wish List</a> -- Cheers, Gilles <a href=" http://www.amazon.com/gp/registry/6JCP7AORB0LE <http://www.amazon.com/gp/registry/6JCP7AORB0LE> ">Wish List</a>

