request.auth_user

forum.centura.web.developer (2000-2005) & forum.td.web (2005-2010)
NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

request.auth_user

Post by NewsgroupServer » 04 Mar 2004, 14:55

 Posted by:  Dave Seay 

In an effort to replace and old LiveWire program we have running on our
corporate server, I need access to the login id (not password) used to gain
access to a secure page. In looking at the old JS code, I noted that they
used...
var sLogin = request.auth_user

Any idea on how I can do this with Web Developer?

Thanks,
Dave

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

request.auth_user

Post by NewsgroupServer » 04 Mar 2004, 16:12

 Posted by:  Dave Seay 

I tried...

Call WebGetServerInfo(WEB_INFO_USER_ID, sReceiveValue)
Call WebGetServerInfo(WEB_INFO_PAGE_SERVER_NAME, sReceiveValue)
Call WebGetServerInfo(WEB_INFO_USER_AGENT, sReceiveValue)
Call WebGetServerInfo(WEB_INFO_CONNECTION_ID, sReceiveValue)

I got values for the Agent and the Connection ID but nothing for the User ID
or Server name.

Dave

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

request.auth_user

Post by NewsgroupServer » 04 Mar 2004, 16:19

 Posted by:  Charles McLouth 

In short, what you are trying to do cannot be done. The information you are
trying to obtain is not transported from the Gupta Web Server Interface to
the WAM Server or WAM Service Instances.

charlie

Return to “td.web”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests