Hi Les,
From your description, in your ASP.NET 2.0 web application which use forms
authentication, it will report the following error,correct?Event code: 4005
Event message: Forms authentication failed for the request. Reason: The
ticket
supplied has expired.
<<<<<<<<<<
As for the ticket expired issue, is it frequently occuring or just occur
after a long time or randomly? Also, is your ASP.NET web application hosted
as a webfarm model? Based on my quick research, there are some existing
issue with the similar symptom:
** When your ASP.NET application using Formsauthentitcation hosted in
webfarm environment, and if you haven't manually specify the machinekey,
the authentication ticket encrypted by one server will fail to be valid on
another server.
** Another possible scenario is when the forms authentication based
application has restart or recycle, then the previous generated ticket will
fail to be decrypted by the new application instance(since autogenerated
machinekey will vary between different application instance).
Here are two web articles you can refer to:
http://msmvps.com/blogs/omar/archive/2006/08/20/108307.aspx
http://dotnetusergroup.com/blogs/omar/archive/2006/09/13/236.aspx
and to better understand how the forms authentication and its ticket works,
you can have a look at the following reference:
#Explained: Forms Authentication in ASP.NET 2.0
http://msdn2.microsoft.com/en-us/library/aa480476.aspx
#Understanding the Forms Authentication Ticket and Cookie
http://support.microsoft.com/kb/910443
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.