SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Free Geek computerages's Avatar
    Join Date
    Oct 2004
    Location
    /dev/null
    Posts
    1,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy storing preferences for different users

    Hello, SitePointers,

    I want to store settings for different users for a web portal system. These settings can be such as what modules to be displayed on home page, for example. I am considering the following options:

    1) Using cookies (not very feasible; settings need to be remained intact if a user is accessing the portal from a different computer)
    2) Using sessions (similar restrictions apply as cookies)
    3) Using dummy files on the server (any problems?)
    4) Using database (any problems?)

    I would appreciate if you guys can share your insights with me. Also, please do let me know if you want me to clarify anything.

    Thank you!

  2. #2
    SitePoint Evangelist simshaun's Avatar
    Join Date
    Apr 2008
    Location
    North Carolina
    Posts
    438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Database... you shouldnt have any problems.

  3. #3
    SitePoint Addict ArunB's Avatar
    Join Date
    Jun 2008
    Location
    Hyderabad
    Posts
    252
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Go for Database, best way of doing it. I think most of us use Database rather than files.

    If the preferences/settings are to be stored for that computer (like Remember on this computer checkbox), go for Cookies.


Tags for this Thread

Bookmarks

Posting Permissions

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