Once you have a working login page, you must require logins for those pages which need controlled access. The easiest way to have a page require logins is to design that requirement into the page. When you first create a Web page module, check the Login Required box in the Page section of the New WebSnap Page Module dialog box.
If you create a page without requiring logins, you can change your mind later.
TWebPageInfo.Create([wpPublished {, wpLoginRequired}], '.html')
TWebPageInfo.Create([wpPublished , wpLoginRequired], '.html')
static TWebPageInit WebInit(__classid(TAdapterPageProducerPage3), crOnDemand, caCache, PageAccess << wpPublished << wpLoginRequired, ".html", "", "", "", "");
To remove the login requirement from a page, reverse the process and recomment the wpLoginRequired portion of the creator.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|