locked
Login issue with ASP.net SignInManager RRS feed

  • Question

  • User-1209441616 posted

    Hi guys,

    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"

    Any ideas?

    Thanks guys

    Tuesday, March 19, 2019 10:24 PM

All replies

  • User-1174608757 posted

    Hi cfcorp,

    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. 

    Best Regards

    Wei

    Wednesday, March 20, 2019 5:56 AM