Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: pagelets or sub-pages


Message #1 by "steve wakefield" <swakefield@u...> on Thu, 11 Jan 2001 00:44:57 -0000
Hi,

I have to develop a portal type page which will contain a number of
sub-pages, each of which will be stored in a seperate asp/html file. These
sub-pages will generally have dynamic content, and are optional, the user
will be able to choose which ones they want to see.

I've looked at using server side includes to merge the pages. As there
could be a large number of optional "pagelets" and the whole page will be
built on loading, this will lead to one huge page in memory.

I've looked at using server.execute to conditionally include the
"pagelets". There seems to be a problem with passing "paramaters" to the
"pagelets" :
- variables Dim'ed in the main page aren't available in the "pagelet"
- request.form is readonly, and 
- using the session object could have problems if two browsers are open
sharing one cookie.

The paramaters will include context type values, eg. in this location,
show 5 lines of detail.

Any advice on these and other approaches would be appreciated.

Thanks
SteveW

  Return to Index