Programming Manual

NAURTECH WEB BROWSER SMART CLIENTS FOR WINDOWS CE .NET / POCKET PC
Web Browser Programming Guide Page 16
</form>
...
<script language=javascript>
function loadfields()
{
var username = document.CEBrowseX.CETerm.GetProperty(
"app.usertext.1" );
if (username)
{
// Load with cached user name for this device
document.form1.user.value = username;
}
}
...
</script>
When the login is successful the application would store the current user name
for the next login attempt
...
function onlogin( username )
{
// Login was successful
document.CEBrowseX.CETerm.SetProperty( "app.usertext.1",
username );
}
...
There are some limitations with User Text. The values are shared among all
emulator sessions and currently there are only 64 slots available.