UPDATE - Now I am really confused. While debugging my site I stumbled upon another error. I got the old:
Code:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
So I autogenerated a machine key from the web and pasted it in my web config and for some really odd reason it fixed my problem of logging me out of my production site every minute or so. Why? I have no idea.
To Imar, if you actually click on this thread I was wondering if you had any ideas on another little problem I'm having.
On my masterpage I have a search textbox and an imagebutton and originally I had set a panel to make it so that hitting the return key would set off the button's click event. But since I found out that clicking enter on ANY textbox set it off I ended up removing the panel. The problem is that for some reason it still fires any time you hit the enter key in any textbox.
I checked to see if maybe I had some javascript on the master page setting it off but I don't. And in the masterpage's code behind there is just the button's on_click event.
Any idea of what the heck if going on?
Thanks.