what happens behind the scene

Go4Expert Member
30Aug2009,17:00   #1
anchitjindal07's Avatar
what happens behind the scene when we sign in or sign out
Newbie Member
30Aug2009,21:25   #2
Gagan heer's Avatar
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......
Newbie Member
30Aug2009,21:30   #3
Gagan heer's Avatar
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......
Go4Expert Member
30Aug2009,23:18   #4
anchitjindal07's Avatar
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?
Invasive contributor
31Aug2009,01:58   #5
nimesh's Avatar
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
Newbie Member
6Sep2009,23:30   #6
Soutrik's Avatar
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.
Newbie Member
7Sep2009,00:21   #7
Soutrik's Avatar
When we logout,the session is finished or invalidated.