开发者

How to check if user is currently logged in Windows?

开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜