472,378 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,378 software developers and data experts.

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 2395
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.nospam>
From: "Scott M." <sm**@nospam.nospam>
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.comwrote in message
news:uz**************@TK2MSFTNGHUB02.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.nospam>
From: "Scott M." <sm**@nospam.nospam>
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 SqlProfileProvider, 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(unauthenticated
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
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.comwrote in message
news:uz**************@TK2MSFTNGHUB02.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.nospam>
From: "Scott M." <sm**@nospam.nospam>
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.comwrote in message
news:Vq**************@TK2MSFTNGHUB02.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 SqlProfileProvider, 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(unauthenticated
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
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.comwrote in message
news:uz**************@TK2MSFTNGHUB02.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.nospam>
From: "Scott M." <sm**@nospam.nospam>
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
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
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?...
4
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....
0
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...
6
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...
12
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
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...
3
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...
9
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...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

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.