Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 7 of 7

Thread: DefaultSkinID - not working?

  1. #1
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default DefaultSkinID - not working?

    Greetings All,


    I recently switched our DefaultSkinID from 44 to 22.
    However - I'm seeing some strange behaviour.

    A new visit to the site (i.e. one with no history / cookie set) results in a cookie being set for SkinID=44

    Any idea what else might be causing this or where the problem might lie?

    http://www.3mselect.co.uk - what skin do you see?


    TTFN

    BFG
    Last edited by BFG 9000; 04-05-2010 at 05:07 PM.

  2. #2
    Fean0r is offline Senior Member
    Join Date
    Nov 2009
    Posts
    145

    Default

    I'm getting skin 22 FYI!
    Version: ML 8.0.1.2 and No Source Code.

  3. #3
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    Cool - Thanks for that.
    It's reassuring !!


    TTFN

    BFG

  4. #4
    StorageSolutions is offline Member
    Join Date
    Jun 2007
    Location
    Vero Beach, Florida
    Posts
    66

    Default

    viewing the source, it appears I'm seeing skinid 44
    ML 8.0.1.2

  5. #5
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    I'm seeing 44 as well. Is this in a multi-server or cloud environment? If you're using multiple databases/machines they may just not be synched up.

  6. #6
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    Hmmm.... Worrying.
    Nope - not cloud or multi server.


    Any other ideas what might be causing it?


    TTFN

    BFG

  7. #7
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    I'm also seeing skin 22 (I'll assume skin 22 because of the link to skins/Skin_22/all.css...unless you've hardcoded skin 22 references in skin 44). This seems to me like a cookie issue. Skins are cookied the first time to the site and are valid for 365 days unless they are forced otherwise. The only way they would be forced is if a skin id was specified directly in the querystring (eg. http://www.3mselect.co.uk?skinid=22) or the cookie has been removed from the machine by clearing them through the browser.

    What you may want to do is remove the lines in App_Code/SkinBase.cs that read and set the skin cookie...or add a couple lines of log where we read the cookie and if the cookie is not skin 22 then force it to skin 22 and set the cookie. All of this logic is in the LoadSkinTemplate method.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>