tags:

views:

232

answers:

2

Hi Guys,

I'm having a problem with a page im developing in umbraco. Im fairly new to it so would really appreciate some guidance.

the problem seems to be connected to the way umbraco caches pages.

what i have is a stockist locator map (a map of australia in my case).

from this page, the user can select a region to see stockists within that area.

i have a big fat search button along with some checkboxes for the user to choose what region they want to search in.

when i check say 'sydney' and hit my search button, all is well. it returns the results i would expect.

but... if i go and click the search button straight away (again) - then the search results disappear.

its almost like umbraco is doing some weird caching thing. ive tried fiddling with the cachine settings within the developer area (i.e. 'Cache Period'), but havent spotted any consistant patterns which shed light on the problem.

oh, another thing - its not executing the page load and pageInit events (when retrieving from the cache).

any help would be greatly apprecaited as im on a deadline and my boss will have my soul if i dont deliver :)

  • LM
A: 

So when you submit you control without selecting anything, you get empty result. Can this be, that is the logic of a control itself? As I see, it just gives empty result for empty search query.

terR0Q
A: 

Can you provide some sample code to demonstrate your implementation?

I've done plenty of Umbraco sites and have rarely found that Umbraco interrupts the normal ASP .Net page lifecycle so I'd be more inclined to guess you have a fault in your code.

Have you tried disabling your custom caching completely to ensure that the issue does not relate to your code?

Does your cache have a param dependency that is being cleared or anything?

Brian Scott