Tags:
create new tag
, view all tags

Question

I'm able to register a user and authenticate this user (correct password is accepted, wrong is discarded), but after processing login-page, I'm still TWikiGuest - why?

Not that I didn't find a rpm for CGI::Session (this is the only CPAN-module missing), so I disabled {UseClientSessions}. Other settings are {LoginManager} = TWiki.Client.TemplateLogin and {PasswordManager} = TWiki.Users.HtPasswdUser

Seems like CGI::Session must be in place, but TWiki-documentation says that it optional but not necessary! Who is right?

Some additional information:

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SuSE 9.1
Web server: Apache2
Perl version: 5.8.3
Client OS: SuSE 9.1
Web Browser: Firefox 1.5
Categories: Authentication

-- TWikiGuest - 06 Jul 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Please check AuthenticatedButStillTWikiGuest, this should supply the answer to your question. In short: You need sessions to have TWiki remember who you are.

-- HaraldJoerg - 06 Jul 2006

Thanks Harald for your help. I switch to ApacheLogin, an now Authentication is remembered. This means that I can now edit topics as logged in user, but the variable %TWikiUser% still returns TWikiGuest. I use SuSE 9.1 and didn't find a RPM for CGI::Session. As I'm not a perl and compilation guru and don't have sources installed on my machine, can anybody tell me where to get a appropriate RPM to use session-support.

-- AlexanderScholler - 07 Jul 2006

You could consider simply installing CpanContrib to make sure all needed CPAN libraries are in place (if you are not too fond of SuSE's package management).

-- SteffenPoulsen - 07 Jul 2006

Thank you Steffen, I didn't know this package

-- AlexanderScholler - 07 Jul 2006

 
Topic revision: r5 - 2006-07-07 - AlexanderScholler
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.