Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hello,
i have one table(User) in database and this table have some users data like username and password.
So when i login with user present in database by using username(abc) and password(abc@123) it's logging in successfully but when i tried to logout this user by using logout function, it's logging out the thingworx composer user instead of logout the user present which i have in my database. So how i logout the user username(abc) and password(abc@123) ? please share the resolution on this......
NOTE:- 1. Have created mashup for users to login and logout using database.
2. Required user session and only logout the username, password not an whole composer.
3. I have user from database and want only login and logout that database only.
Hi,
I think you should call the LogOut funcion which is available in Mashup composer on the right side. It basically take care of all logout formalities behind the scene. You can call some service before making call to this function to set some flag in DB to show if the user is logged in or log out.
Regards
Shyam
Can you please provide syntax or demo code for flag in DB
or for ThingWorx service
HI,
Sorry but I don't have any such code. You can use stored procedure/ update query to update the flags as per need.
Regards
Shyam
There is a terminate user session method pls check it out...
hi @BS_10072462
Can you please clarify the following points?