Skip to main content

Uniface 9: redirect code to login page after password change

  • November 19, 2018
  • 1 reply
  • 0 views

Jan Cees Boogaard

redirect code to login page after password change

Author: lalitpct@gmail.com (lalitpct)

In the password screen when the password is changed successfully, i would like the user to get the login screen again.
IS there any way that I can redired it to aps code or usysidx screen \\

Below code doesnt work
======================
message/info "Your new password has been stored successfully"
close
newinstance "usysidx","usysidx"

Logs
=====
(_detail) SETPASS:50  message/info "Your new password has been stored successfully"
Object size=0000028 msg/u_okbutton@smart@usa.msg
Object NOTFOUND     msg/u_mess@smart@usa.msg
(_detail) SETPASS:51  close
(_detail) SETPASS:52  newinstance "usysidx", "usysidx"
Object Lookup: External Path / Dbms
Object Lookup: External Path / Dbms
Object size=0000388 sig/usysidx.sig
(_detail) SETPASS:53  [-58] endif
(_detail) SETPASS:70  [-58] endif

 

1 reply

Jan Cees Boogaard

redirect code to login page after password change

Author: lalitpct@gmail.com (lalitpct)

In the password screen when the password is changed successfully, i would like the user to get the login screen again.
IS there any way that I can redired it to aps code or usysidx screen \\

Below code doesnt work
======================
message/info "Your new password has been stored successfully"
close
newinstance "usysidx","usysidx"

Logs
=====
(_detail) SETPASS:50  message/info "Your new password has been stored successfully"
Object size=0000028 msg/u_okbutton@smart@usa.msg
Object NOTFOUND     msg/u_mess@smart@usa.msg
(_detail) SETPASS:51  close
(_detail) SETPASS:52  newinstance "usysidx", "usysidx"
Object Lookup: External Path / Dbms
Object Lookup: External Path / Dbms
Object size=0000388 sig/usysidx.sig
(_detail) SETPASS:53  [-58] endif
(_detail) SETPASS:70  [-58] endif

 

in theory:

close the database path

and try it with an open statement.


Author: ulrich-merkel (ulrichmerkel@web.de)