Link to home
Start Free TrialLog in
Avatar of njgroup
njgroup

asked on

jquery ajax problem (un autherized) in asp.net web page

hi,

I have ajax method using jquery and it works so fine, but after some time of keeping the page opened, if I click the button (to request web method from server) I got this error message in firebug:

JSON:
Message
      "Authentication failed."
      
StackTrace
      null
      
ExceptionType
      "System.InvalidOperationException"

Response:
{"Message":"Authentication failed.","StackTrace":null,"ExceptionType":"System.InvalidOperationException"}


so how can I fix this problem?
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

what is the statusCode returned? is it 401?
if u refresh the page are you able to make it run?
Avatar of njgroup
njgroup

ASKER

yes, if I refresh the page, its gonna run fine
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial