Identifying members in protected folders

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
ccs
-


Joined: 02 Apr 2005
Posts: 101

PostPosted: Fri May 19, 2006 4:19 am    Post subject: Identifying members in protected folders Reply with quote

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 View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Fri May 19, 2006 8:58 am    Post subject: Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri May 19, 2006 10:27 am    Post subject: Re: Identifying members in protected folders Reply with quote

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 View user's profile Send private message Send e-mail
ccs
-


Joined: 02 Apr 2005
Posts: 101

PostPosted: Fri May 19, 2006 4:49 pm    Post subject: Re: Identifying members in protected folders Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group