Link tags automatically added to head section

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
tstiles
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Thu Oct 04, 2007 11:22 am

Link tags automatically added to head section

Post by tstiles » Thu Oct 09, 2008 2:47 pm

I have a nested website application within my able commerce website. This nested application is for forums and can be viewed at http://nextlevelplayers.com/forums/.

The forum website uses the Session object to maintain state. I have modified the able commerce Login.aspx code behind to set these Session variables upon login and have modified the Logout button to call a new Logout.aspx page to set the Session variables to the default value so the forum will log you out as well.

Everything works perfectlly in IE6 but not in IE7. I researched this bug and found that IE7 has issues in working with the Session object. In order for IE7 to handle the Session object correctly there must be nothing added to the head section, all <link> tags must be placed within the body of the HTML. However, able commerce is automatically placing <link> tags in the <head> section.

How do I disable the functionality of automatically placing links in the head section of child applications within able commerce?

Thanks,
Tim

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Link tags automatically added to head section

Post by mazhar » Fri Oct 10, 2008 6:42 am

Explain the problem with IE7 in detail that what actually goes wrong when you use IE7. Secondly Regarding the <LINK> tags, AbleCommerce makes use of the ASP.NET 2.0 Themes and the <LINK> tags for CSS files are automatically added to the head section by ASP.NET depending upon the current theme. You may override the theme setting in the child applications web.config to prevent the AbleCommerce theme on the child application for example as below

Code: Select all

<pages theme=""/>

Post Reply