Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

oracle.apps.fnd.applcore.common
Class ApplSessionView

java.lang.Object
  extended by oracle.apps.fnd.applcore.common.ApplSessionView

public class ApplSessionView
extends java.lang.Object

Since:
release specific (what release of product did this appear in) Contains methods related to ApplSession usage from the UI perspective.
Version:
$Header: atgpf/applcore/applications/Common/Model/src/oracle/apps/fnd/applcore/common/ApplSessionView.java /main/2 2010/10/08 11:32:41 rou Exp $
Author:
rou

Constructor Summary
ApplSessionView()
           
 
Method Summary
static java.lang.String getCookieDomain(javax.servlet.http.HttpServletRequest request)
          Get the domain of the session cookie
static java.lang.String getSessionCookieName()
          Helper function to retrieve the name of the FND session cookie.
static void logoutApplSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Logs out of the current session by resetting the session cookie.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplSessionView

public ApplSessionView()
Method Detail

logoutApplSession

public static void logoutApplSession(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response)
Logs out of the current session by resetting the session cookie. This must be called before the request has actually started to render, otherwise the changes we're making to the cookie will be ignored (since in the actual HTTP request, the cookie information must appear before the HTTP message body). Also, this will explicitly terminate the session in the database and make it unavailable, so there shouldn't be any code downstream of this that might try to access the ApplSession as that would raise an exception.

Parameters:
request - the HttpServletRequest object to read the cookie from
response - the HttpServletResponse object to write the cookie to

getSessionCookieName

public static java.lang.String getSessionCookieName()
Helper function to retrieve the name of the FND session cookie.

Returns:
the name of the FND session cookie

getCookieDomain

public static java.lang.String getCookieDomain(javax.servlet.http.HttpServletRequest request)
Get the domain of the session cookie


Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.