locked
Sys.Services.AuthenticationService on IE 11 RRS feed

  • Question

  • User-646211402 posted

    I have been using Sys.Services.AuthenticationService for a couple of years on my website but since I installed Internet Explorer 11 it is giving me problems. I use it for logging in a user without the page refreshing. I used this code that I found as an example (I have pretty much the same code myself):http://msdn.microsoft.com/en-us/library/vstudio/bb398896%28v=vs.100%29.aspx

    It is a very good way of logging in a user as it works in conjunction with the users that are in the ASP.NET membership tables. The above link does not show the web service but I am using one. I have a file called AuthService.asmx which calls AuthService.cs in the App_Code folder. This contains all the methods that correspond to the javascript (login, log out etc.) When they are called in the javascript they get called in the C# also.

    My site is a Visual Studio ASP.NET website and I have placed all the javascript code from that link in the site.master page. It takes the username and password values from the aspx page. Once it goes into the Sys.Services.AuthenticationService.login part it goes to a back-end web service and calls a WebMethod called login. When I set a breakpoint on this method, run my site on localhost and call the login on Firefox or Chrome, it jumps into the method and works perfectly, logging the user in everytime.

    In Internet Explorer it does not jump into the method, it just goes as far as the javascript call Sys.Services.AuthenticationService.login. The usernames and passwords are correct and I have authenticationService enabled in the web.config file. It is only an issue with Internet Explorer 11 as it worked perfectly on older versions.

    If I type the name of the web service into IE 11's address bar, it displays the login web method and I can actually enter the username and password and then it jumps into the method in Visual Studio. It just won't do it in the javascript and as I say, it is only in IE 11.

    I know there have been issues with Ajax on IE 11 since it was released, this seems like another one. Has anyone had this issue before and resolved it?

    Thank you for any replies.

    Saturday, August 30, 2014 11:33 AM

Answers

  • User-417640953 posted

    Hi madfeen,

    Thank you post the issue to our forum.

    Based on your description, I see your code using Sys.Services.AuthenticationService works fine in other version IE browsers.

    Especially not work with IE 11. That means your code works fine and the problem caused by the IE11. So I suggest you post the issue

    to IE forum and get better response.

    http://social.technet.microsoft.com/Forums/ie/en-US/home?forum=ieitprocurrentver

    Thanks.

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 3, 2014 5:11 AM

All replies

  • User-417640953 posted

    Hi madfeen,

    Thank you post the issue to our forum.

    Based on your description, I see your code using Sys.Services.AuthenticationService works fine in other version IE browsers.

    Especially not work with IE 11. That means your code works fine and the problem caused by the IE11. So I suggest you post the issue

    to IE forum and get better response.

    http://social.technet.microsoft.com/Forums/ie/en-US/home?forum=ieitprocurrentver

    Thanks.

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 3, 2014 5:11 AM
  • User-646211402 posted

    Hi madfeen,

    Thank you post the issue to our forum.

    Based on your description, I see your code using Sys.Services.AuthenticationService works fine in other version IE browsers.

    Especially not work with IE 11. That means your code works fine and the problem caused by the IE11. So I suggest you post the issue

    to IE forum and get better response.

    http://social.technet.microsoft.com/Forums/ie/en-US/home?forum=ieitprocurrentver

    Thanks.

    Best Regards!

    Thank you, I will do that.

    Friday, September 5, 2014 2:10 PM