txmedic03 Posted April 1, 2006 Share Posted April 1, 2006 [!--quoteo(post=360338:date=Mar 31 2006, 06:42 AM:name=gzabriskie)--][div class=\'quotetop\']QUOTE(gzabriskie @ Mar 31 2006, 06:42 AM) [snapback]360338[/snapback][/div][div class=\'quotemain\'][!--quotec--]To txmedic03,I have been scratching my head for about a week trying to come up with a solution to limiting the number of logins a user can have, and this little forum topic did the trick. Your examples worked great. I already had an authentication for logging in I just added the sessions table and the checks by adding the first part of your code at the top of each page. I use PEAR so I had to make adjustments to the code for my queries but all in all it was pretty simple. It works great!Thanks for your contributions, you saved me a lot of time![/quote]I'm glad I could help. As soon as I get a change I'm going to write the "lite" version as well as possibly some improvements I think I might be able to make to the existing code. Link to comment https://forums.phpfreaks.com/topic/4688-cookie-vs-sessions/page/2/#findComment-22970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.