|
| cookieless profiling possible? |
 |
Mon, 31 Mar 2008 10:00:11 +000 |
Is there a profile service which I can use to store profile information/states
instead of a cookie approach?
Or would this actually require me to use commerce server or something else
huge?
|
| Post Reply
|
| Re: cookieless profiling possible? |
 |
Tue, 1 Apr 2008 06:39:44 +0000 |
How about using cookieless session state?
http://support.microsoft.com/kb/307598
|
| Post Reply
|
| Re: cookieless profiling possible? |
 |
Tue, 1 Apr 2008 10:15:11 +0000 |
okay maybe I need to be more particular in what I am looking for :-)
I'm looking for a profiling mechanism based on the ASP.NET membership provider.
So automatically authenticated users do have a persistent (database backend?)
profile where I would for example store the "latest request" or maybe
even a request history or whatever I may come up with. Of course this kind could
easily be achieved with just a few lines of code.. I was just wondering if there
is already a profile engine like in commerce server or something that I don't
know of (yet) :-)
|
| Post Reply
|
| Re: cookieless profiling possible? |
 |
Tue, 1 Apr 2008 12:27:34 +0000 |
See previous reply. ASP.NET standard providers support cookieless operation. You
need to provide a way for the client to pass back what would be stored in the
cookie via FormsAuthentication.SetAuthCookie.
|
| Post Reply
|
| Re: cookieless profiling possible? |
 |
Tue, 1 Apr 2008 16:34:37 +0000 |
You should be able to use the defualt ASP.NET Profile Provider. Running
aspnet_regsql.exe -Ap will create the database (you can modify to store in MSSQL
2005 instead of the local SQL Express). Once you have your db, you then add
information similar to below to your web.config
:<profiledefaultProvider="SqlProfileProvider">
<providers><addname="SqlProfileProvider"
connectionStringName="MyConnString"applicationName="MyMembership&
quot;
type="System.Web.Profile.SqlProfileProvider" /></providers>
<properties><addname="FirstName"type="System.String"
;/>
<addname="LastName"type="System.String"/><groupname
="Core"/> </properties>
</profile>
http://msdn2.microsoft.com/en-us/library/014bec1k.aspx
|
| Post Reply
|
|
|
|
|
|
|
|
|
|