SJSAS 9 and JSF - session expiration

Advertisement
November 30

Hi
I'm developing JSF (1.2) application. I'm using SJSAS 9, EJB 3.0 and toplink. My problem is session expiration. When user session expires and then user click for example on Save button on JSF form, application goes to login page, but after login user receive Internal server Error screen. As I see, session expires but after login, POST request is resend but all related objects don't exist any more (NullPointerException occurs in prerender method). Currently I'm redirecting to main page using following code:
public static ExternalContext getExternalContext() {
        return FacesContext.getCurrentInstance().getExternalContext();
getExternalContext().redirect(MAINPAGESTR);
...in try catch block ,in prerender method (JSF). Does anybody knows what should I do?

Advertisement

Replay

Have you tried to set a servlet filter to catch the error and build a nicer page?
If you can tell me how to set up a short session expiration time on Tomcat,
I can do the tests.
I am interrested in this issue as I will have to solve it for a project in the
next 2 weeks.

View 5 Replies

Session expires and forwarding emails to recipi...

November 30

Hi  It  seems  similar  problems  are happening. Composing  an  email  appears  to  function ok  albeit  you  can  see the  screen wanting  to  disappear,but  it  sends ok. With  regards to  incoming   emails which  you  wish  to  redirect  to  recip

View All Replies

Session expired,please log in again?!

November 30

Hello there to everybody I have an annoying problem with my iphone... Every time i try to long into facebook from my iphone,its keep saying session expired,please log in again,and i try,but i can`t,keep getting the same message.and i try to log in fr

View All Replies

Disco 3i - Session Expired?

November 30

I have just installed the Discoverer 3i on NT 4.0 Service pack 5, running OAS 4.0.8.1. (Oracle 8iEE is on a different server, I have verified TNS and connectivity) The install went smoothly, and I get the signon screen fine, however when I go to sign

View All Replies

Determining when session expires

November 30

I want to be able to track the amount of time that the user spends on my site. I am going to insert a record into a database when the user logs on. I also want to insert a record when the user's session expires either from timing out or closing the b

View All Replies

Redirecting after session expires

November 30

Hi i have a user session object which implements HttpSessionBindingListener. what i would like it to do is when the unBound method is triggered, i want it to be directed to a logoff page. This process was created to automatically log off the users wh

View All Replies

[HOWTO] JSF + Session Facade + Entity Bean (EJB3)

November 30

I'm trying to find a tutorial that shows the advisable way to use JSF with EJB 3 entity beans using the Session Facade pattern (?), but the only tutorials around show very basic usage of JSF (validation, conversions etc.). The only thing that is clos

View All Replies

When does a session expire

November 30

Hello, I have experienced that the calendar 5.1.1 session will not die. I have checked the documentation and looked through the ics.conf, without success. Any suggestions? Thanks in advance, Robertoics.conf file should contain all the configuration i

View All Replies

Session Expired - SessionManager Problem?

November 30

This is a OAS4.0.8.1 problem. Session Expired message comes when the cartridge times out and exited. However, my servlet have no means to process this exception. By enabling the logging, the problems seems to be from oracle.oas.session.SessionManager

View All Replies

Session expired - sitzungszeit abgelaufen

November 30

I have now a new ipad mini. After setup I want to download some Apps. But I can´t buy some apps with my Itunes account. (Need to change credit card  details). Seconds upon registering I get the message "session expired". It comes again and again

View All Replies

Hi, I cant login to the facebook app on my iphone 5 ios 6.0.2.  I keep getting an error message saying 'There was an error logging in using single sign on' when im asked to log in again i get a 'session expired' message.  This only started happening yeste

October 11

Hi, I cant login to the facebook app on my iphone 5 ios 6.0.2.  I keep getting an error message saying 'There was an error logging in using single sign on' when im asked to log in again i get a 'session expired' message.  This only started happening

View All Replies

Checking for session expiration

November 30

We're using JSPs and Servlets in our application. Looking for a way in code to check if the session has expired. We will need to do this from a jsp as well as a servlet (sometimes a jsp is pointed to by a link and sometimes a servlet). Can someone po

View All Replies

Session expired, no logout page displayed

November 30

Hi, everyone: I have been stuck here for a long time. I try to detect session expires and display a logout page. I tried in the servlet if session.get("username") == null) then forward to logout.jsp, it never reach that page I also tried using j

View All Replies

Session Expired Error in Oracle Vision Demo due to absence of a cookie !!

November 30

Hi Folks, I kept getting the session expired error in Vision Demo even after I had supplied the right user id/password combos. So I set up a on-logon trigger in the APPS schema and it turns out that the Front End JSP page calls the ICX_SEC package. H

View All Replies

Facebook session expired device not recognized

November 30

I see within facebook under devices recognized that my iPad is not listed, just my iPhone. How can I get it on the list? Perhaps this would stop the session expired messages and constant log ins!Try to remove my facebook account from my accounts and

View All Replies

How to forward automatically when session expires ?

November 30

Hi Techies, whenever session expires , I want my struts action to forward to logout page automatically. I know we can do it by implementing sessionlistener(session destroyed method). But how to forward using action mapping . any solution is appreciat

View All Replies

Before session expires event

November 30

I need to know if there is any kind of way to fetch an event before the session expires. I know there is HttpSessionBindingListener, but this only gives me the event after the session expired. I need an event before it expires because I have to clean

View All Replies

ISE 1.2 CWA with Multiple PSNs - SessionID Replication / Session Expired

October 11

Hi all. I have a (2) Policy Services Nodes (PSNs) in an ISE 1.2 deployment running patch 1. We are using Wireless MAB and CWA on 5760 Wireless LAN Controllers running v3.3.3. We are hitting an issue wherein a client first passes MAB and then gets red

View All Replies

Setting and retrieving session using pl/sql

November 30

How to set and retrieve session using pl/sql?Can anyone help me?mrs wrote: create or replace function get_login_details(in_user in VARCHAR2,in_pwd in VARCHAR2,in_cname in VARCHAR2) ..snipped..The code should look as follows: create or replace functio

View All Replies

Grant restricted and kill sessions.

November 30

Hello. We need to grant 2 privs to user. 1) User XXX need to enable and disable restricted session on DB. Can we grant some priv's to him, to do this? Or this can do only DBA ? 2) User XXX need to kill all sessions, not only sessions in him schema. C

View All Replies

Tags:

  1. bapi mir7 for asset order
  2. how empty bulk mail ipad1
  3. msi neo4 platinum probleme demarrage
  4. pubsubagent making cpu run at 100
  5. itunes login createSession
  6. RBKP RBSTAT Update BAPI
  7. uccx editor java.long error
  8. UFE3
  9. UAFT
  10. ordinaryphq
Copyrights 2019 Fcffair BigData Resource, All rights reserved