Results 1 to 2 of 2

Thread: session vs database

  1. #1
    vbnick is offline VB.NET Forum Newbie
    .NET Framework
    .NET 1.1 (VS 2003)
    Join Date
    Jun 2006
    Posts
    1
    Reputation
    0

    session vs database

    I am a developer for a very big B2B application. I would like to have some ideas from you people about session management. What I would like to ask you that i am making a shopping basket and i would like to save what it contains. When considering perfonmance, which one is better, sessions, cookies, or database?

  2. #2
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,203
    Reputation
    2369
    memory (server session) is faster than file storage (client cookie, server db), but memory is very expensive to use and possibly impossible to serve with the traffic at hand.

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
  •  
Harvest time tracking