Development platform: c# asp.net 2.x, Visual Studio Pro utilising Web Developer, IIS6, SQL 2005 server.
Want to create a local session variable once a user has successfully logged in.
The login scripts are the standard simple asp.net login control, within its in own login.aspx page.
I have tried to insert the session variable update at the point of pressing the login button -- but the session variable is not being updated.
The session variable scripting is fine -- i.e. you can put that on another page and force (ie. hardcode) a value to be inserted into session variable (instead of checking the following asp.net variable : Page.User.Identity.Name at time of logging in).
Perhaps this is not picking up the user identity successfully because the log in page is still processing the request and the page still does not know that a user is authenticated at time of the session variable update being run.
Your thoughts are much apprieated on this.
Thank you in advance for your time and efforts with this enquiry.