Previous Topic: Enabling Multiple Organization SupportNext Topic: Customizing the Height and Width of the VPN Client User Interface


Enabling Automatic Saving and Retrieval of User Information on the Client Side

To configure the VPN Client application to automatically save and load user information on the client side, you must set the value of the remember parameter of a form field to true in the aidauth.jsp file. Configuring the remember parameter allows the field value to be stored in and retrieved from the local file system.

To auto-load user information, in addition to setting the remember parameter, you must include the loadRememberFields parameter in the onLoad attribute of a document tag. This means that as soon as the UI is rendered, the fields configured with the remember=true parameter are populated with the locally stored values.

Similarly, to store the values entered in the fields with remember parameter, call the client-side method, storeRememberFields. This method, which reads and stores values of the configured fields in the local file system, must be called when the form’s Submit button is clicked.

Additionally, to store the values entered in the fields with remember parameter, you must include the storeRememberFields parameter in the actionName attribute of a button. When you click this button, the values are stored in the fields with the remember parameter.

The following example shows how to configure the information entered in the user ID and profile fields so that they can be stored and retrieved automatically:

<document onLoad="populateProfiles,loadRememberFields" width="300" height="350" xmlns="http://integrations.arcot.com/vpn/client/XMLSchema/1.0">
<body bgcolor="255,255,0">

<form actionUrl="controller_vpn.jsp">
<textField name="userid" colspan="2"focus="true" remember="true"/>
<select name="profile" colspan="2" remember="true"><font name="Arial" size="12"/></select>
<button name="Login" actionName="storeRememberFields,signChallenge,submitPage" padding-left="10" padding-right="20" hotkey="L" default="true"/>
<button name="Cancel" actionName="closeApplication" colspan="1" padding-left="0" padding-right="10" hotkey="C"/>

</form></body></document>