Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 15th, 2012, 10:38 PM
Authorized User
 
Join Date: Dec 2011
Posts: 39
Thanks: 9
Thanked 0 Times in 0 Posts
Default I keep getting logged out of my ASP.NET site.

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.

Last edited by IceThatJaw; June 15th, 2012 at 11:02 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET site security SillyPants ASP.NET 4 General Discussion 0 December 14th, 2011 05:25 PM
how to access the other site information in Asp.Net web site arunkongara ASP.NET 4 General Discussion 1 July 28th, 2011 10:16 AM
getting number of users logged into the site g_vamsi_krish ASP.NET 1.0 and 1.1 Professional 6 May 26th, 2006 09:33 AM
ASP.Net site timing out alex_read ASP.NET 1.0 and 1.1 Professional 2 January 29th, 2005 02:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.