How to display the last logged in user from the login page
-
Hello all: I have some question and would like your help. I have created a page call Login.aspx-The user will login from here. If login successfully, the user will directed to default.aspx which is my main page. What I like to accomplish is to have the name of previous logged in person from login.aspx page and display his/her name on the default.aspx page. How do I go about doing this?? Thank you in advance for your help. eyungwah
-
Hello all: I have some question and would like your help. I have created a page call Login.aspx-The user will login from here. If login successfully, the user will directed to default.aspx which is my main page. What I like to accomplish is to have the name of previous logged in person from login.aspx page and display his/her name on the default.aspx page. How do I go about doing this?? Thank you in advance for your help. eyungwah
Use cookies for this kind of problem. Save the user name in cookie on login.aspx on successfull login then redirect. And onload event of login.aspx retrieve the value from cookie
FIRE
-
Hello all: I have some question and would like your help. I have created a page call Login.aspx-The user will login from here. If login successfully, the user will directed to default.aspx which is my main page. What I like to accomplish is to have the name of previous logged in person from login.aspx page and display his/her name on the default.aspx page. How do I go about doing this?? Thank you in advance for your help. eyungwah
You could store the username in a session variable and then display that information.. <%=Session("Username")%>