Sign In Button on Web Page

Hello

I have created a custom logon page that opens when you go onto the server via the web.

But, i keep getting the form processed document. I need it the check to see if you are a vaild user or if you have entered the correct password etc…

there is code in the feild “ReasonType” but it seems to play no part…

do i need to add code to the sign in button to tell it to login and then refresh the page to give the output… or am i totally missing something ?

If so, what are the commands please ?

Thanks alot

Subject: Sign In Button on Web Page

I have limited knowledge with login pages. But did you check “$$Return” field to redirect to correct destination page ?

Raj

Subject: RE: Sign In Button on Web Page

OK

But would i need to add code to tell it where to go based on if the user enters the password correctly… or incorrectly

there is already text in the computed field in the computed text to give errors… it seems the functions are already there, but do not work… any help please ?

here is the code from the computed text feild on the login form

sDefault := “Please identify yourself:”;

sNotEnough := “%1, you are not authorized to access %2.” + @NewLine + @NewLine + “Please sign in with a name which has sufficient access rights:”;

sInvalid := “You provided an invalid username or password.” + @NewLine + @NewLine + “Please sign in again:”;

sExpired := “Your login has expired. Please sign in again:”;

sOutOfSync := “%1, your login has been invalidated due to a timing issue with the login servers.” + @NewLine + @NewLine + “(The servers may need to have their clocks synchronized to resolve this.)” + @NewLine + @NewLine + “Please sign in again:”;

“—DNT—”;

User := @ProperCase(@Name([CN]; @UserName));

URL := @Right(redirectTo; “/”);

URL := @If(@Contains(URL; “?”); @Left(URL; “?”); URL);

List := User:URL;

@For(n:=1; n<=@Elements(List); n:=n+1;

sNotEnough := @ReplaceSubstring(sNotEnough; “%” + @Text(n); List[n]);

sOutOfSync := @ReplaceSubstring(sOutOfSync; “%” + @Text(n); List[n])

);

@If( reasonType = “0”; sDefault;

reasonType = "1"; sNotEnough;

reasonType = "2"; sInvalid;

reasonType = "3"; sExpired;

reasonType = "4"; sOutOfSync;

sDefault

)

Subject: Sign In Button on Web Page

Using DOMCFG.NSF is probably the best approach to this.