Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2007
    Thanked 0 Times in 0 Posts

    storing lots of user data in session. good idea?

    Hi I am writing a PHP mySQL website which has personal user pages where the user can put a lot of info. The info is in sections over several pages. I am considering having the program do an sql query at the start of a session and storing it all in a session array, rather then doing a new sql query each time the user views a different page.
    I just want to avoid making a new query to the server as it could work out as a lot of queries for each user visit as they look at the different pages.
    Does anyone have an opinion on whether this is a good idea or not or see any potential problems.

  • #2
    Join Date
    Apr 2007
    Thanked 5 Times in 5 Posts
    this forums has 10 cookies for storing user data


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts