asp.net - Theme a site based on Hostname -


my site has few skins, repsent ui. these skins based on hostname connecting with.

as such, each css file, image, etc needs prepended correct folder location.

so, thought should put session of user.

so, earliest place can/should this.

secondly, should remembering in session, or handling per request comes in?

(please don't mention app_themes - know them, etc.)

why put in session? doesn't make sense me. if needed modify every url came in, create httpmodule. or alternately, create httphandler handling requests of type css, jpg, etc.

also... realize default, iis not hand off requests css, images, etc. asp.net process?


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -