Hello,
I am new to using the forum. Just wanted to say thanks for all the great work!!!!
I posted this already, but I thought I should bring it up as a new topic.
I set up a forum with several boards. When I move between boards/pages, the "New Topic" button no longer works. It is certainly something to do with the cache.
I did some testing and basically did this when going to another page/board:
protected void Page_PreInit(object sender, EventArgs e)
{
SetNextImage();
if (!IsPostBack)
{
ResetCacheAll();
}
}
protected void ResetCacheAll()
{
// clear all cache keys
YafCache.Current.Clear();
}
This obviously fixes the cache issue, but obviously isn't a good solution.
It seems to be board/user specific. Is board/userid combo saved to the cache?
Has anyone found a solutions to this yet?
Thanks again!!
Edited by user
14 years ago
|
Reason: Not specified