[dokuwiki] Re: separate cookies for multiple wikis on the same site

  • From: "Sameer D. Sahasrabuddhe" <sameerds@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 27 Jun 2005 23:18:33 +0530

On Mon, Jun 27, 2005 at 07:34:39PM +0200, Andreas Gohr wrote:

> > But $conf['title'] itself isn't so reliable ... people might not
> > bother to change the title at all,
> 
> Well people who don't bother to change a simple config option aren't
> entitled to submit bugs anyway ;-)
> 
> > or might happen to use the same title!
> 
> Okay, could you explain why I would like to have two or more wikis
> with the same title?

That's unlikely only in a single-domain-single-user scenario ... what
about a large site like a university, with lots of users and projects
given accounts under the same domain? I might be working with two
groups, each with its own wiki ... if they both decide to call it
"Project Notes", it would be rather hard for me as Ordinary Joe to
figure out what the hell is happening! The problem is that browsers
use only the domain name to lookup cookies ...

> > It's basically user-level data, and should not be used for
> > internals.

That's the idea to focus on ... at least it falls in my personal
definition of "good design".

> There were cases were this var wasn't set correctly or not at all on
> some weird setups (other webservers with PHP as CGI if I remember
> correctly)

Dunno ... those setups would have to be so wierd, all kinds of PHP
scripts will fail on them due to lack of really basic constants like
SCRIPT_NAME. I would say your comment about "not entitled to submit
bugs" is far more appropriate for these setups ;)

Sameer.
-- 
Research Scholar, KReSIT, IIT Bombay
http://www.it.iitb.ac.in/~sameerds/
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: