I want to do what would be typical in a non-NetTalk Webserver app. So, using example app4, I've added a file (TTUSER) to the dictionary and populated the file with two records.
In the ValidateUpdate 2 End where the example says login checking code should go I have this:
access:ttuser.open
TTU:UserId=upper(p_web.getsessionvalue('loc_login'))
case access:ttuser.fetch(TTU:kUserID)
of level:notify orof level:fatal
.
.
.
else
It always takes the "of level:notify orof level:fatal" path regardless of the fact that I'm using a valid lookup value.
Suggestions? Perhaps I don't understand what is required to do what I want to do.
Drew