PHP Classes

What is the best PHP session class?: Handle session variables.

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP session class?  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP session class?

Edit

Picture of Aiyyappan by Aiyyappan - 9 years ago (2015-06-11)

Handle session variables.

This request is clear and relevant.
This request is not clear or is not relevant.

+3

I would like to get a recommendation on classes to handle session variables.

  • 1 Clarification request
  • 1. Picture of Manuel Lemos by Manuel Lemos - 9 years ago (2015-06-12) Reply

    There are many session classes for any purposes.

    What specifically do you want the class to do with session variables?

    Ask clarification

    2 Recommendations

    Session Store: Store and retrieve sessions as arrays of values

    This class can store and retrieve sessions as arrays of values.

    It can take on more strings of session data and add them to an array that is stored in a session variable.

    The data values can be appended to the array or added with a specific array index value.

    The class can also retrieve the array of values previously stored in that session variable or just specific values with given index keys values.

    It can also check of any data values were added to the session variable, as well reset the session variable.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +2

    Picture of Anthony Amolochitis by Anthony Amolochitis package author package author Reputation 505 - 9 years ago (2015-06-26) Comment

    Well, if you are trying to store values in sessions, I have been using this class for a while now to store any values I need into session. It's very simple and does two things. Store and retrieve data.Hope this helps. The example usage is on the page.


    Session class: Session management wrapper class

    This class is a simple wrapper around session management functions of PHP.

    It lets you load session values, set a value, retrieve a value, remove a value and destroy the current session.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +3

    Picture of Dave Smith by Dave Smith Reputation 7620 - 9 years ago (2015-06-11) Comment

    Most classes are built with a purpose,like helping with managing sessions in a database or to securely manage user data in sessions. Since your request was wanting to handle the broad range of session variables, this is a simple wrapper that will do it.


    Recommend package
    : 
    :