Received: (qmail 28613 invoked by uid 2012); 6 Apr 1999 11:38:35 -0000 Message-Id: <19990406113835.28612.qmail@hyperreal.org> Date: 6 Apr 1999 11:38:35 -0000 From: Welsch Reply-To: jochen.welsch@daimlerchrysler.com To: apbugs@hyperreal.org Subject: getting username after login X-Send-Pr-Version: 3.2 >Number: 4201 >Category: mod_access >Synopsis: getting username after login >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: support >Submitter-Id: apache >Arrival-Date: Tue Apr 6 04:40:01 PDT 1999 >Last-Modified: Tue Apr 6 07:22:33 PDT 1999 >Originator: jochen.welsch@daimlerchrysler.com >Organization: >Release: 1.3 >Environment: AIX >Description: There are some documents which are accessed after the right username and password are given. How can I access the username in the .htaccess, so that after a correct login the username will automatically be inserted in all of the documents which the user will then use? >How-To-Repeat: Suppose I have a web mail account as mukoma@.... then after a successful login I get something like "3 unread messages for mukoma " Or when I log out I get something like "mukoma logged out" >Fix: No >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Tue Apr 6 07:22:32 PDT 1999 State-Changed-Why: This is not the appropriate place for asking such questions. It is nonsensical to just say "I want the name to be inserted" without saying exactly how you are generating dynamic content. If it is CGI or SSI, then you can use the REMOTE_USER environment variable. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]