Logout not displaied when loged in without cookies

General discussions here

Logout not displaied when loged in without cookies

Postby bgshea on Mon Nov 28, 2005 2:09 am

Please change section on 552 of include.php to this
// If a user is logged in, display logout text
if( isset($_COOKIE["usr"]) )
{
if( $_COOKIE["usr"] != "|" )
{
echo '<table align="right">';
echo '<tr>';
echo '<td><a href="index.php?do=logout">' . _MSGLogout . '</a></td>';
echo '</tr>';
echo '</table>';
}
elseif( isset($_SESSION["usr"]) )
{
echo '<table align="right">';
echo '<tr>';
echo '<td><a href="index.php?do=logout">' . _MSGLogout . '</a></td>';
echo '</tr>';
echo '</table>';
}

quick dirty fix for logout.
bgshea
Avarage
 
Posts: 19
Joined: Sun Nov 27, 2005 6:57 pm
Location: Earth

Postby matthewh on Thu Mar 22, 2007 4:23 pm

I don't have a logout anyway - how do I get logged in as a different user? Even logging in from another part of the country gives me the same screen and rights - how do I get logged in as a different user?
matthewh
New
 
Posts: 3
Joined: Thu Mar 22, 2007 4:02 pm

Postby mmeckelein on Mon Mar 26, 2007 11:32 am

Hello,

Did you enable the user interface during setup of phplogcon? Please check the define('_ENABLEUI', 1); line in your config.php. Is it set to 0 or 1?

Michael
mmeckelein
Adiscon Support
 
Posts: 167
Joined: Wed Mar 12, 2003 12:07 pm

Postby matthewh on Tue Mar 27, 2007 5:33 pm

Working ok now.
matthewh
New
 
Posts: 3
Joined: Thu Mar 22, 2007 4:02 pm

Postby mmeckelein on Wed Mar 28, 2007 10:17 am

Great :D

BTW: I have implemented this fixe in the current cvs version.
mmeckelein
Adiscon Support
 
Posts: 167
Joined: Wed Mar 12, 2003 12:07 pm

Postby micoots on Tue Aug 21, 2007 6:43 pm

Hi,

mmeckelein wrote:Great :D

BTW: I have implemented this fixe in the current cvs version.


Any ideas when the next "stable" version will be made available?

The reason I ask is that I have the ENABLEUI set to 1 and never see a "logout" button when logged in.

I have also tried the "patch" above replacing the line 552 information with the above, and it doesn't seem to do anything. I still see no logout link.

Thanks.

Michael.
micoots
Avarage
 
Posts: 11
Joined: Wed Aug 08, 2007 1:47 am

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron