There is problem in login and logout, [message #458962] |
Wed, 02 June 2010 13:42 |
soul_trapped
Messages: 2 Registered: June 2010
|
Junior Member |
|
|
I have created logon page including items v_username, v_password and login button, i used trigger(when-button-press) on login button and used cursor to match the username and password. I have inserted user_name and password, it matched with database and take me to the main page.
Now i have created logout button on main page, Now i don't know what to used on this button to get me out of the main page to login page and clear the previous login and password.
please help me out
THANKS IN ADVANCE
|
|
|
|
Re: There is problem in login and logout, [message #459088 is a reply to message #459010] |
Thu, 03 June 2010 05:57 |
soul_trapped
Messages: 2 Registered: June 2010
|
Junior Member |
|
|
thanks for reply
i did it but when i get back to the login page, my username and passowrd still showing on the page, i used these built-in for logout and clear_form
for logout and clear_form
in the trigger when button pressed;
logout('form_name');
clear_form('form_name');
but after using clear form it must have to clear the user name and password from the items but these are still showing my user_name and password
KINDLY SHARE YOUR IDEA WHAT TO DO ?
THANKS IN ADVANCE
|
|
|
|
|