Change memory for variable session

This is a discussion on Change memory for variable session within the Inetserver forums in Microsoft Tools category; How can I change memory size for session's variable? I need more memory form my variables... --...

Go Back   Application Development Forum > Microsoft Tools > Inetserver

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-06-2008, 06:13 AM
Baba
Guest
 
Default Change memory for variable session

How can I change memory size for session's variable?
I need more memory form my variables...
--

Reply With Quote
  #2  
Old 02-06-2008, 02:54 PM
Pat [MSFT]
Guest
 
Default Re: Change memory for variable session

What kind of variable? What code are you using?


Pat

"Baba" <Baba@discussions.microsoft.com> wrote in message
news:C9BBCD1C-4F9F-4D83-9709-270B118AA2DF@microsoft.com...
> How can I change memory size for session's variable?
> I need more memory form my variables...
> --
>


Reply With Quote
  #3  
Old 02-07-2008, 02:39 AM
Baba
Guest
 
Default Re: Change memory for variable session

I use both asp and asp.net
--



"Pat [MSFT]" wrote:

> What kind of variable? What code are you using?
>
>
> Pat
>
> "Baba" <Baba@discussions.microsoft.com> wrote in message
> news:C9BBCD1C-4F9F-4D83-9709-270B118AA2DF@microsoft.com...
> > How can I change memory size for session's variable?
> > I need more memory form my variables...
> > --
> >

>

Reply With Quote
  #4  
Old 02-07-2008, 02:55 PM
Pat [MSFT]
Guest
 
Default Re: Change memory for variable session

I should have been more specific - VBScript? Could you provide a sample of
the code that isn't working?

Assuming VBScript/JScript
Allocations for variables occur when they are declared.
Example:
strTestString = "This is my test string"

under the covers there will be a heap allocation of that string size
(Unicode). When you place that variable in an ASP Session the memory isn't
reallocated, it is just preserved beyond the lifetime of the page vs a
memory free when the page goes out of scope.


Pat



"Baba" <Baba@discussions.microsoft.com> wrote in message
news:4F4EF4DE-6015-43E6-9A25-61F9C5E541F6@microsoft.com...
>I use both asp and asp.net
> --
>
>
>
> "Pat [MSFT]" wrote:
>
>> What kind of variable? What code are you using?
>>
>>
>> Pat
>>
>> "Baba" <Baba@discussions.microsoft.com> wrote in message
>> news:C9BBCD1C-4F9F-4D83-9709-270B118AA2DF@microsoft.com...
>> > How can I change memory size for session's variable?
>> > I need more memory form my variables...
>> > --
>> >

>>


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:19 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.