Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Authentication form

$
0
0
Authentication form
Web Connection 5.0
Authentication form
03/06/2012
07:38:45 AM
3G60GE2PE Show this entire thread in new window
Gratar Image based on email address
From:
To:
All 
Attachments:
None
Dear Rick,
I would like to show an authentication form by loading a web page. About authentication, your help says "The form is self-contained and keeps the current URL alive", but unfortunately I am able to show an authentication form.
I tried your example on a webpage with an lblMessage, but nothing happens.
Please could you explain?
Thank you very much

<code="vfp">
*** Basic UserSecurity
cAuthenticationMode = "UserSecurity"

*** Class used for UserSecurity style authentication
cAuthenticationUserSecurityClass = "wwUserSecurity"

*** A user object for the authenticated user
oUserSecurity = null

*** The name of the user that was authenticated
cAuthenticatedUser = ""

*****************************************************************
* OnLoad (empy form)
****************************************
FUNCTION OnLoad()

IF !Process.Authenticate()
RETURN
ENDIF

this.lblMessage.Text = Process.cAuthenticatedUser + " " + ;
Process.oUserSecurity.oUser.Fullname


ENDFUNC
* Onload



Viewing all articles
Browse latest Browse all 10393

Trending Articles