Home > front end > Session is generated with a delay???
Session is generated with a delay???
Time:04-11
Do course design, recently made a web project based on asp.net, one user login function, login to input verification code, verification code generated by application of random Numbers, and stored in the session, and then judge the user input validation code and saved in the session authentication code is consistent, if the agreement is allowed to login, but this afternoon in the debugger when encountered a problem, is at the time of the login, the program will be a few links the null pointer exception, exception occurs where the verification code are consistent, because the program has been done for two weeks, before I have never seen this kind of mistake, today suddenly a few willfulness error, finally found after repeatedly trying to reason, because my computer has been hung baidu cloud download things, high speed to take up, when I put the baidu cloud download after suspension, won't appear abnormal, but once opened the download, will have a chance to quote is unusual, is the production of the session related to network environment? Vs other built-in iis not local server? Also don't walk 80 port, how can be downloaded interference?
CodePudding user response:
. No man or woman? As if is really no one,
CodePudding user response:
Is there a front end? If there is one, initiated by the front-end AJAX request, asp.net after completing all operations, return a JSON, front-end based on JSON content determine whether jump page, ok?
CodePudding user response:
ASP.NET don't know, if is ASP, pay attention to the IIS process number cannot be more than 1, because the session is the isolation between processes,
CodePudding user response:
Cross-domain problem, has nothing to do with speed