469,628 Members | 1,039 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,628 developers. It's quick & easy.

Theme During Login

Ron
I have an application that requires a login at each visit to the site and can
only be accessed by a login.
A user can have different themes depending if it was assigned in there
profile.

Theme A is considered the default theme for the site
But different users can have different themes.
User A has Theme A User B has Theme B
Logs in sees Theme A During Login sees Theme A after login sees Theme B
How to make User B know what theme to see before logging in..

Currently all themes are stored in users Profile.User.Preferences which uses
the SqlProfileProvider
that data is store in the asp_net tables

This not selectable or changeable to the user it is assigned to that user.
Is there a way for the client to know what theme to see during the login
proccess.

Thanks,
Ron

Jul 10 '06 #1
1 1625
What do you mean "see?"

I used a DropDown to allow Themes to be selected but I do not have a
preview. Select a Theme and it is applied. If you don't like it select
another one. Anonymous users can then "see" the effect. I save the preferred
Theme in a session cookie for anynous users. If users are logged in I use a
persistent cookie to store the preferred Theme and also put it into the
Profile. For logged in users returning to the website the Theme is restored
automatically if the persistent cookie is still present otherwise they have
to log back in to get their preferred Theme restored from the Profile.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Ron" <Ro*@discussions.microsoft.comwrote in message
news:AE**********************************@microsof t.com...
>I have an application that requires a login at each visit to the site and
can
only be accessed by a login.
A user can have different themes depending if it was assigned in there
profile.

Theme A is considered the default theme for the site
But different users can have different themes.
User A has Theme A User B has Theme B
Logs in sees Theme A During Login sees Theme A after login sees Theme
B
How to make User B know what theme to see before logging in..

Currently all themes are stored in users Profile.User.Preferences which
uses
the SqlProfileProvider
that data is store in the asp_net tables

This not selectable or changeable to the user it is assigned to that user.
Is there a way for the client to know what theme to see during the login
proccess.

Thanks,
Ron

Jul 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Keith Patrick | last post: by
4 posts views Thread by Ben | last post: by
1 post views Thread by Anthony Small | last post: by
4 posts views Thread by Neil Jones | last post: by
2 posts views Thread by =?Utf-8?B?d2R1ZGVr?= | last post: by
1 post views Thread by Henry Stock | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.