Re: [PHP] php .htaccess autologin

2003-12-12 Thread Eric Bolikowski
Justin Patrin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jas wrote: Combination of session vars and cookie vars... example... [login page] sets cookie with auth=0 (variable) sets session with auth=0 (variable) [logged in page(s)] sets cookie with auth=1 (variable

[PHP] php .htaccess autologin

2003-12-11 Thread ROBERT MCPEAK
I've dug around quite a bit and can't figure out how I might use PHP to handle an .htaccess login. For example, if I wanted a script to log in the user, rather than the user logging in with the standard .htaccess dialog. Any ideas? Since the .htaccess vars are stored in the browser, should I

Re: [PHP] php .htaccess autologin

2003-12-11 Thread Evan Nemerson
On Thursday 11 December 2003 04:17 pm, ROBERT MCPEAK wrote: I've dug around quite a bit and can't figure out how I might use PHP to handle an .htaccess login. For example, if I wanted a script to log in the user, rather than the user logging in with the standard .htaccess dialog. Any ideas?

Re: [PHP] php .htaccess autologin

2003-12-11 Thread Jas
Combination of session vars and cookie vars... example... [login page] sets cookie with auth=0 (variable) sets session with auth=0 (variable) [logged in page(s)] sets cookie with auth=1 (variable -client side) sets session with auth=1 (variable -server side) hash of users password as client side

Re: [PHP] php .htaccess autologin

2003-12-11 Thread Justin Patrin
Jas wrote: Combination of session vars and cookie vars... example... [login page] sets cookie with auth=0 (variable) sets session with auth=0 (variable) [logged in page(s)] sets cookie with auth=1 (variable -client side) sets session with auth=1 (variable -server side) hash of users password as