Last post Mar 20, 2019 05:56 AM by Wei Zhang
Mar 19, 2019 10:24 PM|cfcorp|LINK
Ive got an ASP.Net page hosted on Godaddy and before that smarterASP.com.
I am using the built in sign in manager that allows quick creation of user names when dealing with logins and access to my ASP page. I selected it when I was setting up the ASP.net project in VS 2017. I created an MS SQL DB and linked the ASP.net application
to it succesfully.
when i uploaded the ASP site to SmarterASP and GoDaddy I can log in and the page will direct me to "homepage.aspx" which I set as a default on successful login.
This works as normal on upload of the site but when i close the browser and try to log in again i just constantly get shown the login page and never get to the homepage where i can see my username shown in the top right of the screen.
If i reset the IIS pool on Godaddy I can log back in again and the same will happen, this happens on Chrome and IE but Firefox has mixed results.
I also tried clearing the browser cache but it doesnt seem to work, none of my other sites using the SignInManager had this issue. I can create new users when I get logged in.
For security I also check whether a user is logged in on all my other pages except the homepage.aspx and sometimes it gets to the homepage but it isnt really logged in as the top right of the navbar should show "Welcome
signed in user"
Mar 20, 2019 05:56 AM|Wei Zhang|LINK
According to your description, it seems that users' login name and password hasn't been saved correctly.So could you please post the detail code about how this web application save the username and password after users firstly log their homepages?
Else have you make a judgement that when user logs back , it will jump to his homepage?If so , I suggest you could also share the code.