Results 1 to 4 of 4
  1. #1
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Definition of Sessions?

    I had a client ask me a question I couldn't quite answer simply, so I cam here to seek help (as usual!)

    What are sessions (in laymans terms)?



    thank you,

    betty

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: Definition of Sessions?

    In effect, they are what they say they are - visitor sessions.

    With many content sites such as e-commerce, it's vital that the server keeps track of what a user is doing, particularly actions that are UNIQUE to that user (filling a shopping cart, sending payment details over the www, etc).

    So, when a user starts to do things on the site that require such tracking, the server (software) sets a Cookie on the user's machine and allocates a unique session ID number.

    Remember that the server is a busy place - in some webshops (Tesco) there's a paid transaction every 1.5 seconds on average (24 hours a day).

    So, in order for the server to track all this activity and make absolutely sure that data is going to the right place, it allocates a session ID to the user.

    This is not "malicious" behaviour (setting such cookies), but an essential part of the data transfer and capture process.
    20 years a Zencart User

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Definition of Sessions?

    The internet was designed in a way like this:
    1. You call me and say hey
    2. I reply hey
    3. You call me again and ask "remember me? I just called you"
    4. I say: no, I dont know who you are at all
    (me = server)

    Session in short is a way to get around this, so that I can have a way to know who you are (a logged in customer, a visitor with products in cart)...

    More details in technical term:

    http://us2.php.net/manual/en/intro.session.php
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Definition of Sessions?

    thank you both, hopefully that will appease the curious!


    betty

 

 

Similar Threads

  1. Replies: 0
    Last Post: 13 May 2015, 02:22 PM
  2. Replies: 3
    Last Post: 15 Feb 2012, 11:28 AM
  3. $db definition
    By syanyde in forum General Questions
    Replies: 2
    Last Post: 5 May 2008, 12:10 PM
  4. Replies: 5
    Last Post: 15 Jan 2008, 07:27 PM
  5. Replies: 0
    Last Post: 13 Nov 2007, 05:06 AM

Posting Permissions

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