Menu

Asking for user/password on every click.

Help
Terry Yapt
2008-12-18
2013-06-11
  • Terry Yapt

    Terry Yapt - 2008-12-18

    Hello all,

    I have a problem with a new phppgadmin installation.  I can log in without problems but when I click on a database it ask me user/pass again.  I enter it and information is showed to me.  When I click on a table, phppgadmin ask user/pass again.  After that all is ok until a new click on any place.  Then I must enter user/password again, and again, and again.

    Any idea ?

    Greetings.

     
    • J.Guillaume (ioguix) de Rorthais

      Hi,

      It seems to me PPA's ask you for your password again and again cause it couldn't find your PHP session information.

      As the php session ID is usualy stored in cookies, you probably have a problem with them. Check if your browser allow cookies for your phpPgAdmin's domain.

       
    • Nobody/Anonymous

      I'm having the same problems and the cookies are just fine. They are being set.

      So ... any other explanation?

       
      • J.Guillaume (ioguix) de Rorthais

        Hi,

        I understand your cookies are enabled on your browser, but let me explain clearly how it should work.

        As I said, PPA keeps your login information on the server thanks to your PHP session. This way it can find your auth credentials if you are already loged and you don't have to resend them everytime across the network.

        Usualy, PHP handle session with a session key stored in cookies so it can bind your HTTP session to the PHP session (but some PHP setup put this key in the URL as well).

        So, as your cookies are enabled in your browser and are not rejected for PPA, I think your problem could be on the PHP side. Check your PHP configuration about sessions.

         

Log in to post a comment.