Re: Logged-in user is shown as not logged in

Jack Catchpoole <[email protected]> Thu, 11 Nov 2004 15:10:59 +0100
Newsgroups gmane.comp.java.netbeans.webteam
Message-ID <[email protected]>
Hello,

Peter Nabbefeld wrote:
> when I log in, normally the text "logged in as ..." is shown. When I 
> browse cvs, the login-box is shown as if I'd not be logged in. However, 
> I remain logged in and can access IZ etc. The only problem here is the 
> wrong display, probably based on a missing or buggy query.

Thanks for the report.  Unfortunately, I'm not sure how to fix
this.  Here's the problem page :

   http://www.netbeans.org/download/source_browse.html

Note this is in download/ - this is a special directory which
is not served by SourceCast, the app that runs nb.org.  Hence
content here is static, plain html, and does not have access
to the same environment variables that pages served by SourceCast
do.  So that page can't "see" the user's login status.

Note that once you pick a project to browse, you jump out of the
download/ dir, and everything works as normal, eg :

   http://www.netbeans.org/source/browse/a11y/

I'll look around, but I can't see any way around this ...  
Inelegant soloution - simply remove the login box completely
from that page.  Maybe better to have no info than wrong info ?
What do you think ?

-- 
Jack Catchpoole
NetBeans/Sun Microsystems
http://www.netbeans.org/