This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Session Time Out In Admin


  1. glemo
    Member

    I keep getting kicked out of the admin. After a few, i get logged out. And I have to re-enter my user and pass to log back in. Can you please tell me what I need to change in the code to make sure the session last longer?

    Posted 16 years ago #
  2. redityo

    Hi,

    I think you should set expiry of your session cookie, to do so you should edit your "php.ini" file. Search or add this line in there :

    session.cookie_lifetime = 0

    It will set session to not expired before you close the browser


    MachForm Support

    Posted 16 years ago #
  3. glemo
    Member

    I checked that file in ipower and it's already set to zero. Any other suggestion.

    Posted 16 years ago #
  4. yuniar

    Check this setting as well:

    session.gc_maxlifetime

    the default is 1440 seconds, try to increase it to 5000 seconds or so.

    If the problem persist, I suggest to contact iPower support and ask them how to increase PHP session expiry time on their host.


    MachForm Founder

    Posted 16 years ago #
  5. glemo
    Member

    Great thank you. Now I'd like to decrease the address field sizes in the forms. They are too wide. What CSS controls that? I also would like to know the same for the file form I get in email box. How do I decrease the field size?

    Posted 16 years ago #
  6. redityo

    Hi,

    You can add these style in your css form :

    #li_3 {
    width:70% !important;
    }

    Change the number with your address element id.


    MachForm Support

    Posted 16 years ago #

RSS feed for this topic

Reply