Re: Application Variable

From: Scott Allen (bitmask_at_[nospam)
Date: 10/07/04


Date: Thu, 07 Oct 2004 15:26:34 -0400

16-20 bytes is a relatively small amount, so I would not see any
problems there. When the user closes the browser without signing out,
you'll just have to wait for the runtime to clean up unused sessions,
there is no method for your code to call and speed up that process.

--
Scott
http://www.OdeToCode.com/
On Thu, 7 Oct 2004 12:12:32 -0700, "Lord2702" <Lord2702@MSN.com>
wrote:
>My storage could be maximum 16 - 20 bytes per user, and I can shorten it
>upto 8 bytes. But as Hermit mention if user close the browser w/o clicking
>on Logout then How should I handle this situation ? And, what could be the
>best approach to store the Login user information in ASP.Net application ? I
>appreciate your reply.
>
>"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
>news:8tlam01nm48iqqo6e8qscjnv6fpea89av5@4ax.com...
>> Hermit Dave has a good point. It really depends on what you are
>> storing per user, how much RAM is on the machine, and lots of other
>> factors. The only way to know exactly what will happen is to give the
>> application a stress test.
>>
>> What version of Visual Studio are you using? You might have ACT
>> installed.
>>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto10.asp
>>
>> --
>> Scott
>> http://www.OdeToCode.com/
>>
>> On Thu, 7 Oct 2004 06:02:54 +0100, "Hermit Dave"
>> <hermitd.REMOVE@CAPS.AND.DOTS.hotmail.com> wrote:
>>
>> >i dont see any problems to your approach though i am just wondering....
>what
>> >happens if the user just closes the browser without going into the effort
>of
>> >clicking the Logout button ?
>> >Memory issues if any will be determined by what exact information you are
>> >storing per user in the application object. if you are storing large
>amounts
>> >of user specific data then you need to use a different approach
>>
>