Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9

Thread: session

  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,959
    Thanks
    120
    Thanked 76 Times in 76 Posts

    session

    1. visit my page
    2.go away to another randome page like google
    3. visit my page again

    --> at step 3 java session id is the same as at step 1 !!!?

  • #2
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    this behavior is normal.
    Your session id will not be available in one of these cases:
    1. Close your browser
    2. Session timeout due a long time of no activity
    3. Expiration through a logout functionality
    4. Server shutdown or restart

  • #3
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,959
    Thanks
    120
    Thanked 76 Times in 76 Posts
    Allso, if I open a new tab, in that new tab allso same session id as in first tab.

    Ok, notice taken.

  • #4
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    Yes exactly and same thing if you open a new window, you will have the same session id.

  • #5
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,959
    Thanks
    120
    Thanked 76 Times in 76 Posts
    So, how I came to this ?

    If advertiser buys from me 10000 banner shows, and I have 10 sec java script banner rotator, does every show counts as -1 count ?

    I mean user can leave my page opened for 30 minutes (default sesion expiration), and does not look at page at all.

    Or is it right logic or business practice that even if banner gets showed many times per session, only -1 is counted ?

    I mean, I have table for evidence: id_banner,id_session, both key.
    Last edited by BubikolRamios; 07-31-2009 at 06:28 AM.

  • #6
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    I don't think I really understood what your need is.

    Can you please explain more.
    thank you

  • #7
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,959
    Thanks
    120
    Thanked 76 Times in 76 Posts
    simple, customer says: I give you x $ to display my banner 10000 times.

    Naturaly customer expects that that would mean showing it to 10000 visitors or at least 10000 unique visits.

    If I have banner rotator(10 sec interval), having lets say 3 different banners then banner from above customer shows every 30 sec within one session.

    I'm yust not sure what is common practice:

    1. if one visitor is on page 90 seconds, then this mean 10000 - 3
    2. or this means 10000 - 1

    ?

  • #8
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    I understand better now.
    I would say if I was the client and working on my station to watch a banner and then if I kept it for an hour then many many many times I have paid for will be gone for waste.

    At the same time you cannot leave it open this way.


    You can have an agreement with the client about it.

    I think to answer you he should see it at least 10000 unique visits and not 10000 visitors.

    As for the timeout you should agree with him on a timeout.

  • #9
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,959
    Thanks
    120
    Thanked 76 Times in 76 Posts
    on the other hand, if you turn on TV and leave the room, the TV company gets paid, showing commercials, somebody looking or not.


  •  

    Posting Permissions

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