OK, after looking at the problem more I found out thatDrupal knows the user <br>but I have added a block with the following code to display the users name:<br><?php global $user; <br>if ($user->uid) <br>{ <br> print(t('Welcome <b>'));<br>
<br><b> print (t($user->name)); </b><br> print (t('</b>')); <br>}else {<br>?><br> <a href="<?php print base_path() ?>user/" >Log in / register</a><br><?php } ?><br>
<br>the statement "print(t($user->name));<br>Is the one that is at fault. Some how it displays other users name but when I go<br>to the <a href="http://www.drupal/user">http://www.drupal/user</a> link the account is the correct user and the block is <br>
still displaying someone else.<br><br>I will try displaying the _SERVER["REMOTE_USER"]<br><br>:-)<br><br><div class="gmail_quote">On Mon, Nov 30, 2009 at 8:54 AM, Metzler, David <span dir="ltr"><<a href="mailto:metzlerd@evergreen.edu">metzlerd@evergreen.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">I'd check session/cookie settings to make sure you
understand how long these sessions are supposed to last. It's possible
that you're drupal session is outlasting your browser session. Also, verify that
this behavior exists even after you explicitly click the logout link in drupal
(that should eliminate this as a problem). </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">webserver_auth doesn't do anything if the user is already
logged into drupal, and the default drupal install often leaves you logged in
across browser sessions. (Depending on your php.ini settings of course).
</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org</a>
[mailto:<a href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org</a>] <b>On Behalf Of </b>Néstor<br><b>Sent:</b>
Monday, November 30, 2009 8:43 AM<br><b>To:</b> <a href="mailto:support@drupal.org" target="_blank">support@drupal.org</a>;
<a href="mailto:drupal@lists.nyphp.org" target="_blank">drupal@lists.nyphp.org</a><br><b>Subject:</b> [support]
webserver_auth<br></font><br></div><div><div></div><div class="h5">
<div></div>I am using the webserver_auth module with drupal 6.12 / Apache 2.2 in
a windows 2003 server<br>to take advantage of the NTLM and Active Directory in
windows and automatically sign in the <br>user when they access our local
intranet site.<br><br>I look at the phpinfo.php page and it knows each different
user when I take<br>a look at _SERVER["REMOTE_USER"] and REMOTE_USER <br><br>The
weird thing is that when I access the site it knows me 'user20'.<br>But when
user1 access the site it recognizes 'user1'<br>but when 'user2' or 'user3' or
any other user after that access the intranet site, <br>it logs other users as
'user1'<br>I go back and access the intranet site and it still knows me as
'user20'<br><br>I have not done anything special to tell drupal that 'user20' is
special.<br><br>I do not understand, I had this working last month and then I
re-installed the module and <br>it is not working now.<br><br>PHP knows who the
user is but Drupal automatically sign on users as the first 'user1'<br><br>The
only differences between user20 and any other user is that user20 is the main
admin user<br>but why does it treats all other users as the same
user?<br><br>Any ideas?<br><br>Thanks,<br><br>Néstor
:-)<br><br><br></div></div></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>