Previous Thread:   Shared Properties disappearing

2/8/2006 2:34:27 AM    Enabling Web Part personalization without user registration
Scenario:  
  
Web Parts features (like design mode) require the user to be  
  
authenticated and registered.  
  
But what if you don't want the users to go through registration  but  
  
still enable personalization?  
  
Answers:  
  
Alternative 1:  
  
Use Windows Authentication  (good for intranet)  
  
Modify Web.config to have  
  
<system.web>  
  
...  
  
<authentication mode="Windows"/  
  
...  
  
</system.web>  
  
In IIS virtual directory,  right click properties--> disable  
  
"Anonymous" access and enable Windows Authentication  
  
Alternative 2:  
  
Use anonymous personalization trick:  
  
http://www.codeproject.com/aspnet/anonywebparts.asp  
  
-----------  
  
Note:  Sample error message when you are using wrongly the web parts  
  
is:  
  
"The specified display mode is currently disabled on this page. Make  
  
sure personalization is enabled for the current user."

7250599242



Search

search