Problem using custom login url

Everything about the SmartFoxBits UI Components for SmartFoxServer 1.x. Post your questions, suggestions and bug reports.

Moderators: Lapo, Bax

Post Reply
NateDog
Posts: 52
Joined: 26 Jun 2006, 13:25

Problem using custom login url

Post by NateDog »

I'm trying to use the loginbox component with the option to use a custom url for authentication.

I've hardcoded the return on the custom login url to just be "&res=OK" (and also tried "res=OK") and the login box just shifts down for a split second and clears itself but I don't get logged in.

I used this code to make sure my url was entered correctly:

Code: Select all

var myVars = new LoadVars();

myVars.onLoad = function() {
	trace(this.res);
}

myVars.load(loginBox_mc.customLoginPage);
and that works and outputs "OK" as expected. Any ideas? Any way I can debug this to see what's going on?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Hello, we just made a quick test using this simple php page:

Code: Select all

<?php
echo "res=OK";
?>
Everything works perfectly. If we change OK to KO, a login error is displayed in the LoginBox.
Can you post the content of your test page?
Paolo Bax
The SmartFoxServer Team
Post Reply