what happens behind the scene

anchitjindal07's Avatar, Join Date: Jul 2009
Go4Expert Member
what happens behind the scene when we sign in or sign out
Gagan heer's Avatar, Join Date: Aug 2009
Newbie Member
Quote:
Originally Posted by anchitjindal07 View Post
what happens behind the scene when we sign in or sign out
actually it is all about coding when we click on sign in the validity is check for user nd his password from the database,if it matches u get signed in, mostly passwords are case sensitives nd coding is also done acc. 2 dat nd when u signed out the exit from app. runs nd u signed outs......
Gagan heer's Avatar, Join Date: Aug 2009
Newbie Member
Quote:
Originally Posted by anchitjindal07 View Post
what happens behind the scene when we sign in or sign out
actually it is all about coding when we click on sign in the validity is check for user nd his password from the database,if it matches u get signed in, mostly passwords are case sensitives nd coding is also done acc. 2 dat nd when u signed out the exit from app. runs nd u signed outs......
anchitjindal07's Avatar, Join Date: Jul 2009
Go4Expert Member
Thanks a lot...
But what happens when we click on "Remember me" and then exit from the application. where our username and password gets stored?
nimesh's Avatar, Join Date: Apr 2009
Invasive contributor
Quote:
Originally Posted by anchitjindal07 View Post
Thanks a lot...
But what happens when we click on "Remember me" and then exit from the application. where our username and password gets stored?
mostly it happens using cookies

some information like session timestamps, login info and some other details are stored.
in plain text or in encrypted form

when you clear the cookies, you automatically get signed-out
Soutrik's Avatar, Join Date: Jul 2009
Newbie Member
Actually when we sign in or login, a new session is created having unique session id.This session can be handled in various ways such as using cookies and since http is a stateless protocol,there is an importance of sessions.
Soutrik's Avatar, Join Date: Jul 2009
Newbie Member
When we logout,the session is finished or invalidated.