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..!
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..!
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.
Hi,
You can find some sample source code here.
How to find out size of session in ASP.NET from web application?
Exploring ASP.NET Session State and Cache data
i went through all the post u suggested
but not getting the correct o/p
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.