473,383 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Timeout and Firefox

my website is based on form authentication. in my web.config I have
something like
<authentication mode="Forms">
<forms name=".ASPXAUTH"
loginUrl="~/modules/Login.aspx"
protection="All"
timeout="20"
/>
</authentication>
Everytime user timeout, the system will kick him back to the login page and
asked them to sign in again. it works fine for IE and safari. But in Firefox
funny thing happen, everytime it's timeout and I tried to login again. error
comes out. the error message is

Validation of viewstate MAC failed. if this application is hosted by a web
farm or
cluster, ensure that<machinekeyconfiguration specifies the same
validationkey and validation
algorithm.
autogenerate can not be used in a cluster.

I do not have webfarm in my development environment.
In my login page, I put a login control with totally customized template
inside a updatepanel. Can anyone help me on this? why this happen and how to
resolve this?

Thx a lot
Victor
Jun 1 '07 #1
3 1569
Hi Victor,

I tried using a very simple web site and wasn't able to reproduce the issue
you mentioned using FireFox 2.0. Would you please tell me more about how to
reproduce the issue on my side? Thanks.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 1 '07 #2
Hi Walter:
I really dont know how to give you much more details about this error. I
posted most of my code in my previous page. But I found a new thing about
this error, It maybe only happens in Winxp. Coz I tried my code in one of my
2003 server. and it seems working fine. But I am not quite sure it's xp
cause this problem.

Do you have any idea why this happen?
Cheers
Victor

"Walter Wang [MSFT]" <wa****@online.microsoft.comwrote in message
news:F7*************@TK2MSFTNGHUB02.phx.gbl...
Hi Victor,

I tried using a very simple web site and wasn't able to reproduce the
issue
you mentioned using FireFox 2.0. Would you please tell me more about how
to
reproduce the issue on my side? Thanks.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.

Jun 5 '07 #3
Hi Victor,

I don't think there will be much difference between how IE and Firefox
handles session timeout. When a session timeout, the server will return an
error and redirect to the login page. This is all very basic http
operations, and it should not relate to the server.

Is it possible that you're using some addon/extension in your Firefox
installation that might interfere with this?
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 5 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: E Sullivan | last post by:
I am having a time out issue when multiple users are accessing the server. This time out does not happen all of the time. My understanding is that the time out value is actually set in two places....
4
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
2
by: Martin Dew | last post by:
Hi, I am using ASP.Net for a website, I use the following code; <authentication mode="Forms"> <forms name=".ADASTRATEAROUNDS" loginUrl="login.aspx" protection="All" timeout="30" path="/"> ...
6
by: somaboy mx | last post by:
Hello I need people to be able to complete long text blocks in my cms before their session times out. From the php documentation I gather that ini directive session.gc_maxlifetime would be the...
2
by: David Lozzi | last post by:
Hello, I have a website I'm developing that will query a SQL database for basic lists. If the database is unavailable, the site will continue to function as a static site. The problem I'm...
22
by: Nick Craig-Wood | last post by:
Did anyone write a contextmanager implementing a timeout for python2.5? I'd love to be able to write something like with timeout(5.0) as exceeded: some_long_running_stuff() if exceeded:...
25
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
2
by: Astrix | last post by:
Hi, I am working on a problem w.r.t session.timeout I have a code to redirect to this new page after 20 seconds. Response.AppendHeader("Refresh", Convert.ToString((Session.Timeout * 60) -...
0
by: John Nagle | last post by:
urllib has a "hole" in its timeout protection. Using "socket.setdefaulttimeout" will make urllib time out if a site doesn't open a TCP connection in the indicated time. But if the site opens...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.