Session state Provider - Cookieless

Session state Provider - Cookieless

Postby chris@byteme » Mon 13 Oct 2008 15:30

Hi guys

I'm using the session state provider and I've followed the demo project and am happy to report that it worked fine. However, the URL munging causes problems on my site, and so I changed the web.config file in order to use cookies as follows:










After this change the session state is no longer written into the MySQL table - clearly I'm doing something wrong :shock: - please help.

Chris...
chris@byteme
 
Posts: 14
Joined: Thu 06 Oct 2005 06:23

Postby chris@byteme » Mon 13 Oct 2008 18:30

I managed to answer this myself.

In this instance a session id, and the cookie that goes with it as well as the record in the DB, is only created when the first value is stored into session state.

I hope that this info helps anyone else out there who might have been as silly as myself :lol:
chris@byteme
 
Posts: 14
Joined: Thu 06 Oct 2005 06:23


Return to dotConnect for MySQL