Zubrag.com
January 19, 2018, 11:36:26 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Cookie fails to set  (Read 1976 times)
intrepid
Newbie
*
Posts: 4


« on: May 27, 2012, 11:55:04 AM »

Logon is good, but Cookies fail to set on data from mySQL, so keep needing to logon on each page :-
$LOGIN_INFORMATION[addslashes(strtolower($row['name']))] = $row['password'];

Cookies work just fine on, no need for repeated logons with:-
$LOGIN_INFORMATION = array(
'zubrag' => 'root',
'test' => 'testpass',
'admin' => 'passwd'
);

So what needs recoding to debug the data from mySQL?

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC