Hi
After I create a new section in a page, I have to rebuild the app in visual studio before the [edit] tag becomes visible for editing. I've tried closing my browser and logging in again, but the only thing that works is a rebuild.
It's a bit frustrating when you want to whizz through making a few changes. Is it a dodgy installation at my end, a bug, or by design?
Cheers
Lee
It should not behave in the way you experience. Maybe it's a caching issue. You could test this by disabling caching in the nhibernate section of the web.config:
<add key="relativeExpiration" value="0" />
I've reset the key to zero and recompiled, but the same behaviour occurs. I've also set IE to check for new versions of the page on every visit. There don't appear to be any other caching options in the browser, nor can I find any in the Internet Services Manager.
L
Very, very strange...
Has anybody else had this problem?
Ok, it's working now I've changed the relativeExpiration to 1 rather than 0. Maybe 0 isn't a valid value? I couldn't find anything in the nhibernate docs regarding acceptable range of values for this property.
Oh well - it's working great now!
leemhensonOk, it's working now I've changed the relativeExpiration to 1 rather than 0. Maybe 0 isn't a valid value? I couldn't find anything in the nhibernate docs regarding acceptable range of values for this property.
Oh well - it's working great now!
Hmmm, it's not working as it should though. I thought these kind of caching issues were more or less history since 0.9.
I'm curious what is going to happen if you set the cache expiration back to 30?
Crazy. It's working fine after setting it back to 30.
I went into my home node, created a new section and viewed it with a separate browser window. Then I deleted the section again, and checked to see that the section was removed.
Completely unrelated, but I did get an error on my first attempt to remove the new section:
An error occured: in expected: s [from StaticHtmlContent s where s.Section.Id = ? ]
I don't think that's related. Clicking the delete link again worked.
Maybe an odd IE chaching bug? Not uncommon and a rebuild would force a refresh from the server rather than the local cache.
It also occurred in Firefox, so it is less likely to be a browser issue I think.