Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

user.Username no longer functioning

Quote Reply
user.Username no longer functioning
Hi all,

Is anyone else seeing this?

Dynamic pages (search.cgi, add.cgi etc.) are no longer recognising the user.Username conditional so the Login/Register link always shows.

<%if user.Username%>
<a href="/cgi-bin/user.cgi?logout=1">Logout</a>
<%else%>
<a href="/cgi-bin/user.cgi">Login/Register</a>
<%endif%>

This is happening on a couple of my GLinks sites. I've tried rolling back Updates to find what triggered this without success.

Thanks,

Charlie



Comedy Quotes - Glinks 3.3.0, PageBuilder, StaticURLtr, CAPTCHA, User_Edit_Profile

Quote Reply
Re: [Chas-a] user.Username no longer functioning In reply to
If that's happening then their session must be getting lost. Is this happening consistently? If so, can you send me admin panel access to take a look? Thanks.

Adrian
Quote Reply
Re: [brewt] user.Username no longer functioning In reply to
Started working again after I logged out and in again.

I'm using cookies to track if members are logged in and have changed to code that sets the cookie to expire after 30 days.

As the static pages of my site uses PHP to check for the cookie this is probably something to do with the way PHP handles expired cookies compared to Perl.

thanks anyway Adrian.



Comedy Quotes - Glinks 3.3.0, PageBuilder, StaticURLtr, CAPTCHA, User_Edit_Profile

Last edited by:

Chas-a: Apr 20, 2006, 3:03 AM