.NET events not firing & no viewstate/session on DotNetNuke module

We have a DotNetNuke custom module that is giving strange results when a user is not logged in.  The module and page are publicly-accessible, however the code only functions correctly when a user is logged in.  When the user is logged in, the access to the viewstate/session and event firing works with no problem.  However, when a public user who is not logged in tries to access the same page, the event firing does not function correctly and variables that are saved to the viewstate/session are not properly stored across page refreshes on postback.

I have attached the problematic Visual Basic code-behind file.  There are several events on the page and none fire correctly as well as two variables that are maintained across the session (using ViewState but I tried swapping this out for Session).

We do not know what could be causing the problem for public users nor why logged in users to the DotNetNuke platform experience correct behavior.

You can view the public behavior here:

Thanks in advance for any assistance you can provide.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

make sure that your module is not using the logged in user info as it seems that its looking for the user session /cookie  to get some info and not finding it will not fire the event you are trying to fire .

i can't find the module code posted and i need it to help you more so please repost it .

cheers ,
dageyraAuthor Commented:

The issue was that the module was set to enable caching (which is the default of any DotNetNuke module).  Once caching was disabled for the module, everything worked perfectly.  Thanks for your assistance.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.