List:General Discussion« Previous MessageNext Message »
From:Daevid Vincent Date:June 15 2003 3:30am
Subject:RE: PHP, MYSQL and persistant authentication
View as plain text  
Use sessions in PHP (super simple, just call session_start() at the top
of every page i.e. like in an include file) and use
$_SESSION['loginname']

I would strongly recommend using mod_auth_mysql for your authentication.
It's easy and probably more secure than anything you can write ;-) Plus
it lets users bookmark pages without you having to handle that sort of
thing.

> -----Original Message-----
> From: sgannon60 [mailto:sgannon60@stripped] 
> Sent: Friday, June 13, 2003 5:08 PM
> To: mysql@stripped
> Subject: PHP, MYSQL and persistant authentication
> 
> 
> Hi,
> Does anyone know of a good tutorial on setting up a login 
> page, and passing
> the login primary key to other pages so that other tables 
> will be able to
> refernce the unique login
> 
> thanks
> steve
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    
> http://lists.mysql.com/mysql?> unsub=daevid@stripped
> 

Thread
underscore character?Chris Webster11 Jun
  • RE: underscore character?David Shelley11 Jun
  • PHP, MYSQL and persistant authenticationsgannon6014 Jun
    • RE: PHP, MYSQL and persistant authenticationDaevid Vincent15 Jun
    • Re: PHP, MYSQL and persistant authenticationKamara Eric R-M16 Jun
  • Re: underscore character?Becoming Digital14 Jun
    • Re: underscore character?Chris Webster14 Jun
RE: PHP, MYSQL and persistant authenticationOw Mun Heng16 Jun