1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Databased session (or cookie) and memory consumption

Discussion in 'PHP' started by screenmates1, Apr 15, 2006.

  1. #1
    If I store large text values in session that in turn saves it to a database (save_handler) or cookie, does it affect the memory used by the server? Do the text values stay in server memory (session) along with the database or just the database? In case of storing in cookies, do the text values stay in server memory (cookie) or just the client? I heard we need to be mindful of what we store in session/cookie but could not find enough documentation as for the above.

    screenmates1, Apr 15, 2006 IP