Changing website favicon dynamically

Posted by rwmnau on Stack Overflow See other posts from Stack Overflow or by rwmnau
Published on 2008-11-04T04:11:55Z Indexed on 2010/06/08 7:52 UTC
Read the original article Hit count: 156

Filed under:
|
|

I have a web application that's branded according to the user that's currently logged in. I'd like to change the favicon of the page to be the logo of the private label, but I'm unable to find any code or any examples of how to do this. Has anybody successfully done this before?

I'm picturing having a dozen icons in a folder, and the reference to which favicon.ico file to use is just generated dynamically along with the HTML page. Thoughts?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about html