× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I came up dry on REMOTE_USER as well. It's got to be in there somewhere because the log files show the user.

Haas, Matt (CL Tech Sv) wrote:
REMOTE_USER will only be populated for resources that are protected with basic authentication. There should not be a problem accessing it from PHP as long as you remember to password protect the scripts. How the passwords are physically stored has no impact on this being set or not since the client sends the information as an HTTP header in the request.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Nathan Andelin
Sent: Thursday, March 19, 2009 7:57 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Environment Variables


Under Apache, try REMOTE_USER, which should be valid for non-SSL and SSL. Of course, REMOTE_USER might also come up blank if the user is accessing a resource that doesn't pass through an Apache login prompt.

If you're trying to access REMOTE_USER from PHP, all bets are off. Can validation list users be referenced from PHP?







----- Original Message ----
From: Wayne McAlpine <wayne.mcalpine@xxxxxxxxxxxxxxxxx>
To: web400@xxxxxxxxxxxx
Sent: Thursday, March 19, 2009 4:51:53 AM
Subject: [WEB400] Environment Variables

I'm trying to retrieve the user name of a user who signed on to a web page from a validation list but I can't find the right environment variable that contains this information. LOGON_USER sounded like a good candidate, but it comes up blank. Can anyone steer me to the right one to retrieve? BTW, this is an SSL connection.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.