473,547 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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>
...
<authenticati on 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."

Feb 8 '06 #1
0 1559

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1160
by: Danny Tuppeny | last post by:
Hi all, I'm after some advice... I'm building a website which will have a login etc.. The Personalization in asp.net 2 stuff looks like it'll save me some time (login controls etc.), however, the rest of my site ties very intimately into my users. I have many tables (such as News, PhotoGallery, ForumPost) which have a UserID column. From...
2
3139
by: bradgatewood | last post by:
I am in the process of developing a highly customizable application and I'm looking for a way to allow personalization by role. This is different than shared scope in the fact that I want to allow multiple clients to make modifications to properties, placement, controls on page, etc... and have all users see the customizations that apply to...
1
1649
by: Ya Ya | last post by:
I am using the personalization feature in asp.net 2.0 I am storing the phone number for each user. When a certain user enters his phone number I would like to check if another user already store this phone number. Is it possible to query personalization data so I will be able to retrieve the phone number of each user?
1
3338
by: Nandu | last post by:
Hello, I am using membership and profile providers in my asp.net 2.0 website. Our client uses a pre-compiled content management site and my code is added to the site as user controls. When i uploaded the new registration (createuserwizard) and login controls along with web.config, I get the following error. ************ This application was...
0
863
by: a3321 | last post by:
I am just curious if the authors or anyone else has an opinion on what's the best approach to handle a situation where you have a single web user who wants to multitask between several different web activities at once. e.g.User could be in the middle of a patient registration screen but then get a phone call that needs an appointment...
3
2356
by: Electrified Research | last post by:
So I've been playing with WebParts. Very cool stuff. The personalization scope has "Shared" and "User". "Shared" allows for an admin to customize a page and how other users see that page. "User" allows for that user to customize a page how they specifically want. What I want to do is a fusion of the the two. The personaliztion...
1
1133
by: fscali | last post by:
Hi, in asp.net 2.0, is there any out of the box provider that I can use in order to persist to a SQL Express Database some site settings? I have a webpart page where only authorized users can add/modify/remove webparts (in shared mode) and I would like to give them the ability to set even the theme for all users. In other words I would like to...
0
852
by: khairulfnd | last post by:
i m trying to create a user and add a role to the user and also add its personalization like first name and last name, all at the same time but there is a problem with the personalization. Since on the point i create the user its anonymous but is there a way to get the user from the database so that when i add the personalization it is not...
1
1222
by: khairulfnd | last post by:
i m trying to create a user and add a role to the user and also add its personalization like first name and last name, all at the same time but there is a problem with the personalization. Since on the point i create the user its anonymous but is there a way to get the user from the database so that when i add the personalization it is not...
0
7698
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5361
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3492
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1922
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.