Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Log out action method - forum topic by KontantinK

$
0
0

Hello,
if the user log out from viewpoint, I want to execute a method in my portlet. Is there a way how can I do it? If the user open the portlet, the portlet opens a connection to the db over the class TeradataDataSourceFactory. If the user go out from the portlet, I want to close the connection. I Know I can close and open the connection by execute one or a group of sql statements. I cannot add a connection pool by starting the server, because the properties of the connection will be set over viewpoint.
I know I can use the a javascript method by removing the portlet, but this is not the solution that I´m searching for.
 

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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