am_session

Discussion in 'Troubleshooting' started by jchirag0221, Nov 9, 2015.

  1. jchirag0221

    jchirag0221 aMember Pro Customer

    Joined:
    Mar 29, 2015
    Messages:
    4
    Hi,

    I have been using amember and I am trying to export the complete amember setup to another hosting.

    however, while exporting the current amember database I am getting connection lost error while exporting am_session table. Because it has around 163k lines.

    What this table is used for ? Can I delete all the data from this table? Will it cause any issue.

    Thanks
  2. jenolan

    jenolan aMember Coder

    Joined:
    Nov 3, 2006
    Messages:
    493
    You should be able to copy an empty table across, all users will need to re-login obviously.
  3. jchirag0221

    jchirag0221 aMember Pro Customer

    Joined:
    Mar 29, 2015
    Messages:
    4
    Thanks.. I will try with an empty table.
  4. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,689
    Also please check php.ini setting session.gc_probability I guess garbage collection for session is disabled on your server.
    You can check it at
    aMember Cp -> Utilities -> System Info

Share This Page