What happens when you change the web.config file at runtime ?
sanjeev singh
to be more precise, your web application will be restarted, losing all the sessions so far
You Need to Re-Start your IIS Server, on which your Web-Application is deployed to reflect the Web.Config Changes.