-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
session #3
Comments
2fa validate
|
2fa generate
|
how asp.net core mvc session workSessions in ASP.NET Core are used to store user-specific data across multiple requests. Each user is identified by a unique session ID, which is typically stored in a cookie or passed as part of the request. Sessions can be used to store user authentication tokens, user preferences, shopping cart contents, and other user-specific data. In your code examples, sessions are used to store temporary data related to two-factor authentication (2FA). Here's a brief overview of how sessions work in your code:
Sessions work for multiple users because each user's session is unique and maintained separately by the server. When a user makes a request, the server retrieves the session data associated with that user's session ID. This allows each user to have their own set of session data, independent of other users. It's important to note that sessions typically rely on cookies to store the session ID. This means that sessions will not work if cookies are disabled in the user's browser. Additionally, session data is stored in memory by default, which may not scale well for large numbers of users or in distributed server environments. You can configure ASP.NET Core to use other session storage options, such as databases or distributed caches, for better scalability. |
セッション変数とは?【分かりやすい解説シリーズ #17】【プログラミング】 |
セッション情報はサーバーのどこに保存される?セッション情報は通常、サーバー側のメモリやデータベースなどの一時的なストレージに保存されます。セッション情報は、ユーザーがウェブサイトにアクセスしている間、そのセッションに関する情報を保持するために使用されます。たとえば、ユーザーがログインすると、サーバーはそのユーザーが認証されていることを示すセッション情報を保存します。ユーザーがログアウトするか、一定の期間が経過すると、セッション情報は通常クリアされます。 |
第11章 クッキーとセッションを利用しようhttps://kanda-it-school-kensyu.com/php-basic-contents/pb_ch11/pb_1103 |
Node.js Expressの例を通じて、Webアプリのセッションについて理解するhttps://kanda-it-school-kensyu.com/php-basic-contents/pb_ch11/pb_1103 |
クライアント
サーバー
注意点
The text was updated successfully, but these errors were encountered: