[pmwiki-users] CleanUrls/mod_rewrite in subwiki's

Dawa Ometto dawa.ometto at phil.uu.nl
Mon Mar 15 12:00:25 CDT 2010


On Mar 15, 2010, at 4:56 PM, Petko Yotov wrote:

> From http://php.net/session_name :
>
>  The session name [...] should contain only alphanumeric characters.  
> [...]
>  The session name can't consist of digits only, at least one letter  
> must be
>  present.

Figures - makes sense now that I think of it.

> However -- your problem with auth sessions might be fixable by just  
> setting a
> unique $CookiePrefix variable in the field.

It's ok, I now use a different way to generate a unique string. I want  
to be able to automate the creation of new subwiki's, that's why I  
thought of using something like a timestamp.

> I am actually not certain that PmWiki would work correctly with  
> forced session
> names like yours, but it might.

Works like a charm! Actually, I was told to do so by the AuthUser page:

http://www.pmwiki.org/wiki/PmWiki/AuthUser (Authorization, Sessions,  
and WikiFarms)

Thanks for the pointers though.

Cheers,

Dawa Ometto

--
Helpdesk Wijsbegeerte
http://helpdesk.phil.uu.nl
Bestuursgebouw, kamer 187
Tel. (030-253)7779, bgg 2817




More information about the pmwiki-users mailing list