Tags:
create new tag
view all tags

Question

WIKINAME (TWikiGuest) always shows up as TWikiGuest, even though I have to log in to edit the page to type it:

  • choose edit page
  • login as FooBar
  • put WIKINAME variable in
  • save it

'TWikiGuest' shows up, but I would expect 'FooBar' to be the wiki name.

It shows that the page was edited by FooBar, and it doesn't ask for authentication if I edit the page again (implying I'm already logged in)

Does anybody know why this happens?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Red Hat Linux release 8.0 (Psyche)
Web server: 1.3.33
Perl version: v5.8.0
Client OS: Windows XP
Web Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Categories: Authentication, Missing functionality, Browser Issue

-- TWikiGuest - 11 Feb 2005

Answer

view is not authenticated, so the server doesn't ask who you are when you view a page. If you change view in the URL to viewauth then WIKINAME should reflect your login name.

Does that make sense to you?

-- MattWilkie - 12 Feb 2005

What you see is expected behaviour of BasicAuthentication when the view script is not authenticated. If you want to have the user recognized in view, you can add the view script to the authenticated scripts (with some drawbacks). Alternatively use session tracking. This can be done with partial authentication (see TWikiUserAuthentication), or with cookie based session tracking (with a session Plugin).

-- PeterThoeny - 12 Feb 2005

If I change view to 'viewauth' it works, but as soon as I click on any link it goes back to the 'view' script for that page. Is that correct behavior?

Is tracking by IP address the only way to get this work? Or am I supposed to copy viewauth to view for this to work site-wide?

Thanks for the answers, and your time.

-- AaronBrady - 14 Feb 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-02-14 - AaronBrady
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.