Losing session information
Hi,
Recently, I have just upgraded from weblogic 6.0 to weblogic 6.1. The Windows
version is behaving strangely. Somehow, weblogic 6.1 is unable to retain session
information of incoming request.
ie.
1) client log in
2) client makes a request
If the client isn't logged in, then the client will not be allowed to make the
request. The login information is stored in cookie in http header.
My application seems to work fine in weblogic 6.0 and linux version of weblogic
6.1. Can you tell me what's wrong?
Thanks for your time.
Hi,
Recently, I have just upgraded from weblogic 6.0 to weblogic 6.1. The Windows
version is behaving strangely. Somehow, weblogic 6.1 is unable to retain session
information of incoming request.
ie.
1) client log in
2) client makes a request
If the client isn't logged in, then the client will not be allowed to make the
request. The login information is stored in cookie in http header.
My application seems to work fine in weblogic 6.0 and linux version of weblogic
6.1. Can you tell me what's wrong?
Thanks for your time.
Similar Messages
-
Losing Session for Weblogic 7.0.2 in Cluster env
PROBLEM: We are losing our session when running in our app in a clustered environment.
The user can use the app for a while, but then weird stuff starts happening. In
some cases, the login check that we do at the begining of each request fails,
because it tries to check for a login token in the session, and the session has
been wiped out. The user gets forwarded to the login page.
Our configuration is: WLS 7.0.2 (OS = Windows 2000) Admin Server and a managed
server A at APP1 (physical machine), another managed server B at APP2 (physical
machine), A and B is in one cluster. We had 6 Apache Servers 2.0.45 (OS = Linux)
and each works together with Weblogic Plugin. The weblogic plugin has the following
configuration: <Location /sample> SetHandler weblogic-handler WeblogicCluster
10.1.1.11:7010,10.1.1.12:7010 Idempotent ON CookieName JSESSIONID </Location>
The server A and B use round-robin loadblancing, and we have a hardware loadblancer
infront of Apache to do loadblancing for our 6 web servers.
In weblogic.xml we config our application to use replicated for session failover.
Losing session is randomly happened.
Anyone of you have any idea?
Thanks in advance.
Harry
The advice on version numbers given above is quite generic. While JDK 1.4 may work, if you want to run a supported configuration the answer to this question depends on what OS you're running. Further, BEA supports different JDK versions for running the server and for client applications. Here is the whole chart:
http://e-docs.bea.com/platform/suppconfigs/configs70/70_over/overview.html
Be sure to click on your operating system to get the specific information about what JDK is "fully-supported" and what is "client-only".
Hope that helps,
Justin -
Hi,
When I use a javascript to open a popup window from a page in my pageflow, it directs to the action as intended but I am not able to access any attributes that are in the session scope.
Can anyone please help.
Thanks in advance.
gurujiSorry,
What I meant was to set your home page in your browser to some url (like http://amazon.com)
instead of file://C:\temp\junk.html
Actually setting it to about:blank may also work.
Pankaj
"srm" <[email protected]> wrote:
>
Hi,
We are experiencing the same problem with the pop up window as well.,
could you
please elaborate on where you have to set the "Open with" to something
else.,
I will try this out.
I tried encoding the url and it does not work when you pass it to the
javascript
window.open()
Thank you,
-S
"Pankaj Tandon" <[email protected]> wrote:
Hi,
I was just browsing and came across you post. This is something we had
encountered.
The reason you loose your session when a popup is invoked in IE5.5 (and
up) with
windows XP is due to a bug in IE. More here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;300895;cf0A1E0661=Q0NJQ1xDSGVpbmxlOnJlYWxtbnRsbToAolMlR9EI//RZc/fFPs+G
The solution of setting the "Open With" to something other than file://
worked
for us.
HTH
"Mahesh" <[email protected]> wrote:
HI Kelley
Did you get it working. I am not sure about the pageflow stuff, butI
know the
reason behind it. You are losing the session id when the popup happens.
Trying
encoding the URL...response.encodeURL('/popup.do')
Mahesh
John Rohrlich <[email protected]> wrote:
Kelly,
Is the popup showing a page from a nested page flow?
- john
Kelly wrote:
I'm popping open a new window and making a call to an action, but
it
appears that
some session information is getting lost by the time it makes it
to
the called
action.
If I switch it to use the original window it works, but unfortunatelyI must use
a popup.
Any ideas on what might be causing this? -
Single Sign-On and session information
I have an Oracle Portal application with many Java Web Applications. I wish to
provide Single Sign-On to this applications. I know how to configure Single
Sign-On and how to get the user login in Java. I want to store session
information such as: User First and Last Name, User Social Security Number. I
want to get this information from the database after authentication, store it
in session and then access this information from all my applications.Are you familiarized with sys_context function?
Hope this is useful help.
BR,
Marcos -
Recently, I discovered I have two iCloud accounts. Is it possible to change the Apple ID for one of the accounts to match the other account, without losing the information from either account.
thanksWelcome to the Apple Community.
It's a little tricky to move data from one iCloud account to another but it can be done. But what makes you think you have 2 iCloud accounts. -
TIPS(16) : PROVIDING USERS WITH SESSION INFORMATION
제품 : SQL*PLUS
작성날짜 : 1996-11-12
TIPS(16) : Providing Users with Session Information
===================================================
rem
rem orasessn.sql
rem
rem
rem This script is used to provide users with information regarding their
rem oracle sessions.
rem The USER_SESSION view provides information related only to the
rem current session for a user; while the ALL_SESSIONS relates to all
rem sessions within the database for a user.
rem The DBA_SESSION can only be viewed by the
rem Oracle sys id (and anyone granted select on this view).
rem The DBA_SESSION lists all oracle sessions excluding the Oracle
rem generic processes (dbwr, pmon, smon, etc.).
rem The SID and SERIAL# can be used with killing sessions.
This script must be run from the Oracle sys id.
rem --------------------------------------------------------------------------
rem
set echo on;
spool orasessn;
rem
drop public synonym ALL_SESSIONS;
create or replace view ALL_SESSIONS
(USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
CURSORS, MACHINE, TERMINAL, PROGRAM)
as
select substr(v1.username,1,20), substr(v1.osuser,1,12),
to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
v1.status, v1.server, substr(v3.value,1,10), v2.value,
substr(v1.machine,1,15), v1.terminal, v1.program
from v$session v1, v$sesstat v2, v$parameter v3
where v1.username = user
and v2.sid = v1.sid
and v2.statistic# = 3
and v3.name = 'db_name' ;
grant select on ALL_SESSIONS to PUBLIC;
create public synonym ALL_SESSIONS for ALL_SESSIONS;
rem
drop public synonym USER_SESSIONS;
create or replace view USER_SESSIONS
(USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
CURSORS, MACHINE, TERMINAL, PROGRAM)
as
select substr(v1.username,1,20), substr(v1.osuser,1,12),
to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
v1.status, v1.server, substr(v3.value,1,10), v2.value,
substr(v1.machine,1,15), v1.terminal, v1.program
from v$session v1, v$sesstat v2, v$parameter v3
where v1.audsid = userenv('SESSIONID')
and v2.sid = v1.sid
and v2.statistic# = 3
and v3.name = 'db_name' ;
grant select on USER_SESSIONS to PUBLIC;
create public synonym USER_SESSIONS for USER_SESSIONS;
rem
create or replace view DBA_SESSIONS
(USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
CURSORS, MACHINE, TERMINAL, PROGRAM)
as
select substr(v1.username,1,20), substr(v1.osuser,1,12),
to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
v1.status, v1.server, substr(v3.value,1,10), v2.value,
substr(v1.machine,1,15), v1.terminal, v1.program
from v$session v1, v$sesstat v2, v$parameter v3
where v1.username is not null
and v2.sid = v1.sid
and v2.statistic# = 3
and v3.name = 'db_name' ;
rem -------------------------------------------------------------------
spool off;제품 : SQL*PLUS
작성날짜 : 1996-11-12
TIPS(16) : Providing Users with Session Information
===================================================
rem
rem orasessn.sql
rem
rem
rem This script is used to provide users with information regarding their
rem oracle sessions.
rem The USER_SESSION view provides information related only to the
rem current session for a user; while the ALL_SESSIONS relates to all
rem sessions within the database for a user.
rem The DBA_SESSION can only be viewed by the
rem Oracle sys id (and anyone granted select on this view).
rem The DBA_SESSION lists all oracle sessions excluding the Oracle
rem generic processes (dbwr, pmon, smon, etc.).
rem The SID and SERIAL# can be used with killing sessions.
This script must be run from the Oracle sys id.
rem --------------------------------------------------------------------------
rem
set echo on;
spool orasessn;
rem
drop public synonym ALL_SESSIONS;
create or replace view ALL_SESSIONS
(USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
CURSORS, MACHINE, TERMINAL, PROGRAM)
as
select substr(v1.username,1,20), substr(v1.osuser,1,12),
to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
v1.status, v1.server, substr(v3.value,1,10), v2.value,
substr(v1.machine,1,15), v1.terminal, v1.program
from v$session v1, v$sesstat v2, v$parameter v3
where v1.username = user
and v2.sid = v1.sid
and v2.statistic# = 3
and v3.name = 'db_name' ;
grant select on ALL_SESSIONS to PUBLIC;
create public synonym ALL_SESSIONS for ALL_SESSIONS;
rem
drop public synonym USER_SESSIONS;
create or replace view USER_SESSIONS
(USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
CURSORS, MACHINE, TERMINAL, PROGRAM)
as
select substr(v1.username,1,20), substr(v1.osuser,1,12),
to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
v1.status, v1.server, substr(v3.value,1,10), v2.value,
substr(v1.machine,1,15), v1.terminal, v1.program
from v$session v1, v$sesstat v2, v$parameter v3
where v1.audsid = userenv('SESSIONID')
and v2.sid = v1.sid
and v2.statistic# = 3
and v3.name = 'db_name' ;
grant select on USER_SESSIONS to PUBLIC;
create public synonym USER_SESSIONS for USER_SESSIONS;
rem
create or replace view DBA_SESSIONS
(USERNAME, OS_USER, SID, SERIAL#, STATUS, SERVICE, DATABASE,
CURSORS, MACHINE, TERMINAL, PROGRAM)
as
select substr(v1.username,1,20), substr(v1.osuser,1,12),
to_char(v1.sid,'999'), to_char(v1.serial#,'999999'),
v1.status, v1.server, substr(v3.value,1,10), v2.value,
substr(v1.machine,1,15), v1.terminal, v1.program
from v$session v1, v$sesstat v2, v$parameter v3
where v1.username is not null
and v2.sid = v1.sid
and v2.statistic# = 3
and v3.name = 'db_name' ;
rem -------------------------------------------------------------------
spool off; -
How to get the complete sessions information ?
Dear All,
Can any one post a script to get complete sessions information.
Thanks in advanceHi,
The following script may help u on finding the active sessions on your Oracle database .
SELECT SID,
serial#,
username,
(SELECT holding_session
FROM dba_waiters
WHERE waiting_session = s.SID
AND ROWNUM = 1
AND holding_session NOT IN (SELECT waiting_session
FROM dba_waiters))
holding_session,
DECODE (s.status,
'ACTIVE', ROUND (last_call_et / 60),
0
) time_min,
DECODE (s.status,
'ACTIVE', last_call_et,
0
) time_sec,
(SELECT used_urec
FROM v$transaction t
WHERE t.addr = s.taddr) undo_records,
(SELECT ROUND (sl.sofar / sl.totalwork * 100, 2)
FROM v$session_longops sl
WHERE s.SID = sl.SID
AND s.serial# = sl.serial#
AND s.status = 'ACTIVE'
AND sl.time_remaining > 0) progress,
(SELECT event
FROM v$session_wait w
WHERE w.SID = s.SID) wait_event,
(SELECT ROUND (VALUE / 1024 / 1024, 2) || 'M'
FROM v$sesstat
WHERE SID = s.SID
AND statistic# = 20) pga_size,
(SELECT ROUND (VALUE / 1024 / 1024, 2) || 'M'
FROM v$sesstat
WHERE SID = s.SID
AND statistic# = 15) uga_size,
(SELECT VALUE
FROM v$sesstat
WHERE SID = s.SID
AND statistic# = 4) commits,
(SELECT sql_text
FROM v$sql t
WHERE s.sql_address = t.address
AND s.sql_hash_value = t.hash_value
AND ROWNUM = 1) sql_used,
(SELECT MESSAGE
FROM v$session_longops sl
WHERE s.SID = sl.SID
AND s.serial# = sl.serial#
AND s.status = 'ACTIVE'
AND sl.time_remaining > 0) long_ops,
(SELECT LOWER (ins.instance_name)
|| '_ora_'
|| LTRIM (TO_CHAR (a.spid))
|| '.trc' filename
FROM v$process a
WHERE a.addr = s.paddr) trace_file_name,
resource_consumer_group,
s.status,
server,
osuser,
program,
module,
action,
NVL (LOWER (s.machine), ins.host_name) machine
FROM v$session s,
v$instance ins
WHERE username IS NOT NULL
AND s.status = 'ACTIVE'
AND s.audsid <> USERENV ('sessionid')
ORDER BY DECODE (s.status,
'ACTIVE', ROUND (last_call_et),
0
) DESC
Regards,
Kumar
[www.idatamax.com] -
Passing session information to multiple JVM's
Is it possible to pass session information to another JVM running on another server?
Example:
Server A calls a servlet on Server B. Will the session object (and values stored in it) created on Server A be accessible to Server B.DrClap wrote:
No.This is not exactly true. If you're talking about a clustered app server implementation (for example, Weblogic supports clustering), where 'machine A' and 'machine B' are both part of the same cluster, then, generally speaking, yes, you're HttpSessions are distributed across those machines.
God bless,
-Toby Reyelts -
Getting session information in servlet?
In Apache SOAP, org.apache.soap.rpc.SOAPContext can be used as a parameter to get at session data in your servlet. The JDeveloper web services publishing wizard won't expose a method with this parameter, saying that the XML Schema mapping and/or serializer is not specified. Is there an OC4J equivalent to get at session information?
Hi.
Most definitely possible. A few months ago I coded something very similar - jsp
form, submit to a servlet. I needed to get and set session info in both the
servlet and jsp. The code was very basic (ie no tricks involved) and worked
well. FWIW both my servlet and jsp were in the same webapp.
Good luck,
Michael
PeterH wrote:
Howdy.
re meant something else
That's what I'm trying to figure out. :>
re what do I mean by...
I have one jsp page, that has a an html form on it with elements that get
passed to a servlet through a submit button on the form. I would like to be
able to get information about the session from within the servlet. Is that
possible?
Let me know if I'm not explaining myself properly and you need more info.
I'm relatively new to this stuff. But I'm learning! :>>>>
Thanks for your reply.
<[email protected]> wrote in message news:[email protected]..
Hrm. Whoever told you this probably meant something else. What do you mean
by a 'servlet being called from a jsp' ?
PeterH <!REMOVEBeforeSending![email protected]> wrote:
I was told today when using a servlet within a web app (being called
from a
jsp), you do not have access to the session object. Is that true?Short of
passing session attributes via the servlet call, how can you access the
session information?
Thanks for any ideas.--
Dimitri
Michael Young
Developer Relations Engineer
BEA Support -
OC4J session information with App Server Console
Hello
I have installed BI&Forms 10.1.2.0.2.
I have an application deployed to that app server.
I would like to see session information against that app, and to be able to clear sessions down.
Can this be done with App server Console and how?
Thanks
AndyFixed this. The ServerName param in httpd.conf was incorrect.
-
How can we share session information between browser and WebView
Hi
I have a web application which launches a instance of JavaFX web view on a click of a button. My issue is that when i launch this web view it creates a new session of its own ,how can you transfer the session information of the parent (browser) to the web view.
One of the solution i found was to add the JSESSION_ID cookie into the default(System-wide) cookie handler so it would override the existing cookie within the WebView cookiehandler.
http headers - Setting a cookie using JavaFX&#39;s WebEngine/WebView - Stack Overflow
Are there any other solution for sharing session information between the web view instance and browser that launches it ?O.K. then, is it at least possible to access a wwsto_api_session
from Java in the following way?
Calling PL/SQL from Java
JDBC and SQLJ allow you to call PL/SQL stored functions and
procedures. For example, suppose you want to call the following
stored function, which returns
the balance of a specified bank account:
FUNCTION balance (acct_id NUMBER) RETURN NUMBER IS
acct_bal NUMBER;
BEGIN
SELECT bal INTO acct_bal FROM accts
WHERE acct_no = acct_id;
RETURN acct_bal;
END;
From a JDBC program, your call to the function balance might look
like this:
CallableStatement cstmt = conn.prepareCall("{? = CALL balance(?)}");
cstmt.registerOutParameter(1, Types.FLOAT);
cstmt.setInt(2, acctNo);
cstmt.executeUpdate();
float acctBal = cstmt.getFloat(1); -
Historical Session information in Oracle 9i
Hi All,
I currently using Oracle 9i for one of my datawarehouse database. I would like to know how can I see historical session information like SID, Username, Program, Consumer CPU Time etc. My main aim is to get Consumed CPU Time for a particular user in a day. Please let me know how can I get this information.
It is a bit important and urgent too.
Thanks,
KalyanOracle version 9i and earlier by default do not track session history information. The information you want for consumed CPU for a particual user for a specific day does not exist.
You can capture some of the mentioned information via the supplied audit command and you could find some sample information in statspack snapshots if statspack has been configured.
HTH -- Mark D Powell -- -
Losing session with WLS 7.02 in cluster env
PROBLEM: We are losing our session when running in our app in a clustered environment.
The user can use the app for a while, but then weird stuff starts happening. In
some cases, the login check that we do at the begining of each request fails,
because it tries to check for a login token in the session, and the session has
been wiped out. The user gets forwarded to the login page.
Our configuration is:
WLS 7.0.2 (OS = Windows 2000)
Admin Server and a managed server A at APP1 (physical machine), another managed
server B
at APP2 (physical machine), A and B is in one cluster. We had 6 Apache Servers
2.0.45 (OS = Linux) and each works together with Weblogic Plugin. The weblogic
plugin has the following configuration:
<Location /sample>
SetHandler weblogic-handler
WeblogicCluster 10.1.1.11:7010,10.1.1.12:7010
Idempotent ON
CookieName JSESSIONID
</Location>
The server A and B use round-robin loadblancing, and we have a hardware loadblancer
infront of Apache to do loadblancing for our 6 web servers.
In weblogic.xml we config our application to use replicated for session failover.
Losing session is randomly happened.
Anyone of you have any idea?
Thanks in advance.
Harry
To verify that it is WL and not your app logic, try using a different
session replication implementation for testing, such as the one that comes
with Coherence for Servlet 2.3 containers:
http://www.tangosol.com/coherence.jsp
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com/coherence.jsp
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"Harry Yu" <[email protected]> wrote in message
news:[email protected]...
>
> PROBLEM: We are losing our session when running in our app in a clustered
environment.
> The user can use the app for a while, but then weird stuff starts
happening. In
> some cases, the login check that we do at the begining of each request
fails,
> because it tries to check for a login token in the session, and the
session has
> been wiped out. The user gets forwarded to the login page.
>
> Our configuration is:
> WLS 7.0.2 (OS = Windows 2000)
> Admin Server and a managed server A at APP1 (physical machine), another
managed
> server B
> at APP2 (physical machine), A and B is in one cluster. We had 6 Apache
Servers
> 2.0.45 (OS = Linux) and each works together with Weblogic Plugin. The
weblogic
> plugin has the following configuration:
> <Location /sample>
> SetHandler weblogic-handler
> WeblogicCluster 10.1.1.11:7010,10.1.1.12:7010
> Idempotent ON
> CookieName JSESSIONID
> </Location>
>
> The server A and B use round-robin loadblancing, and we have a hardware
loadblancer
> infront of Apache to do loadblancing for our 6 web servers.
>
> In weblogic.xml we config our application to use replicated for session
failover.
>
> Losing session is randomly happened.
>
> Anyone of you have any idea?
>
> Thanks in advance.
>
> Harry
>
-
Deployig to a Cluster without losing session.
Hi,
We have a cluster setup with 4 servers. We use HttpSession and
StatefulSessionBeans in the cluster with in-memory replication. Is it
possible to redeploy the application to a cluster without losing
session ?.
Thanks,
-Senthil.
We have a cluster setup with 4 servers. We use HttpSession and > StatefulSessionBeans in the cluster with in-memory replication. Is it
> possible to redeploy the application to a cluster without losing
> session ?.
Not with WebLogic session replication. The session replication is "lazy"
(only when something happens) so the best approach is to make sure there are
no imcompatibilities and then cycle the cluster one server at a time, maybe
one server every hour (or whatever your session timeout is).
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com/coherence.jsp
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"Senthil" <[email protected]> wrote in message
news:[email protected]..
> Hi,
>
>
> Thanks,
> -Senthil.
-
Want to see session information through coherence console
I use coherence*web to push the http session information in,and I changed the coherence.cmd to let the configuration point to session-cache-config.xml
which is like:
set java_opts=-Xms%memory% -Xmx%memory% -Dtangosol.coherence.distributed.localstorage=%storage_enabled% -Dtangosol.coherence.cacheconfig=session-cache-config.xml %jmxproperties%
%java_exec% -server -showversion %java_opts% -cp "%coherence_home%\lib\coherence.jar;E:\coherence-java-3.7.1.0b27797\coherence\lib\coherence-web.jar;E:\wls12c\oepe_12.1.1.0.0\plugins\javax.servlet_2.5.0.v201103041518.jar" com.tangosol.net.CacheFactory %1
when I start coherence.cmd and change to session-storage, I want to list the data,but get the nullpoint exception:
Map (session-storage): list
2012-06-08 13:34:38.675/11.309 Oracle Coherence GE 3.7.1.0 <Error> (thread=main,
member=5):
java.lang.NullPointerException
at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readAttribute
s(AbstractHttpSessionModel.java:1809)
at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readExternal(
AbstractHttpSessionModel.java:1735)
at com.tangosol.util.ExternalizableHelper.readExternalizableLite(Externa
lizableHelper.java:2041)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(Externaliza
bleHelper.java:2345)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(Externaliz
ableHelper.java:2746)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelpe
r.java:262)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
rid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedC
ache.CDB:4)
at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getValu
e(ConverterCollections.java:3548)
at com.tangosol.coherence.component.application.console.Coherence.doList
(Coherence.CDB:83)
at com.tangosol.coherence.component.application.console.Coherence.proces
sCommand(Coherence.CDB:450)
at com.tangosol.coherence.component.application.console.Coherence.run(Co
herence.CDB:37)
at com.tangosol.coherence.component.application.console.Coherence.main(C
oherence.CDB:3)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.tangosol.net.CacheFactory.main(CacheFactory.java:827)
Map (session-storage):
Anyone have some experiences and can give me some suggestion?
I do not want to use the httpsession language in jsp, and I just want to use API to access the hpptsession information.
Thanks a lot!Sharing the information directly by accessing the caches will be a bit difficult, because the data format for the session is highly optimized. For example, large attributes are often split out separate from the bulk of the "core" session data, to make moving the session around the network more efficient. What may be the simplest solution (depending on the application's needs) is to use a "back channel" from the ASP.NET application to the Java EE application, for example over REST. This would be a reasonable approach if there are a few items that you want to access and/or update in the session.
On the Java side, you can "get" a session using the HttpSessionContext interface, but you have to explicitly enable that feature (because it was deprecated in Servlet 2.1):
public HttpSession getSession(String sId)To enable the feature, you have to set the coherence-enable-sessioncontext property to true. This property is in the XML configuration file that is added to the WAR by Coherence*Web install (WebPluginInstaller) step. I'm not sure how this gets set up in WebLogic (since there is no separate "install" step), but it should still be supported.
Is this what you were looking for?
Peace,
Cameron.
Maybe you are looking for
-
Open a website from an app (or applet)
I have some JLabels in a Frame. I would like to be able to "click" on one of the JLabels (which contains a http-address) and thereby open a browser and the website. Is that, or something similar, possible?
-
Function Module to get values from MBEW and MBEWH
All, I searched in SDN but could not find a suitable answer. Is there a SAP standard Function Module which gives the physical ending inventory (total stock) for a given period. all hsitoric values to be pulled from MBEWH. your response is much apprec
-
Firefox will not allow me to use the enter button or even tapping the key pad on the go/magnifying glass button in the search window. I can type in a few keywords in the google or yahoo keyword search window in the top right tool bar but it will not
-
Problems capturing 16:9 PAL video to 16:9 PAL project ??!!
I have captured video material straight from DVD-player with Canopus using Firewire. My project is D1/DV PAL Widescreen (1.4587) 720 x 576 and the captured video material should be the same (or some of it). For some reason all of the captured video f
-
i have a problem when i have minimized iTunes, it pop ups every 30 sec. i don't know what it is that makes it do that, but it is getting anoing