473,569 Members | 2,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User Profile Data

When profile data is stored in ASP .NET, where is the user data persisted?
For how long is it persisted: is it session persisted or permanent (like a
cookie)?

Nov 27 '07 #1
4 2488
Hi Scott,

As for the "User data" and "Profile data" you mentioned, would you provide
some more description on them? I assume that the "profile data" means the
ASP.NET 2.0 profile service's data. That data is stored per-user(depend on
membership) and can be persisted in database. I'm not sure what's the
"user data" you mentioned.

Please feel free to let me know if there is any other particular things in
your case.
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>Reply-To: "Scott M." <sm**@nospam.no spam>
From: "Scott M." <sm**@nospam.no spam>
Subject: User Profile Data
Date: Tue, 27 Nov 2007 12:00:35 -0500

When profile data is stored in ASP .NET, where is the user data persisted?
For how long is it persisted: is it session persisted or permanent (like a
cookie)?

Nov 28 '07 #2
Hi Steven,

I am indeed referring to "profile" data in ASP .NET. My use of the term
"user data" simply refers to the data stored in the profile.

Can you be more specific about exactly where this data is persisted and how?

How long does it persist? Is is session-based and expire like session
variables or is it permanent, like a cookie? You say it "depends on
membership". Does that mean I can only use this feature with users who are
in my ASP .NET membership & roles database and not with unknown and
unauthenticated visitors? You say it "can" be persisted in a database, are
there other means for persisting it?

Thanks,

-Scott

"Steven Cheng[MSFT]" <st*****@online .microsoft.comw rote in message
news:uz******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Scott,

As for the "User data" and "Profile data" you mentioned, would you provide
some more description on them? I assume that the "profile data" means the
ASP.NET 2.0 profile service's data. That data is stored per-user(depend on
membership) and can be persisted in database. I'm not sure what's the
"user data" you mentioned.

Please feel free to let me know if there is any other particular things in
your case.
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>Reply-To: "Scott M." <sm**@nospam.no spam>
From: "Scott M." <sm**@nospam.no spam>
Subject: User Profile Data
Date: Tue, 27 Nov 2007 12:00:35 -0500

When profile data is stored in ASP .NET, where is the user data persisted?
For how long is it persisted: is it session persisted or permanent (like a
cookie)?

Nov 28 '07 #3
Thanks for your quick response Scott,

Ok. Here is a brief description on how to profile's data is persisted and
how it is associated with a certain visitor.

** The profile data is persisted in the storage based on the provider you
use. Assume that you use the Default SqlProfileProvi der, then, the profile
data is persisted in the sql database.(like other membership/role
provider's data)

** Profile data only associate to a user(through a username string). This
user is determined by membership service. For example, if you use forms
authentication, each authenticated user(according to membership database)
can has his own data in profile db. Profile, in this case, profile do not
take care of cookie, it just check what's the current user. It's the forms
authentication and membership that validate and determine the current user.
and provide will provide user data depend on the current user's name.

** ASP.NET Profile also support anonymous profile, in this case, it will
generate a random userID for a certain anonymou user(unauthenti cated
through forms authentication/membeship). And this id is stored through
cookie, as long as the next time it can get the ID from cookie(still in
unauthenticated mode), it can identify that anonymous user and retrieve the
correct user data from profile database.

#Profiles In ASP.NET 2.0
http://www.odetocode.com/Articles/440.aspx

Please feel free to let me know if you have questions on any specific part
of the profile.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Subject: Re: User Profile Data
Date: Tue, 27 Nov 2007 23:36:52 -0500
>
Hi Steven,

I am indeed referring to "profile" data in ASP .NET. My use of the term
"user data" simply refers to the data stored in the profile.

Can you be more specific about exactly where this data is persisted and
how?
>
How long does it persist? Is is session-based and expire like session
variables or is it permanent, like a cookie? You say it "depends on
membership". Does that mean I can only use this feature with users who
are
>in my ASP .NET membership & roles database and not with unknown and
unauthenticate d visitors? You say it "can" be persisted in a database,
are
>there other means for persisting it?

Thanks,

-Scott

"Steven Cheng[MSFT]" <st*****@online .microsoft.comw rote in message
news:uz******* *******@TK2MSFT NGHUB02.phx.gbl ...
>Hi Scott,

As for the "User data" and "Profile data" you mentioned, would you
provide
>some more description on them? I assume that the "profile data" means the
ASP.NET 2.0 profile service's data. That data is stored per-user(depend
on
>membership) and can be persisted in database. I'm not sure what's the
"user data" you mentioned.

Please feel free to let me know if there is any other particular things
in
>your case.
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>>Reply-To: "Scott M." <sm**@nospam.no spam>
From: "Scott M." <sm**@nospam.no spam>
Subject: User Profile Data
Date: Tue, 27 Nov 2007 12:00:35 -0500

When profile data is stored in ASP .NET, where is the user data
persisted?
>>>For how long is it persisted: is it session persisted or permanent (like
a
>>>cookie)?


Nov 28 '07 #4
Thanks Steven.
"Steven Cheng[MSFT]" <st*****@online .microsoft.comw rote in message
news:Vq******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Thanks for your quick response Scott,

Ok. Here is a brief description on how to profile's data is persisted and
how it is associated with a certain visitor.

** The profile data is persisted in the storage based on the provider you
use. Assume that you use the Default SqlProfileProvi der, then, the profile
data is persisted in the sql database.(like other membership/role
provider's data)

** Profile data only associate to a user(through a username string). This
user is determined by membership service. For example, if you use forms
authentication, each authenticated user(according to membership database)
can has his own data in profile db. Profile, in this case, profile do not
take care of cookie, it just check what's the current user. It's the forms
authentication and membership that validate and determine the current
user.
and provide will provide user data depend on the current user's name.

** ASP.NET Profile also support anonymous profile, in this case, it will
generate a random userID for a certain anonymou user(unauthenti cated
through forms authentication/membeship). And this id is stored through
cookie, as long as the next time it can get the ID from cookie(still in
unauthenticated mode), it can identify that anonymous user and retrieve
the
correct user data from profile database.

#Profiles In ASP.NET 2.0
http://www.odetocode.com/Articles/440.aspx

Please feel free to let me know if you have questions on any specific part
of the profile.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
>>Subject: Re: User Profile Data
Date: Tue, 27 Nov 2007 23:36:52 -0500
>>
Hi Steven,

I am indeed referring to "profile" data in ASP .NET. My use of the term
"user data" simply refers to the data stored in the profile.

Can you be more specific about exactly where this data is persisted and
how?
>>
How long does it persist? Is is session-based and expire like session
variables or is it permanent, like a cookie? You say it "depends on
membership" . Does that mean I can only use this feature with users who
are
>>in my ASP .NET membership & roles database and not with unknown and
unauthenticat ed visitors? You say it "can" be persisted in a database,
are
>>there other means for persisting it?

Thanks,

-Scott

"Steven Cheng[MSFT]" <st*****@online .microsoft.comw rote in message
news:uz****** ********@TK2MSF TNGHUB02.phx.gb l...
>>Hi Scott,

As for the "User data" and "Profile data" you mentioned, would you
provide
>>some more description on them? I assume that the "profile data" means
the
ASP.NET 2.0 profile service's data. That data is stored per-user(depend
on
>>membership) and can be persisted in database. I'm not sure what's the
"user data" you mentioned.

Please feel free to let me know if there is any other particular things
in
>>your case.
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
Reply-To: "Scott M." <sm**@nospam.no spam>
From: "Scott M." <sm**@nospam.no spam>
Subject: User Profile Data
Date: Tue, 27 Nov 2007 12:00:35 -0500

When profile data is stored in ASP .NET, where is the user data
persisted?
>>>>For how long is it persisted: is it session persisted or permanent (like
a
>>>>cookie)?

Nov 29 '07 #5

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

Similar topics

1
2824
by: pei_world | last post by:
hi I am new to C# programming. can anyone tell me what is the standard way to store high sensitive user data for application, so that application next run can get back those data.
0
1431
by: Pavils Jurjans | last post by:
Hallo, After installing the dot-NET framework on my PC, I see that a new user profile has been created. I wouldn't bother if that would be just a new 'user' created, but why the whole profile? Do I need this profile or I can go to Control panel / System / Advanced / User profiles and delete it? I do all my PC needs from one single profile,...
4
4849
by: Sylvan | last post by:
I am new with this personalization stuff. Everything was working fine, however, now I always get the Login failed for user ''. The user is not associated with a trusted SQL Server connection. error message. This is for anonymous personalization, very simple. I am just trying to retrieve a string from Profile. This is what I have in my...
0
1335
by: fernandezr | last post by:
Hi, I've got a user control that is referenced twice on the same page and I'd like to access the textbox values on postback so I can update a database. How can get the values for each instance of the user control text box? Here is the user control ascx file: <%@ Control Language="C#" EnableViewState="true" AutoEventWireup="true"...
6
8107
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a picture of themselves to their profile... I admit that I'm a newbie... but this is how I understand this:
12
7995
by: wheels619 | last post by:
How can I get access for another user's special folder locations? A configuration file is stored in the users' appData folder and the program altering it will be ran under the admin.
1
1529
by: R.A.M. | last post by:
Hello, I am learning .NET (3.0). I am writing ASP.NET application and I need to store some extra information (like default settings for each user. In web.config I added: <profile enabled="true"> <properties> <add name="DefaultProject" type="string"/>
3
2172
by: daokfella | last post by:
I want to be able to store profile information for a user when they sign up for an account...but BEFORE they can log in. Can this be done using any of the built-in profile methods? Here's my current sign-up procedure: 1. User creates an account with username, password, e-mail and other information that I want to store in profile. 2....
9
2361
by: =?Utf-8?B?Sm9obiBBdXN0aW4=?= | last post by:
I have an app that prints entry tickets. If the printer driver is not set up exactly to detect the black mark on the back of the ticket, the tickets do not print correctly. Because of this, all users are logging on with the same user name to ensure they get a correctly configured printer driver. The application runs on a Terminal Server via...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7682
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
7984
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
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
5515
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
3663
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...
0
3655
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1230
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
954
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.