storing client options

  • Thread starter Thread starter Jerry J
  • Start date Start date
J

Jerry J

I have a web application that has a menu item that allows
the client to chose a style (changes the color scheme).
What are my options for storing that information so the
next time the client hits the site the style previously
chosen is used again?

Should I use the cookie?

Jerry J
 
| I have a web application that has a menu item that allows
| the client to chose a style (changes the color scheme).
| What are my options for storing that information so the
| next time the client hits the site the style previously
| chosen is used again?
|
| Should I use the cookie?

Yes. In fact, cookies are the only solution you can use. Nothing else would
persist between sessions.
 
Hi,

Cookies and Database can both be used. every option got its Advantage
and disadvantage. cookies for example are limited and transfer over the
net. database requires data retrieval that will harm RPC. there is
another option that I think is going to be supply with next version of
ASP.NET. you can save data using Memory map file. I think there is
already application block for doing so [1].

[1]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/h
tml/CachingBlock.asp

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 
| wrong! a database can be used to store user setting preferences.

Yes, but you must still use cookies to found and identify the user (assuming
that they're not logging into the application using unique user name and
password).
 
Back
Top