Dayo Posted January 15, 2021 Share Posted January 15, 2021 1 Quote Link to comment Share on other sites More sharing options...
Sim Posted January 15, 2021 Share Posted January 15, 2021 5 hours ago, Dayo said: I was going to do this. Thanks. It sucks as a developer to keep relogging back in. Does this redirect to the page user was on as well? Quote Link to comment Share on other sites More sharing options...
Dayo Posted January 15, 2021 Author Share Posted January 15, 2021 1 hour ago, Sim said: Does this redirect to the page user was on as well? No it will redirect to the landing page that was set up in the ACP, it wouldn't be hard to change it though Quote Link to comment Share on other sites More sharing options...
PHPStudent Posted January 18, 2021 Share Posted January 18, 2021 What's the difference between session based and cookie based logins? Quote Link to comment Share on other sites More sharing options...
Dayo Posted January 18, 2021 Author Share Posted January 18, 2021 Without the cookie based login user accounts are automatically logged out after a few hours (dependant on your server settings) 1 Quote Link to comment Share on other sites More sharing options...
PHPStudent Posted January 18, 2021 Share Posted January 18, 2021 Thanks Quote Link to comment Share on other sites More sharing options...
Sim Posted January 18, 2021 Share Posted January 18, 2021 9 hours ago, PHPStudent said: What's the difference between session based and cookie based logins? Cookies store information about websites while you are "offline" so to speak. 1 Quote Link to comment Share on other sites More sharing options...
PHPStudent Posted January 18, 2021 Share Posted January 18, 2021 42 minutes ago, Sim said: Cookies store information about websites while you are "offline" so to speak. ... they can see my browsing history...? 😳 Quote Link to comment Share on other sites More sharing options...
Sim Posted January 19, 2021 Share Posted January 19, 2021 5 hours ago, PHPStudent said: ... they can see my browsing history...? 😳 Majority of the time the site who creates the cookie is supposed to be the only site that can read the cookie. Cookies can store any information that web programming languages has access to. Whatever PHP, ASP, JS can find out about you, can be saved in a cookie for later use. Think of a cookie as a variable :). Clear your browsing history (cookies to) and your cookies get deleted. You can also do/use session browsing which am information gathered while browsimg is deleted once you code browser(end your session). Cookies are saved on your computer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.