Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,520 members, 7,816,264 topics. Date: Friday, 03 May 2024 at 08:27 AM

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

Nairaland Forum / Science/Technology / Programming / How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does (1383 Views)

Lessons In How Not To Implement Application Security / How Can I Implement Credit Risk Management Using Artificial Neural Network Help / What Are The DB Values Forfacebook Login In Php (2) (3) (4)

(1) (Reply) (Go Down)

How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by teampregar(m): 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(m): 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.

1 Like

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. . . .

1 Like

Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by teampregar(m): 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

1 Like

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(m): 2:38pm On Jun 26, 2016
guru01:
Good to know you are working on something big.
Thanks..

(1) (Reply)

A Web Developer/programmer And Web Designer Needed In Enugu Urgently / I Need An App Developer ASAP / Recover Data From Corrupt VHD File

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 22
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.