home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / QuickStart / aspplus / doc / portalapp.aspx < prev    next >
Encoding:
Text File  |  2000-06-08  |  2.5 KB  |  41 lines

  1.  
  2. <%@ Register TagPrefix="Acme" TagName="SourceRef" Src="/quickstart/util/SrcRef.aspx"%>
  3.  
  4. <!-- #include virtual="/quickstart/aspplus/include/header.inc" -->
  5.  
  6. <h4>A Personalized Portal</h4>
  7.  
  8. <p>
  9. This sample illustrates a personalized portal home page application.  The application allows users to customize a home page
  10. to show various <b>modules</b> of their choosing, such as a site directory or favorite links list.  Each module is implemented as a 
  11. <b>Pagelet</b>, which is dynamically added to the home page depending on whether the user has chosen to include it.  The custom
  12. personalization settings are maintained in a SQL database, and are retrieved using a <b>Personalization HttpModule</b> component
  13. (much like the Session or Application State HttpModules work).  Every page in the application inherits from a common Code-Behind 
  14. base Page class, which uses the Personalization component to expose a special dictionary called <b>UserState</b>.  This UserState 
  15. dictionary provides the application's pages access to the per-user customization settings (as key/value String pairs).  In addition
  16. to storing the user's module selections, the UserState dictionary is used to stored other customization parameters such as color
  17. schemes.  Individual modules may use the UserState dictionary to store their own customization settings as well.
  18. <p>
  19. The portal application employs to <b>CookieAuthentication</b> module for user authentication.  When a user first requests the home page,
  20. the settings for an Anonymous user are displayed.  If the user tries to access a portion of the portal which is restricted to authenticated
  21. users (such as the module customization page), the CookieAuthentication module redirects them to a login page where they are 
  22. prompted to enter their credentials.  If the user has not logged in before they may use a registration form to create a new user account
  23. and password.  On subsequent visits to the portal home page they can simply logged in using their account credentials (verified against
  24. a SQL database).
  25. <p>
  26. To get started exploring the portal application, follow the above steps to create a user account.  Once your account is created you may
  27. browse and customize the entire portal.
  28. <p>
  29.  
  30. <Acme:SourceRef 
  31.   RunSample="/quickstart/aspplus/samples/portal/default.aspx" 
  32.   ViewSource="/quickstart/aspplus/samples/portal/portal.src"
  33.   Icon="/quickstart/aspplus/images/portal_icon.gif"
  34.   Caption="Portal Application"
  35.   runat="server" />
  36.  
  37. <!-- #include virtual="/quickstart/aspplus/include/footer.inc" -->
  38.  
  39.  
  40.  
  41.