This is a migrated thread and some comments may be shown as answers.

[Solved] AJAX with FormsAuthentication

1 Answer 121 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
skysailor
Top achievements
Rank 1
skysailor asked on 12 Jul 2007, 06:14 AM
Hi,
This isn't strictly a RadControls problem but I'm hoping that someone here has some experience that would help.
I'm using a RadAjaxManager to do a callback. The callback fails with the PageRequestManagerParserErrorException error. But it only fails if a user has logged in with formsAuthentication first. The same page before logging in works. Then after logging in it doesn't work. Any ideas on how to work around this?

1 Answer, 1 is accepted

Sort by
0
skysailor
Top achievements
Rank 1
answered on 12 Jul 2007, 07:39 AM
I found the problem! In case any of you experience this then I'll tell you what it is.

I have a custom role manger class in my web application. In web.config I have set the property cacheRolesInCookie to true. This causes the problem. If you turn it off then Ajax callbacks will work. This is a bug in the AJAX framework.

More details here :-
http://forums.asp.net/p/1069384/1555817.aspx#1555817
http://forums.asp.net/t/1066976.aspx
Tags
Ajax
Asked by
skysailor
Top achievements
Rank 1
Answers by
skysailor
Top achievements
Rank 1
Share this question
or