C# - WCF AuthenticationService.IsLoggedIn?

Nov 22, 2010

I use separate WCF AuthenticationService for auth routines. Methods: ValidateUser,Login return true, so it seems that all work properly, but when I call IsLoggedIn() after consume Login() method, it returns false.

AuthService settings:

<?xml version="1.0"?>
<configuration>
<connectionStrings>

[code]...

View 1 Replies


Similar Messages:

AJAX :: Sys.Services.AuthenticationService?

Nov 29, 2010

I am attempting to perform JS client based authentication. I have enabled the Microsoft CDN via the ScriptManager ( EnableCdn="true" ).....so I expect to see all AJAX libraries resident within the client, however if I go into DEBUG mode I do not see Sys.Services.AuthenticationService. I am using ASP.NET 4, VS.NET 2010.Has something changed in ASP.NET 4 ?

View 1 Replies

Security :: AuthenticationService.login Is Undefined?

Jun 15, 2010

usually I read and find answers but this one is driving me nutzo.I use the authenticationService in many an application with no probelm.I recently added it to a project using .NET 3.5 and the AjaxControlToolkit. Everything was going well until I tried to authenticate using the above method.I set a breakpoint in the JavaScript and inspect the elements to see that:

1. Sys is defined.
2. authenticationService is defined.
3. authenticationService has members like _path.
4. authenticationService.login is undefined.

if I change the <AjaxControlToolKit:ToolKitScriptManager> to a <asp:ScriptManager> everything works fine except that the roundedCornersExtender wants the ToolKitScriptManager.

View 2 Replies

Authentication.Login: AuthenticationService Is Set To Null?

Mar 6, 2011

I am having a nervous-breakdown over the following:I want to automatically login a recently created user that has been added to the database.User data is reflected in the database (SQL Server 2008) after being created.The login code is below:

DatingSite.Views.Signup signupPage = e.Content as DatingSite.Views.Signup;
signupPage.SignupComplete += (se, ev) =>
{

[code]...

View 1 Replies

Error - EndpointNotFoundException The Service Web-AuthenticationService.svc Does Not Exist

Mar 9, 2011

We are trying to deploy a Silverlight + WCF RIA Services application to an IIS 6 web server. When the silverlight application starts in the browser I get an error. Using Fiddler, I can see the real error:

EndpointNotFoundException The service Web-AuthenticationService.svc does not exist.

Sure enough, if I try to browse to the service in a browser, it is not found:

I have researched this error as much as I could, trying these things:

Making sure RIA Services assemblies are included in the site's bin folder.

Then, Making sure RIA Services is installed on the server.

Ensuring only 1 authentication scheme is being used (both in web config & in IIS site settings.) Triple checking that the config sections are present as explained here.

Update:

I manually added the svc file to the ClientBin folder and the problem was "resolved". I'm now onto a Timeout problem when the login query is called. Why do I have to add the svc file manually?

View 2 Replies

Security :: Membership Provider (Authentication Service): From A *.htm File Calling The AuthenticationService?

May 4, 2010

I'm developing a web application using EF4, POCO's, WCF Data Services and the presentation tier (HTML, CSS, JavaScript, Ajax - NO WebForms). For security I would like using ASP.NET Membership Provider (Authentication Service): from a *.htm file calling the AuthenticationService. I executed aspnet_regsql.exe (to create the necessary database tables) and modified my web.config file:

<configuration>
<system.web>
<roleManager enabled="true" />

[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved