Menu

User does not stay logged in

Help
MikeBert
2005-05-30
2012-10-11
  • MikeBert

    MikeBert - 2005-05-30

    Hello,
    I have phpwiki set up on my local machine (Windows, PHP 4.3.6) and want users to be able to read everything, but require authentication for writing/editing. It works, but unfortunately the login information does not get stored, i.e. upon every single page click (e.g. preview, save, etc.) I have to re-enter the password.

    Somehow I can't find the right search terms for this problem. I guess that the session information somehow doesn't get stored properly.

    I'm - for these first trials - using the "file" storage option.

    thank you for any help,

    Mike

     
    • qwerty2

      qwerty2 - 2005-06-03

      Correction: there should be default .htaccess file. I modified this file to require authentification for specified user. Added .htpasswd containg password for this user.

      It works after restoring original .htaccess and removing .htpasswd.

       
    • qwerty2

      qwerty2 - 2005-06-03

      I had the same problem and fixed it. My situation was:

      PhpWiki was running in virtual host. Access to this virtual host was protected using .htaccess and .htpasswd file due to disabling access until the site is fully configurad. After I signed to phpWiki, and then clicked on any link, I was logged out. After removing .htaccess and .htpasswd files everything seems to be OK for me.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.