Home > Net >  A great god, o novice consult, show why MVC repeatedly jump back to the login screen
A great god, o novice consult, show why MVC repeatedly jump back to the login screen

Time:10-21

Want to do with the MVC project, in the from of authentication, but after the login, save the cookies, still jump back to the login screen, and the user is empty, just don't understand ah, just learning MVC to teach ah, empty MVC project, in addition to the three page didn't change,,

View:

Controller:

Still jump back to this page, remove the form validation can normal jump:

CodePudding user response:

Did you write in the from sub paths.

CodePudding user response:

reference 1/f, g reply Lin:
did you write in the from sub paths.

You mean web configuration or, in the view above two figure is all the rest did not change,

CodePudding user response:

Pray god give directions, that the from to verify how to judge, judge the user? Cookies also put on ah, why and jump to the login interface, zha doesn't work,
  • Related