开发者

How to check if user is currently logged in Windows?

开发者 https://www.devze.com 2023-01-16 01:19 出处:网络
开发者_JS百科Using Coldfusion 8, how can I check whether window user is currently logged in? I know, I can use cgi.auth_user variable (domain\\username ), however is it always reliable to use?
开发者_JS百科

Using Coldfusion 8,

how can I check whether window user is currently logged in?

I know, I can use cgi.auth_user variable (domain\username ), however is it always reliable to use?

if not, what other ways to check?


IIRC, cgi.auth_user shows the username of a user authenticated via basic authentication. I don't think it supports windows domain connections. Assuming that you are on a windows domain, that should be easy to test -- just dump the cgi scope.

0

精彩评论

暂无评论...
验证码 换一张
取 消