View Full Version : session
07-30-2009, 10:33 PM
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 !!!?
07-30-2009, 10:47 PM
this behavior is normal.
Your session id will not be available in one of these cases:
Close your browser
Session timeout due a long time of no activity
Expiration through a logout functionality
Server shutdown or restart
07-30-2009, 11:40 PM
Allso, if I open a new tab, in that new tab allso same session id as in first tab.
Ok, notice taken.
07-30-2009, 11:57 PM
Yes exactly and same thing if you open a new window, you will have the same session id.
07-31-2009, 07:25 AM
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.
07-31-2009, 09:39 PM
I don't think I really understood what your need is.
Can you please explain more.
07-31-2009, 11:45 PM
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
08-01-2009, 05:46 AM
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.
08-02-2009, 09:24 AM
on the other hand, if you turn on TV and leave the room, the TV company gets paid, showing commercials, somebody looking or not.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.