cancel
Showing results for 
Search instead for 
Did you mean: 

Logging off from HTML template

0 Kudos

Hello!

What command do I need to issue to log off the WAS server from an HTML template? Is it possible to modify the push-button logic below to do that? We are on 6.40, integrated ITS.

<input type=submit name=<what do I put here?> value=" EXIT ">

Thanks!

John

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

try this

<a href="<currentpage relativeurl + &sap-sessioncmd=close&sap-exiturl= (the url to which it should be redirected to)>">Log Off</a>

Regards

Raja

0 Kudos

Hi Raja;

Thanks for the response! I tried your suggestion, but I get the dreaded error "The following error text was processed in the system W07 : Templateinterpretation abgebrochen, Template nicht vorhanden". Any suggestions?

Thanks!

John

athavanraja
Active Contributor
0 Kudos

where is the exit url is pointg to.

did you check in SM04 whether the HTTP session is killed by calling this url.

make sure the sap-exit url is url escaped (example http%3a%2f%2fhost%2edomain%2ecom%3aport)

Regards

Raja