Refresh page web.config change
Hi,
I have developed a website with a login form (ASP.Net 2008 and VB 2008). When user enter username and password, i store the username in a key in web.config. The username will display in a label in all pages by using this stored key value. Comp1 start working in the website. In this same time another user login in another system and start working in the site. Now if comp1 refresh the page, the username change. Please help..
Re: Refresh page web.config change
oh dear... multiple users are updating your key from web config. So your user name keep in changing. Handle user name with session instead of saving in web.config.
Re: Refresh page web.config change
Normally when you make any session the aspnet_wp process will restart the IIS and all your session variable will lost. As suggested you can store it in a session variable