I agree with Peter. But if you really want to do it, there is no dearth for
ideas.

You can subclass CSpPage and use it (MyCSpPage) as the superclass for all
your pages. (I have had many good reasons for doing it always). MyCSpPage
can have an instance variable of type Vector or whatever and have it filled
up in this_onAfterInit(). 

You have to watch if this_onAfterInit() is overridden in any of the pages.
If it is, they will need a super.this_onAfterInit() call.

Aby
TeamND

> -----Original Message-----
> From: peter cheung [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 27, 2000 12:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [ND] init Question
> 
> 
> 
> Unless you use this very often it is not much overhead to 
> read it in all the time when you need it.
> 
> You can read it in and save it in a session object once when 
> the user login.
> You can read it in once for the whole project and save it in 
> a globol session object.
> 
> Again since the table is so small I would not worry about it.
> 
> 
> "Dennis Hallman" <[EMAIL PROTECTED]> wrote:
> >
> >I have a table that contains a list of all valid Holidays.  
> How can I serialize the 
> >Holidays in a HashTable that can be accessed by several 
> pages?  (i.e would
> >I add code in the afterinit)  Also, how would the serailize 
> file be affected after 
> >an update/add to the Holiday table?  Or does anyone have any 
> other ideas how
> >this can be accomplished without having to run the same sql 
> code several times?  
> >
> >Dennis Hallman
> 
> ______________________________________________________________
> ___________
> 
> 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]

Reply via email to