I designed an authorization verification middleware. If the http header has a 'token', set the request's sessionid to its value, read the content of the corresponding session to determine whether it is authorized, but it is not clear how to change the sessionid.
This operation is very well implemented in go and php languages, but because I just learned asp.net core. I hope some friends can help me out, because cookies are not allowed due to usage scenarios, so I still hope that it can be implemented in this simple way.
Thank you very much!