CAbbott
CAbbott

Reputation: 8098

Persisting User Specific Settings in ASP.NET Server-Side

I'm working on a .NET 3.5 Web Application and I was wondering what would be good way to persist user specific settings (i.e. user preferences) server-side?

Here are the conditions:

Any guidance would be greatly appreciated.

Edit: If it makes any difference, it doesn't have to support a web farm.

Upvotes: 2

Views: 3658

Answers (4)

Josh
Josh

Reputation: 8477

If you want to persist data, and you don't want to use a database, then you need to save the data to disk (such as XML). If you're looking for something that isn't local to your server, you could use a SaaS solution that would host your data for you, such as Amazon's S3 service. If you do that, the latency of data retrieval will slow your application down, so you'll want to cache the data.

Upvotes: 1

Cody C
Cody C

Reputation: 4807

Given those parameters, you could just keep track of your own user preferences XML file on the server.

Upvotes: 0

Matthew Groves
Matthew Groves

Reputation: 26169

Text files (JSON/XML/etc), though security then becomes an associated problem.

Upvotes: 0

John Saunders
John Saunders

Reputation: 161831

Use the ASP.NET Profile feature for this. See ASP.NET Profile Properties Overview

Upvotes: 3

Related Questions