[pmwiki-users] Custom Cookie Name does not prevent re-entering Author name at each EDIT?

Patrick R. Michaud pmichaud at pobox.com
Thu Oct 20 12:27:09 CDT 2005


On Thu, Oct 20, 2005 at 06:54:20PM +0200, Xax wrote:
> Xax said the following on 20/10/2005 17.13:
> >Neil Herber said the following on 20/10/2005 16.51:
> > > A $CookiePrefix variable has been introduced; a wiki administrator can
> >
> >>set $CookiePrefix to prevent PmWiki's cookies from interfering with 
> >>cookies set from other applications under the same domain name.
> >
> >
> 
> 1. I resumed the original un-modified /scripts/author.php
> 2. I added the line:
> 
> 	$CookiePrefix = 'hygguide';
> 	to the /local/config.php
> 
> Now the Author name stays in the text field only if I "SAVE AND EDIT", 
> but if I SAVE, I view the page and then I EDIT it again the Author text 
> box is empty and I have to fill-in the name again.
> 
> Is this the correct behaviour?

Once you enter an Author name, it's supposed to remain in effect
until you use ?action=logout or change it somehow.  So if it's not
doing that, there must be something else going on.  Perhaps a problem
with a skin, a browser setting, or a domain name issue.

Can you check your browser's cookies and see if there's a setting
for 'hygguideauthor'?  If not, then the cookie isn't being set for
some reason.

Is there a url we can look at?

Pm




More information about the pmwiki-users mailing list