What type of security maintained in any website or web application. After login, Whenever we copy the address from address bar and paste it to the other browser , the page cannot be open or we get redirected directly to login page. But same address can be opened in same browser. So I want to ask that,how the security is maintained and what it called??Thanks in advance.
What type of security maintained in any website or web application. After login, Whenever
Share
If you are using Forms Authentication the whole security model is based on cookies. So when a user logs in an authentication cookie is emitted for the session of the browser. This cookie is then sent along on each request. The cookie could be persistent (i.e. stored on the local disk) and will survive browser restarts or it could be not-persistent in which case it only lives in the memory of the browser.
This cookie contains an encrypted value of the currently logged in username, which allows the server to decrypt this cookie and recognize this user.
When you move on another browser, there is no cookie being sent, so from the server’s perspective the user is not authenticated and it gets redirected to the login page if he tries to access some protected resource.