Windows Azure Session and Cookies not working on Cloud environment

Jul 29, 2011 at 4:45 AM

Hi,

 I have migrated a website to cloud, which works perfectly on my local machine using the Compute and Storage Emulators.

However, when I put it onto Windows Azure Cloud, the session and cookies are not working fine. Part of web.config file is given below.

    <sessionState timeout="30"
                  mode="SQLServer"
                  sqlConnectionString="Server=sxxxxxxxxx.database.windows.net;User ID=xxxxx@sxxxxxxxxx;Password=MY_PASSWORD"
                  cookieless="false"
                  allowCustomSqlDatabase="true" >
    </sessionState>
  </system.web>

Can anyone please guide be in correcting the same ? All the other things in the website are pretty much working fine.

Thanks

Sandeep

Coordinator
Jul 29, 2011 at 11:47 AM

Hi, this is not the Session-State provider that AzureProviders use, are you sure this is a question that is related to the AzureProviders project? If you have a general question related to Session-State providers I reccomend that you ask it here http://stackoverflow.com/questions/tagged/azure 

Kind regards,

Inge.