Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Serious issue: parts of my page render as not logged in, parts as logged in. Help!

Reply
Thread Tools

Serious issue: parts of my page render as not logged in, parts as logged in. Help!

 
 
pcloches@gmail.com
Guest
Posts: n/a
 
      04-11-2007
I'm having a very difficult time with some of our new pages. We've
moved to a web farm, and it seems in spurts it will come where parts
of my page think the user is logged in, and parts think the user is
not logged in. It seems to happen to an entire control. (None of the
controls have OutputCache set)

For example, our login control on top will appear showing the user is
logged inw hen they have been redirected to RegNewUser, but RegNewUser
will display instead of redirecting as if the user were actually
logged in.

The MachineKey option in the web.config is set to a generated SHA1, so
the viewstate moves between the web servers just fine.

This seems to come in spurts where it will happen to a lot of users at
once, then it will stop coming. This is a serious problem on a
production website, I just don't know where to turn or how to debug --
everything looks fine!

I am also getting Forms Authentication failed events in my log:

Event code: 4005
Event message: Forms authentication failed for the request. Reason:
The ticket supplied has expired.
Event time: 4/11/2007 12:42:27 PM
Event time (UTC): 4/11/2007 7:42:27 PM
Event ID: 0a0a593d17984b41aa13b93254491326
Event sequence: 1161
Event occurrence: 13
Event detail code: 50202

Application information:
Application domain: /LM/W3SVC/1/Root-2-128207889508981002
Trust level: Full
Application Virtual Path: /
Application Path: E:\htdocs\mysite-pri\
Machine name: WEB1

Process information:
Process ID: 400
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
Request URL: http://www.mysite.com:8080/default.aspx
Request path: /default.aspx
User host address: 10.10.1.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Name to authenticate:

Custom event details:

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      04-12-2007
Make sure the cookie path is the same on all machines. Make sure that the Web
Site number (e.g., /LM/W3SVC/1/Root-2-128207889508981002 - the "/1/" after
W3SVC) is the same.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net




"" wrote:

> I'm having a very difficult time with some of our new pages. We've
> moved to a web farm, and it seems in spurts it will come where parts
> of my page think the user is logged in, and parts think the user is
> not logged in. It seems to happen to an entire control. (None of the
> controls have OutputCache set)
>
> For example, our login control on top will appear showing the user is
> logged inw hen they have been redirected to RegNewUser, but RegNewUser
> will display instead of redirecting as if the user were actually
> logged in.
>
> The MachineKey option in the web.config is set to a generated SHA1, so
> the viewstate moves between the web servers just fine.
>
> This seems to come in spurts where it will happen to a lot of users at
> once, then it will stop coming. This is a serious problem on a
> production website, I just don't know where to turn or how to debug --
> everything looks fine!
>
> I am also getting Forms Authentication failed events in my log:
>
> Event code: 4005
> Event message: Forms authentication failed for the request. Reason:
> The ticket supplied has expired.
> Event time: 4/11/2007 12:42:27 PM
> Event time (UTC): 4/11/2007 7:42:27 PM
> Event ID: 0a0a593d17984b41aa13b93254491326
> Event sequence: 1161
> Event occurrence: 13
> Event detail code: 50202
>
> Application information:
> Application domain: /LM/W3SVC/1/Root-2-128207889508981002
> Trust level: Full
> Application Virtual Path: /
> Application Path: E:\htdocs\mysite-pri\
> Machine name: WEB1
>
> Process information:
> Process ID: 400
> Process name: w3wp.exe
> Account name: NT AUTHORITY\NETWORK SERVICE
>
> Request information:
> Request URL: http://www.mysite.com:8080/default.aspx
> Request path: /default.aspx
> User host address: 10.10.1.1
> User:
> Is authenticated: False
> Authentication Type:
> Thread account name: NT AUTHORITY\NETWORK SERVICE
>
> Name to authenticate:
>
> Custom event details:
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing rails render method outside of view / Decorating render Glenn Gillen Ruby 0 11-17-2006 02:30 PM
LoginView does not show a logged in user as being logged in keithb ASP .Net 0 02-16-2006 05:20 PM
Page.Render do not render complete page Lau Lei Cheong ASP .Net 1 05-15-2004 04:10 AM
Parts parts....PARTS!!! ARGHHH dstvns A+ Certification 8 01-07-2004 07:57 PM
Re: a serious question for a non-serious cause... henry DVD Video 1 11-08-2003 04:38 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57