Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to manage login/logout page from a native app

$
0
0

Hi

 

I have a native web app that is served out of the HANA repo. (for example, from http://hanamaster/myapp/index.html). I am using Form Authentication on my package "myapp".

 

I have 2 questions:

 

Q1. How can tailor the background image of the HANA login form to an image from my package?

 

Q2. How to manage user logout? Presently, I am using a logout button on my page which redirects to "/sap/hana/xs/formLogin/login.html". Then the user gets a HANA logout page, with a button to logout. Clicking that button logs out the user and immediately is shown a new Login form (same as the initial login form). When the user logs in, it shows the HANA logout form. If user clicks the logout button, then it shows a brand new Login form. And so on and on and on.

    

What I would prefer is either upon logout show a different image from "myapp" or kill the browser tab. Another alternative can be that upon logout, user gets a new HANA login page which takes them back to /myapp/index.html. But how?

 

Thanks and regards

Dinesh


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>