3 replies
well i solved this. not sure how to delete but thanks for the pms.
#php #sessions
  • Profile picture of the author alphonse
    Session data is stored on the server. The data that you save by using $ _SESSION is not accessible to the client. The only travel to client and from client to server, is a unique identifier that links the customer with the correct data. So there is no direct way to hack a user session data.

    I am not sure what you think of the hash is not routine, but I suspect that it can improve security. Since most of the data, the greatest risks are those of security created by you. SQL injection, where you can Google is the biggest threat to any other person to use the database. Are simple ways to protect against it.
    {{ DiscussionBoard.errors[2335847].message }}
    • Profile picture of the author Sanchez
      Sessions are used to store information that can be used in the application for the duration of the user logs on or run the application. Each time a user visits your site, you can create a session for that user to store information about that user.
      {{ DiscussionBoard.errors[2359982].message }}
  • Profile picture of the author godwinsam

    Here I have mentioned the php functions for delete or destroy the session variables,
    Please find it. I think, these information are very useful for you..

    // you have to open the session to be able to modify or remove it

    // or this would remove all the variable in the session

    //destroy the session
    {{ DiscussionBoard.errors[2372751].message }}

Trending Topics