We have a custom module resource clearinghouse that can be accessed here:
http://www.govoter.org/DocumentsTraining/ResourceClearinghouse/tabid/95/Default.aspx
When a user is logged in, this module works perfectly. The user can select any number of filters and have the list of resources, defaulting to all, updated to show only the resources that match the specified filter(s). The pagination buttons function correctly to navigate across pages of results.
However, when a non-logged in user access the page, random and incorrect behavior is experienced. The events do not fire correctly, such that checking a filter, which fires an event, causes the page to refresh but the checkbox remains unchecked and the list of resources is not updated. The same behavior experienced with the pagination buttons; the page reloads, but the resources are not updated and the page number remains at the prior page.
Both the set of selected filters and the current page are stored in the viewstate. I tried converting this to a session variable, but the same behavior is experienced. This tells me that long with events not firing correctly, variables are not being stored correctly in the viewstate/session.
I have tried debugging the problem but experience erratic results. Sometimes, at random, all of the filters and resources will disappear. I must close and re-open the browser to see the filters & resources again. This is on fresh page load when no filters are selected and all resources should be available.
What would cause this kind of behavior when a user is logged in versus a user who is not logged in? I can provide the code-behind for the viewing page of this module that is behaving incorrectly if necessary.
Thanks in advance for any assistance you can provide.