473,396 Members | 2,140 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 1733
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Keith Patrick | last post by:
I'm curious how folks are generally (if at all) centralizing the setting of both MasterPage and Theme of a large group of pages. I have a content viewer app where my initial solution was to just...
4
by: Ben | last post by:
Hi, I'm using images in my menu control. I have my menu setup based on this example: http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.menuitembinding.imageurlfield(VS.80).aspx ...
1
by: Joey | last post by:
Hello, I have tried to programmatically set the theme for my master page by putting code in a "Page_PreInit" fuction in the master page's code behind. However, when I set a breakpoint there and...
1
by: Anthony Small | last post by:
Hello, I have a login.aspx page that is associated with a theme. When I view the page login.aspx with forms authentication/authorization set as below in the web.config file the theme displays on...
11
by: assor | last post by:
I have a website and I,m using a an application theme that consists of a skin and a cascading style sheet and I have vriety of master pages and it works fine. I use in my site a log in with...
11
by: greg | last post by:
Hi all, Is there a way to get the current theme name at design time? I'm trying to write a custom control for which I need to use images from the current theme. I have asigned a theme to the...
4
by: Neil Jones | last post by:
Hello, I would like to create my own theme(s) for a couple of my own blog sites. I am hoping a few better themes could bring lot more readers. So far, I have stayed with the default wordpress...
2
by: =?Utf-8?B?d2R1ZGVr?= | last post by:
I have a website using windows integrated security, with anonymous access turned off. The site is used to query orders from a database and when the search takes a long time, a windows login box...
1
by: Henry Stock | last post by:
I am having trouble referencing a theme in my ASP.NET project. I was following a model that allowed for multiple themes. So The theme that I have is stored in named "Base" under the App_Theme...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.