Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
i want to do this.

when user login first time it ask username & password
but next time when same user want to login it directly go to home page (without promoting user name & password).

like facebook when v first time use, v have to provide usetname and password and if we select remember me option. then next time when we user facebook it automatically redirect to our profile home page like that


please help me...
Posted
Comments
Sergey Alexandrovich Kryukov 11-Mar-13 1:20am    
Makes no sense at all. This is not "automatic login", the user should log on in all cases...
—SA
pradiprenushe 11-Mar-13 1:52am    
Read session management concept if you are not knowing basic concept answer provided by us will not be useful to you.
Member 9784436 11-Mar-13 2:01am    
okay but i have basic knowledge about session so please provide code if u have?

1 solution

 
Share this answer
 
v2
Comments
Member 9784436 11-Mar-13 2:18am    
thank you so much.
pradiprenushe 11-Mar-13 3:05am    
welcome

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900