- Timestamp:
- Jul 23, 2011, 12:34:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EWD/r/KBANDemo.m
r1202 r1208 13 13 D VALIDAV^XUSRB(.RETURN,$$ENCRYP^XUSRB1(un_";"_pw)) 14 14 n DUZ s DUZ=RETURN(0) 15 i DUZ'>0 s error="No a valid login"15 i DUZ'>0 s error="Not a valid login" 16 16 i error="" d ; everything is okay; save symtab crap 17 17 . d mergeArrayToSession^%zewdAPI(.DUZ,"DUZ",sessid) … … 21 21 EXIT D:$G(DUZ) LOGOUT^XUSRB 22 22 Q error 23 SignonTxt(sessid) ; 24 S U="^" 25 D setSessionValue^%zewdAPI("signontxt","Welcome to Wonderful Veldt of EWD") 26 Q "" 23 27 getUsernames(sessid) 24 28 d clearList^%zewdAPI("user",sessid) … … 31 35 quit "" 32 36 getInfo(sessid) 37 S ^KBANSAM=1 33 38 n DUZ s DUZ=$$getSessionValue^%zewdAPI("user",sessid) 34 n Name s Name=$$GET1^DIQ(200,DUZ ,.01)39 n Name s Name=$$GET1^DIQ(200,DUZ_",",.01) 35 40 n officePhone s officePhone=$$GET1^DIQ(200,DUZ,"OFFICE PHONE") 36 41 d setSessionValue^%zewdAPI("Name",Name,sessid)
Note:
See TracChangeset
for help on using the changeset viewer.