0

how do you measure the size of session in (KB, MB....)

how can you say my session object is consuming ? space in (Kb & MB)

is there any limit to session size ( Some guy said 2GB :) )

Adapost help..!

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by dnanetwork
0

how do you measure the size of session in (KB, MB....) how can you say my session object is consuming ? space in (Kb & MB)

The size of an object in memory is not documented. However you can use Binary Serialization which gives you a rough approximation.

is there any limit to session size ( Some guy said 2GB :) )

There isn't any restriction on size. Yes, there is a 2GB maximum single object restriction in the .NET CLR . In fact the session is dictionary object which hold references of objects.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.