Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ferdy Hoefakker 214 posts 248 karma points
    May 12, 2015 @ 10:32
    Ferdy Hoefakker
    0

    publish clears application cache?

    Hey,

    I've been having some issues with an umbraco site we're running. When I publish a node, switch to the front-end of the website and hit F5 to check my changes, I get logged out from the front-end. After some checking, I have discovererd that a publish seems to clear my HttpContext.Current.Cache and Sessions. I remain logged in in the backend (probably because it uses cookies?).

    This ONLY happens on the live version of the website. 

    The site is running on a windows server 2012 R2. Umbraco 7.2.1. There are other websites on the same server and they do not have this issue. I am not 100% sure if any of the other sites run on 7.2.1 but I don't believe they do. 

    Any insight on why this is happening would be much appreciated!

    Kind regards,

    -Ferdy

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    May 12, 2015 @ 10:34
    Alex Skrypnyk
    0

    Hi Ferdy,

    Is your web.config the same ?

    Maybe something with session?

    Thanks

  • Ferdy Hoefakker 214 posts 248 karma points
    May 12, 2015 @ 10:40
    Ferdy Hoefakker
    0

    Hey Alex,

    The session id does not change when this happens. So it should still be the same session right?

    Also the web.config has some minor changes such as different connection string and the like, but nothing major. All the assembly references and the like are the same.

    -Ferdy

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    May 12, 2015 @ 11:58
    Dave Woestenborghs
    0

    Hi Ferdy,

    Maybe it's related to this issue : http://issues.umbraco.org/issue/U4-6338

    Dave

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    May 12, 2015 @ 12:02
    Alex Skrypnyk
    0

    Ferdy, right, session is the same.

  • Ferdy Hoefakker 214 posts 248 karma points
    May 13, 2015 @ 11:38
    Ferdy Hoefakker
    0

    Hi Dave,

    I don't see anything resembling the lines that are posted in the linked issue in my log file. I DID however, found this:

     

    2015-05-13 11:34:58,969 [6] INFO  Umbraco.Core.UmbracoApplicationBase - [Thread 26] Application shutdown. Reason: ConfigurationChange

    Is there anyway to determine what initiated this change?

    -Ferdy

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    May 13, 2015 @ 11:49
    Dave Woestenborghs
    0

    I had the same problem as in the issue.

    After each publish action umbraco shutdown with the same line in the log as you. Removing the update solved it.

    Dave

  • William Charlton 171 posts 218 karma points
    Aug 06, 2015 @ 14:32
    William Charlton
    0

    I seem to have the same problem. If I completely clear out my AppData folder (Db files are not in AppData) and restart my App Pool it appears to go away, only to reoccur within a day or so.

    Saving changes every few minutes for safety just makes it worse - or seems to. I have the same line in my logs: INFO Umbraco.Core.UmbracoApplicationBase - [Thread 552] Application shutdown. Reason: ConfigurationChange

    Anyone get any joy with this?

    Is it definitely the problem Dave linked to?

Please Sign in or register to post replies

Write your reply to:

Draft