The performance depends on your need i.e. where the session
objects/hashtable containing these
values are used.
For eg: If in a page's web event, say u r accessing 6 or more session
objects, use of
hash table is better since you will be going once to get the hashtable and
then for
succesive user session object values can be got from the hash table instead
if u choose to
use only session object you will have to got the PE for 6 or more times and
fetch it.
This time of going to the PE and come back for 6 times or more is saved if u
use a hash table.
Again all this depends on your need as said earlier.
One other option is to group together user session objects used in one web
event
and put them in a CSpVector or hashtable.
Hope this helps.
-- Prasad
> -----Original Message-----
> From: Lundgren, Rusty [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, November 12, 1999 10:24 AM
> To: '[EMAIL PROTECTED]'
> Subject: [ND] Session Objects
>
> Hi,
>
> I was wondering if someone can help me with this.
>
> What are the performance differences ( or any differences ) between using
> say 25 different CSpUserSessionObjects, as opposed to using 1 Hash Table
> in
> a CSpUserSessionObject that contains all my 25 variables?
>
> Thanks,
>
> Rusty
> _________________________________________________________________________
>
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]