₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,198 members, 8,420,770 topics. Date: Friday, 05 June 2026 at 11:03 AM

Toggle theme

How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingHow Do I Implement An Automatic Login In PHP Feature Like Nairaland Does (1648 Views)

1 Reply (Go Down)

How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by teampregar(op): 7:57pm On Jun 24, 2016
I want to implement automatic login , just like how facebook web, or nairaland works when u have already registered, when u login nairaland has already stored cookies in ur browser so it automatically logs u in , without u visiting the log in page any longer..
Please i would like u guys to help write or copy&paste the source code here(In PHP).
Thanks
Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by teampregar(op): 10:18am On Jun 25, 2016
...
Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by guru01(m): 10:51am On Jun 25, 2016
teampregar:
I want to implement automatic login , just like how facebook web, or nairaland works when u have already registered, when u login nairaland has already stored cookies in ur browser so it automatically logs u in , without u visiting the log in page any longer..
Please i would like u guys to help write or copy&paste the source code here(In PHP).
Thanks
You are not serious, you want people to write code for you without seen what you have done.
Study more about php cookies.
Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by Nobody: 11:04am On Jun 25, 2016
You can still use your php session - and make it stay forever or use one year if you like.
Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by jboy01(m): 11:58am On Jun 25, 2016
just use php session, you can also set the expiring timer
Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by Nobody: 1:29pm On Jun 25, 2016
^^^I set the timer of Nairaland.com to 1 year. . . .
Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by teampregar(op): 1:46pm On Jun 25, 2016
guru01:
You are not serious, you want people to write code for you without seen what you have done.
Study more about php cookies.
Dont worry, i have solve the problem it was just a little bug in the code that was causing the problem(4got to change a variable name) , thanks anyways and also my project is soon gona launch nd trust me its gonna be big.. #Tytit
Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by guru01(m): 1:55pm On Jun 26, 2016
teampregar:
Dont worry, i have solve the problem it was just a little bug in the code that was causing the problem(4got to change a variable name) , thanks anyways and also my project is soon gona launch nd trust me its gonna be big.. #Tytit
Good to know you are working on something big.
Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by teampregar(op): 2:38pm On Jun 26, 2016
guru01:
Good to know you are working on something big.
Thanks..
1 Reply

Lessons In How Not To Implement Application SecurityHow Can I Implement Credit Risk Management Using Artificial Neural Network HelpWhat Are The DB Values Forfacebook Login In Php234

Voting Is Here Again Boys, Follow The Instructions Below To Cast Your VoteMeet The World's Youngest IBM Watson Coder13-year-old Gerald Has One Of The Largest Telegram & Whatsapp Channel & Group✔