How to keep users logged in without cookies.
Hi @louis. Thank you for your post.
In order for the community to suggest ideas to help you solve your code issue it would be useful to share a link to your Repl.
Any error messages that you see appear when you attempt to run your code would also be useful to share here.
https://replit.com/@Huan-YangYang/Flask-Login-System
It can change cookies to log into other accounts without password
Instead of using request.cookies, try using flask.session
I use that and it works really well for me!
You can import requests from Flask with from replit import dband then under the next URL it will got to put db[‘var’] = requests.form(‘the name of the inpit from html’) and saet placeholder as the db
Take a look at 100 Days of Code: Client Server Logins