View previous topic :: View next topic |
Author |
Message |
ccs -
Joined: 02 Apr 2005 Posts: 101
|
Posted: Fri May 19, 2006 4:19 am Post subject: Identifying members in protected folders |
|
|
I've finally written a program to manage my user accounts for protected areas (using Abyss's Users and Groups functionality) but one thing I really need is a way to access the ID of the person(s) logged in. Does/can Abyss set a cookie or something so I can identify the persons in my scripts?
It seems rather lame to have someone log into a protected area and then ask them for their user name when they fill in a form, etc. |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri May 19, 2006 8:58 am Post subject: |
|
|
Abyss uses basic HTTP auth, which is handled by the users web browser. If you want a cookie based login scheme, you'll have to use a users/groups system written in the scripting language of your choice...
The access.log file does log users/IPs but I wouldn't recommend attempting to parse it as a reliable post log in tool... _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri May 19, 2006 10:27 am Post subject: Re: Identifying members in protected folders |
|
|
ccs wrote: | I've finally written a program to manage my user accounts for protected areas (using Abyss's Users and Groups functionality) but one thing I really need is a way to access the ID of the person(s) logged in. |
This information is available in the CGI environment variable AUTH_USER ( http://www.aprelium.com/data/doc/2/abyssws-win-doc-html/cgivars.html ). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
ccs -
Joined: 02 Apr 2005 Posts: 101
|
Posted: Fri May 19, 2006 4:49 pm Post subject: Re: Identifying members in protected folders |
|
|
aprelium wrote: | ccs wrote: | I've finally written a program to manage my user accounts for protected areas (using Abyss's Users and Groups functionality) but one thing I really need is a way to access the ID of the person(s) logged in. |
This information is available in the CGI environment variable AUTH_USER ( http://www.aprelium.com/data/doc/2/abyssws-win-doc-html/cgivars.html ). |
Duh, why didn't I think to check that! Perfect. Thanks! |
|
Back to top |
|
 |
|