Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Understanding Sessions: new session for each page request

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  How to monitor Memory & CPU...  
Author Message
Dave

External


Since: Oct 22, 2007
Posts: 1



(Msg. 1) Posted: Mon Oct 22, 2007 2:44 pm
Post subject: Understanding Sessions: new session for each page request
Archived from groups: microsoft>public>inetserver>iis (more info?)

I monitor visits to our ASP 3.0 web site in order to identify what content
is popular and what is not.

When I look at page visits by IP address ordered by time, I can see the
sequence and frequency of content access and better understand how the site
is being used.

However, one thing I do not understand is the creation of sessions. As I
understand it, a session is created for a user at the time of the first
request. The session persists until it either times out from inactivity or
the user leaves the site.

This is what I see most of the time; a user has a single session for
multiple page requests.

However, it is not uncommon to find a user who creates a new session for
each page request.

It does not appear that they are leaving and returning. Their requests
following a normal access sequence and the times between requests are
relatively short.

In short, they look like all of the other users except that each page
requests initiates a new session.

Does anyone have an idea of what is happening?

 >> Stay informed about: Understanding Sessions: new session for each page request 
Back to top
Login to vote
David Wang

External


Since: Nov 01, 2007
Posts: 309



(Msg. 2) Posted: Tue Oct 23, 2007 12:53 am
Post subject: Re: Understanding Sessions: new session for each page request [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 22, 2:44 pm, "Dave" <davefr....TakeThisOut@newsgroup.nospam> wrote:
> I monitor visits to our ASP 3.0 web site in order to identify what content
> is popular and what is not.
>
> When I look at page visits by IP address ordered by time, I can see the
> sequence and frequency of content access and better understand how the site
> is being used.
>
> However, one thing I do not understand is the creation of sessions. As I
> understand it, a session is created for a user at the time of the first
> request. The session persists until it either times out from inactivity or
> the user leaves the site.
>
> This is what I see most of the time; a user has a single session for
> multiple page requests.
>
> However, it is not uncommon to find a user who creates a new session for
> each page request.
>
> It does not appear that they are leaving and returning. Their requests
> following a normal access sequence and the times between requests are
> relatively short.
>
> In short, they look like all of the other users except that each page
> requests initiates a new session.
>
> Does anyone have an idea of what is happening?


Is your application using cookie-based sessions. If so, then the user
could be refusing to save cookies, in which case every single request
would result in a new session.

http://blogs.msdn.com/david.wang/archive/2005/09/19/Why-do-I-lose-ASP-...sion-St

HTTP is inherently stateless, so when you talk about "Sessions" you
are really talking about the behavior of a particular implementation
on top of HTTP -- in which case you must know how your version is
implemented to truly understand its behavior.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

 >> Stay informed about: Understanding Sessions: new session for each page request 
Back to top
Login to vote
Anthony Jones

External


Since: Jan 28, 2006
Posts: 113



(Msg. 3) Posted: Tue Oct 23, 2007 6:59 am
Post subject: Re: Understanding Sessions: new session for each page request [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Dave" <davefrick.TakeThisOut@newsgroup.nospam> wrote in message
news:OF9XeOPFIHA.1208@TK2MSFTNGP05.phx.gbl...
> I monitor visits to our ASP 3.0 web site in order to identify what content
> is popular and what is not.
>
> When I look at page visits by IP address ordered by time, I can see the
> sequence and frequency of content access and better understand how the
site
> is being used.
>
> However, one thing I do not understand is the creation of sessions. As I
> understand it, a session is created for a user at the time of the first
> request. The session persists until it either times out from inactivity or
> the user leaves the site.

How does a 'user leave the site'? Normally that be not visiting it anymore
but the session will still persist until it times out/

>
> This is what I see most of the time; a user has a single session for
> multiple page requests.
>
> However, it is not uncommon to find a user who creates a new session for
> each page request.
>
> It does not appear that they are leaving and returning. Their requests
> following a normal access sequence and the times between requests are
> relatively short.
>
> In short, they look like all of the other users except that each page
> requests initiates a new session.
>
> Does anyone have an idea of what is happening?
>

Are we talking about ASP or ASP.NET sessions?

ASP and by default ASP.NET use a session level cookie to affiliate client
requests with an existing session. If the client rejects the cookie it will
not be included in subsequent requests thereby generating a new session each
time ASP(.NET) page is requested.

--
Anthony Jones - MVP ASP/ASP.NET
 >> Stay informed about: Understanding Sessions: new session for each page request 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 2972



(Msg. 4) Posted: Tue Oct 23, 2007 10:09 am
Post subject: Re: Understanding Sessions: new session for each page request [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

What session management do you use?

HTTP is stateless, and IIS is not really aware of anything called
sessions. That is something on top of HTTP. So to be able to help you with
this question, we need to know how you have implemented sessions.

Do you use cookies (most common)? If yes, then the user may have disabled
cookies. That would explain what you see.


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Dave wrote:

>I monitor visits to our ASP 3.0 web site in order to identify what content
>is popular and what is not.
>
>When I look at page visits by IP address ordered by time, I can see the
>sequence and frequency of content access and better understand how the
>site is being used.
>
>However, one thing I do not understand is the creation of sessions. As I
>understand it, a session is created for a user at the time of the first
>request. The session persists until it either times out from inactivity or
>the user leaves the site.
>
>This is what I see most of the time; a user has a single session for
>multiple page requests.
>
>However, it is not uncommon to find a user who creates a new session for
>each page request.
>
>It does not appear that they are leaving and returning. Their requests
>following a normal access sequence and the times between requests are
>relatively short.
>
>In short, they look like all of the other users except that each page
>requests initiates a new session.
>
>Does anyone have an idea of what is happening?
 >> Stay informed about: Understanding Sessions: new session for each page request 
Back to top
Login to vote
WenJun Zhang[msft]

External


Since: Dec 16, 2005
Posts: 175



(Msg. 5) Posted: Mon Oct 29, 2007 2:07 pm
Post subject: RE: Understanding Sessions: new session for each page request [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Dave,

I just wonder if there is any update regarding to this issue?

Have a nice week.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 >> Stay informed about: Understanding Sessions: new session for each page request 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
3rd try : HTTP/1.1 New Session Failed &amp; sessions reset.. - I've posted a 2 previous messages and spent hours on the phone with MS's Indian support (WHO I CAN BARELY UNDERSTAND). I have a Win 2003 SP1 were with IIS 6 and host about 40 websites, most of them useing ASP/VB with access databases. The server is a....

IIS Threads - by request or session?? - Somebody recently told me that IIS allocates threads based on active sessions. This seems ridiculous but I can't find any documentation in the groups or on MSDN that indicates it does or doesn't. Anyone know when threads are allocated and released in II...

Renew IIS session with an image request? - Hello, Given that a particular iis server has its session timeout set to the default of 20mins, what will renew the request in order to prevent it timing out? Is it only code-type things, such as ASP[X] pages, or will requesting an image file renew..

Can IIS Set Session ID Cookie on Through HTM Page? - I have a plain html site. I need to have a cookie place a session ID on a visitor's machine so that I can track navigation through the site. Do my pages have to be ASP in order to get that cookie set? I assume I need a random number for each..

Session is expired immediately after loaded the asp.net page - Gurus, Please help me out. I've weird problem. i am developing asp.net application (nothing complecated) in locally in XP machine and deploy the appplication in windows 2003 server, IIS6.0. everything was working fine until last week. suddenly from..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]