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
Post a Comment