Hi Patrick,
One difference that I saw in the session file is that the session file created 
with the older version(working fine) has password embedded in it where as the 
newer one(not working fine) has no password string in it.
This might be the reason that it is prompting me for the password again and 
again.
Is there any way I could make sure the session file gets the password?
Thanks,
Abhi.
________________________________________
From: Patrick R. Michaud [pmich...@pobox.com]
Sent: Tuesday, April 12, 2011 6:44 PM
To: Abhishek Gupta
Cc: Peter Bowers; pmwiki-devel@pmichaud.com
Subject: Re: [pmwiki-devel] asks password everytime i click edit

On Tue, Apr 12, 2011 at 06:21:51PM -0400, Abhishek Gupta wrote:
> Hi Peter,
> The two version are 2.1.27 and 2.2.25.
> I do not have two different versions on php running.
> apache and php are run by same user.

Check the ownership of the files in the two wiki.d/ directories.
If the files have different ownerships, then PHP is running
under different userids and there's a conflict with sessions
between the two sites.

Also look to see if the files in /var/lib/php/session are all
owned by the same user ("nobody" or "apache") or if they're all
different.

You could also try setting each wiki to have it's own session ID --
at the very beginning of local/config.php, add

    session_name('TestDR');

This will cause the two wikis to use separate cookies for each wiki's
session.

Pm

_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to