how to get logon_user or auth_user or remote_user

 
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP
View previous topic :: View next topic  
Author Message
perryhugo
-


Joined: 29 May 2007
Posts: 3

PostPosted: Tue May 29, 2007 8:44 am    Post subject: how to get logon_user or auth_user or remote_user Reply with quote

<%Response.Write(Request.ServerVariables("logon_user"))%>
<%Response.Write(Request.ServerVariables("remote_user"))%>
<%Response.Write(Request.ServerVariables("auth_user"))%>

all do not work. how do i get any of these values. i need them to allow/restrict users. thanks in advance.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue May 29, 2007 5:53 pm    Post subject: Re: how to get logon_user or auth_user or remote_user Reply with quote

perryhugo,

The script should be password protected or in a password protected directory to have these variables set.

Using Console > Hosts - Configure > Access Control to create new password protection rules.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
perryhugo
-


Joined: 29 May 2007
Posts: 3

PostPosted: Wed May 30, 2007 2:33 am    Post subject: Reply with quote

i'm looking for a way to restrict/allow users to access database records (not on folders/paths) based on their logon names. IIS shows logon_user, auth_user, and remote_user. abyss+ahtml runs well except for its inability to show logon names via asp.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Jun 27, 2007 10:15 pm    Post subject: Reply with quote

perryhugo,

The question is how IIS is getting these information and which users are you referring to (operating system users or web server users)? If they are the operating system users, there is no way for Abyss Web Server to know about them since its password protection system is independant from Windows' users accounts database.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
perryhugo
-


Joined: 29 May 2007
Posts: 3

PostPosted: Thu Jun 28, 2007 4:37 am    Post subject: Reply with quote

i refer to intranet users (nt authenticated). auth_user or logon_user have null value with abyss+ahtml. IIS returns the domain login names.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Jun 28, 2007 10:28 am    Post subject: Reply with quote

perryhugo wrote:
i refer to intranet users (nt authenticated). auth_user or logon_user have null value with abyss+ahtml. IIS returns the domain login names.


IIS can use NT authentication. Abyss Web Server does not support it.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP 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