Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Change memory for variable session

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Where is the generic "The page cannot be dis..  
Author Message
Baba

External


Since: Feb 06, 2008
Posts: 2



(Msg. 1) Posted: Wed Feb 06, 2008 3:13 am
Post subject: Change memory for variable session
Archived from groups: microsoft>public>inetserver>iis (more info?)

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

 >> Stay informed about: Change memory for variable session 
Back to top
Login to vote
Pat [MSFT]

External


Since: May 24, 2006
Posts: 102



(Msg. 2) Posted: Wed Feb 06, 2008 11:54 am
Post subject: Re: Change memory for variable session [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What kind of variable? What code are you using?


Pat

"Baba" <Baba.RemoveThis@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...
> --
>

 >> Stay informed about: Change memory for variable session 
Back to top
Login to vote
Baba

External


Since: Feb 06, 2008
Posts: 2



(Msg. 3) Posted: Wed Feb 06, 2008 11:39 pm
Post subject: Re: Change memory for variable session [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I use both asp and asp.net
--



"Pat [MSFT]" wrote:

> What kind of variable? What code are you using?
>
>
> Pat
>
> "Baba" <Baba RemoveThis @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...
> > --
> >
>
 >> Stay informed about: Change memory for variable session 
Back to top
Login to vote
Pat [MSFT]

External


Since: May 24, 2006
Posts: 102



(Msg. 4) Posted: Thu Feb 07, 2008 11:55 am
Post subject: Re: Change memory for variable session [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.RemoveThis@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.RemoveThis@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...
>> > --
>> >
>>
 >> Stay informed about: Change memory for variable session 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]