views:

33

answers:

2

I want to set the value of a session variable to a hex color code in the Global.asax, then use the value of that session variable (hex code) as the background color in the default.css file.

Can anyone give me an idea on how to accomplish this?

+2  A: 

If you want to edit the css file, you would have to generate it (using an ashx file is one option).

Gabriel McAdams
+1  A: 

Another option would be to use themes which would allow you to have conditional color schemes by changing the them on the fly.

Payton Byrd