Welcome Guest, Not a member yet? Register   Sign In
Is storing md5 password in a cookie unsafe?
#11

[eluser]Kraig[/eluser]
Thanks for your help!!
#12

[eluser]Kraig[/eluser]
Do you know why this isn't working...I'm not sure if I'm getting the value of rmt which is the hashcode

Code:
// Login with cookie
  elseif ( $CI->input->cookie('rmt') ) // If cookie exists
  {
    $hashcode = $CI->input->cookie('rmt'); // Value of cookie
    $q = $CI->membership_model->validateLoggedIn($hashcode);
#13

[eluser]Kraig[/eluser]
I got it...I had set the cookie to secure, and for some reason I couldn't access it even though it said script accessible. Once I took that out it worked like a charm!!
#14

[eluser]InsiteFX[/eluser]
Ya, the secure id used only for https:// connections.




Theme © iAndrew 2016 - Forum software by © MyBB