Jump to content

Cookie Vs Sessions


master82

Recommended Posts

[!--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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.