Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Engineering Concepts (http://www.go4expert.com/forums/engineering-concepts/)
-   -   what happens behind the scene (http://www.go4expert.com/forums/happens-scene-t19232/)

anchitjindal07 30Aug2009 17:00

what happens behind the scene
 
what happens behind the scene when we sign in or sign out

Gagan heer 30Aug2009 21:25

Re: what happens behind the scene
 
Quote:

Originally Posted by anchitjindal07 (Post 56465)
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 30Aug2009 21:30

Re: what happens behind the scene
 
Quote:

Originally Posted by anchitjindal07 (Post 56465)
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 30Aug2009 23:18

Re: what happens behind the scene
 
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 31Aug2009 01:58

Re: what happens behind the scene
 
Quote:

Originally Posted by anchitjindal07 (Post 56480)
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 6Sep2009 23:30

Re: what happens behind the scene
 
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 7Sep2009 00:21

Re: what happens behind the scene
 
When we logout,the session is finished or invalidated.


All times are GMT +5.5. The time now is 06:46.