There is nothing stopping you from storing large objects in session but it 
isn't advisable.  It's true that there's no bandwidth penalty but storing 
large objects in session can quickly tie up a lot of memory on your server.

If you store a 1 meg object in every user's session and you get 1000 hits 
within a half an hour.....  It's not hard to do the math.

Take a look at how your app is used.  If you are planning on getting a small 
amount of traffic from a small amount of users (IE: an intranet app) than 
storing objects in session can make your life very easy.  If on the other 
hand you are writing a high traffic, internet app that needs to scale you 
will want to keep session scoped objects to a minimum.





On Wednesday 31 December 2003 04:58 am, you wrote:
> Howdy ,
>
> I 'd like to ask a question about session.
> It is  "Why can't we store big objects in session?"
>
> What I wonder is that sessions reside in Server side and
> are not transfered back and force between Client and Server.
> I think they do not cost network band.
>
> So why we can't use it to store some objects?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to