Skip to Content
0
Former Member
Aug 03, 2005 at 11:07 AM

problem in closing the session.

27 Views

Hi,

I have problems in closing the sessions of the application I wrote.

The is the method that I have used in closing the session on event ONUNLOAD.

var url="";
<%
  if runtime->session_manager->is_running = 0.
%>
<%
  CLASS cl_bsp_login_application DEFINITION LOAD.
%>
var url  = "<%= CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL( page = page )%>";

<%
  IF do_not_delete_sso2_cookie IS NOT INITIAL.
%>
  url += "&bsp_do_not_delete_sso2_cookie=X";
<%
  ENDIF.
%>

var prop = 'height=100,width=400,top=-2000,left=-2000';
var out = window.open(url,'_blank',prop);
<%
  endif.
%>

When I close the window a popup is opened and says that loging off....

But when I open the same url with the link of my home page,

the same page is opened with all the data the same when I closed the window.

Could u please tell me where In my method I am going wrong..

Regards,

venkatesh.