Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have an ASP.Net MVC site and I want that every request to images of my site

  /images/image_name.png

are redirected to

  /images/{skin}/image_name.png

where {skin} is session dependant.

and I would like to make the same for any type of files (css, some json file for configurations,...)

I was asking if it is possible in ASP.Net MVC to hook requests at HttpListener level to make there the correct switch depending on the session.

Thanks a lot

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.