Author: BossDida | Posted on: 7/4/2009 7:25:16 AM | Views : 317

 Hi all,
I'm implementing a web site in which forms authentication and membership profile is used. I don't use a separate login page but a popup div panel that uses ajax authentication underneath.
Everyting is fine but Sys.Services.AuthenticationService.logout() function of ajax makes a full post back. Is it supposed to in that way ? I think something is wrong with it.
Here are code snippet that I use:
Markup:
<a id="linkLogout" style="cursor:pointer;" onclick="return Logout();">Exit</a> JavaScript:
function Logout() { // alert('Logout method invoked !'); Sys.Services.AuthenticationService.logout(null, onLogoutCompleted, null, ''); //AuthenticationStatus(); return false; } No metter what I'm doing, after Sys.Services.Authe ...

Go to the complete details ...