Jump to content

Recommended Posts

as a note:

 

 

setcookie('k',$k+1,time()-1);

 

setting the expire time to 0 makes it a browser session cookie, lasting forever, until the browser is closed. but setting the expire time to 1 is the lowest timestamp possible and is most likely to expire the cookie without any problems.

OK .. thats doesn't make much sense to me, MD5 can't be "decrypted"

 

storing the username for use on the login screen is fine.. password well a litte 2way encryption is always an idea but that can be reversed.

 

simple idea.. would be to store the hashed password and on the login if the password is 32 char then don't MD5 it.. your have to put a password limit of 31 chars..

 

just an idea personally i wouldn't store the password in any format in a cookie

 

anyways thats for another thread lol

 

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.