User Session or Cookie
-
Doing a project for a client. They want user’s to be remembered, i.e., logged in automatically. That seems dumb and difficult. But, they want us to recognize the user and log them in.
Since there is woocommerce installed, I can’t really mess with the sessions, eh?
Seems like once they register, you’d have to create a uniqueID and stuff it into a database table, and set it in a cookie (correlated with the username/pwd).
Then when a visitor arrives, you check if logged in (WP), and let them go, if so. If not logged in, you check for the cookie, and then log them in. Of course, this is severely hacker prone, eh?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘User Session or Cookie’ is closed to new replies.