session 1 « IceFaces « JSF Q&A





1. IceFaces and FileResource - delete after session expires    stackoverflow.com

I'm using IceFaces. I generate reports for users and provide it using FileResource class. I do nothing with the file, since it should be available for download whenever user clicks on ...

4. session invalidate problem    icefaces.org

Hi, we are using the ICEFaces components in our applications. When i invalidate the session and redirect to another page of differenet application using redirect i am geting the following error. java.lang.NullPointerException com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:93) javax.faces.component.UICommand.broadcast(UICommand.java:387) javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:755) com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17) com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:54) com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:42) com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:65) com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:44) com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50) com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19) com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19) com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63) com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139) com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53) com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29) com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:46) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) can any one tell me ...

5. MainSessionBoundServlet bottleneck due to accumulation of views per session id    icefaces.org

Hi, Our team is trying load test an icefaces application using Grinder. We used the tcp proxy of Grinder to recreate the script. Moreover, we also made a few changes in the grinder script in order to capture the session id and propagate it through the script per working process. We are currently running icefaces in synchronous update and concurrent dom ...

6. Session invalidate problem!    icefaces.org

7. Tracking sessions and views    icefaces.org

8. session.invalidate doesn't work    icefaces.org

9. HTTP Session issues    icefaces.org





10. Localising "User Session Expired"    icefaces.org

Hi, I have seen that the localisation of "User Session Expired" popup messages was possible in 1.7.2. I can't seem to get it to work. I have tried to specify a bundle in gaces-config.xml but that didn't work. I have tried to put the bundle in WEB-INF/classes but that didnt work either... Any idea? Emmanuel

11. User Session Expired    icefaces.org

12. How to Control User Session Expired    icefaces.org

Hi everyone! I keep searching on User Session Expired forums and threads but I can't find any explanation on how it can be controlled from appearing. In my application, there is a property in my web.xml like this: 300000 I don't know if that's the only cause why the User Session Expired appeared. What I want to ...

13. Session expired error on enter    icefaces.org

14. Getting User Session Expired in version 1.7.2 SP1    icefaces.org

In my page there are two trees, the leftTree is dragable and rightTree is a droptarget. Drop listener is written on the rightTree. Both trees have a commandLink which has an action listener that is used to highlight the selected node. Once user performs drag and drop, and then try to perform any action, a popup comes up with the message ...

15. ICEFaces and session invalided    icefaces.org

16. flush the session    icefaces.org

Hi, I have developping a application of store management with icefaces, there a page that containt a list of products, and an action to add a new product, my probleme it's when I click for the first time on the action I redirect to a black form, it normal, after saving the product, I go back to the list, and when ...





17. session bean value    icefaces.org

hi, i have 3 sites: 1 login page, 1 firm page and one customer page. so if i login i will store the id of the firm in a session bean and then you can reach your customer on the customer page. if you want back i have to load the firm page with the id which i have stored. but ...

19. User Session Expired each 3s    icefaces.org

20. Struggling with sessions (Yet again...)    icefaces.org

Hi, I've been reading the forums for a long time trying to figure out whats the best way to implement sessions with Icefaces 1.7.2 (I've yet to try the 1.8rc) I know there have been many issues regarding sessions in the past but my problem is probably very noobish in comparison... Whats the best way to create a login/logout mechanism? What ...

21. Multiple session beans?    icefaces.org

22. lost the session in dataTable    icefaces.org

CodeSport Buscador de Centros Deportivos

25. how create user session    icefaces.org

26. "User session expired" on custom login page    icefaces.org

Hi, I need help with an issue that is driving me crazy. I have a small ICEfaces 1.8.1 + Spring 2.5.6 + Spring Security 2.0.4 project. And I have a secure page, /secured/test.jspx. If I use the default login mechanism everything works fine, but if I use a custom login page with the LoginBean from the Basic Spring Security with ICEfaces ...

27. Session Expiration problem    icefaces.org

I am developing application using ICEFaces 1.8.0 on JBoss 5.1.0. Facing strange issue on session expiration. I have provided session timeout param in web.xml for 20 min and also added Ice.onSessionExpire javascript for redirecting to login page. The problem is I am getting session expired message exactly after 20 mins even if I am firing server actions in application. Session is ...

29. Session expired callback    icefaces.org

30. Session never expires    icefaces.org

31. Logout on session expires or invalidates.    icefaces.org

Hi. I have a basic question. In my IceFaces webapp...I have a LOGOUT button. This button takes the user back to the login page and also writes a small SQL statement in a db. The SQL simply notes their logout time (this is of course for logging purposes). My question is. Sometimes a user just closes the browser without using the ...

32. Access non-icefaces session data    icefaces.org

33. Eclipse session expired problem    icefaces.org

i want to develop a document management system and i will use logicaldoc(www.logicaldoc.com) to develop.And this project use icefaces 1.7.2.SP1. When i deploy the project starting tomcat without eclipse,it works quite well,but when i use eclipse to start and deploy the project, it works but always gives "User Session Expired" problem. What is the reason? Thanks

34. How to get "User Session Expired" Msg    icefaces.org

37. how and when is session scope managed bean created ?    icefaces.org

I am moving from Netbeans VWP to ice apps without visual web pack. While earlier Application, Session and Request bean instances was created for me by NB, now in new style i have to do myself. In faces-config i have one managed bean in session scope, but i don`t know how and when it is created or how should i init ...

38. How check if session attribute exists    icefaces.org

When I log into my application I create a individual menu. But imagine I try to go to a web page which is not the login one, then my menu is not mounted correctly. How can I check (in every call) if the user attribute exists in the session and, if not, go to the index web page? Thanks a lot. ...

39. Session Expiry Problem in IceFaces 1.8.2    icefaces.org

Dear All, Session Expiry Problem: Environment: 1- Sun Glass Fish Application Server Version : glassfish-installer-v2ur2-b04-linux 2- JDK 1.5 3- Linux 5.0 4- Netbeans 6.5 5- IceFaces 1.8.2 6- JSF We have two node cluster on GlassFish Application Server Cluster and we deployed our application on cluster profile and after deployment we encountered the session expiry problem, our application can not maintain ...

42. Session Logout    icefaces.org

43. "User session expired" using Juniper reverse proxy    icefaces.org

I deployed 3 ICEFaces applications on Tomcat 6.0.24. Applications are called each other, so I have 3 session active for any user logged in. We installed a Juniper SA to connect via https. When I work on my local network I have no problem. When I connect from outside via https through juniper I have randomly the message "User session expired". ...

45. How to reset a session with icefaces ?    icefaces.org

public String invalidateSession() { FacesContext context = FacesContext.getCurrentInstance(); HttpSession session = (HttpSession) context.getExternalContext().getSession(false); session.invalidate(); String[] extraAttrs = { "loggedUserInfo", }; java.util.Enumeration attrs = session.getAttributeNames(); while (attrs.hasMoreElements()) { String attr = (String)attrs.nextElement(); if (attr.endsWith("Bean")) { session.removeAttribute(attr); } } for (int i = 0; i < extraAttrs.length; i++){ System.out.println(extraAttrs[i]); session.removeAttribute(extraAttrs[i]); } return "loggedout"; }

46. How to controller the sessions    icefaces.org

47. Prevent Session Fixation Attack    icefaces.org

48. session time out    icefaces.org

Hi All, I did some research within this forum and found several threads regarding the topic but except of one thread I couldn't find a good hint. But I still do have some questions regarding this topic: Here is the helpful link/content: http://www.icefaces.org/JForum/posts/list/5388.page com.icesoft.faces.connectionTimeout 60000 com.icesoft.faces.heartbeatTimeout 60000 com.icesoft.faces.heartbeatRetries 10 com.icesoft.faces.heartbeatInterval 60000 ...

49. Session state versus ajax push    icefaces.org

I've encountered a seemingly intractable problem and am seeking some general advice. Suppose a user is entering values into a form. One of his inputs is invalid and he sees a nice FacesMessage displayed to let him know that there is a problem. Now a background thread invokes SessionRenderer.render() to update some displayed values. The JSF cycle initiated by SessionRenderer wipes ...

50. Session id problem    icefaces.org

51. How to handle Session/Application Bean errors    icefaces.org

Hi all, Sometimes bugs in my GUI throw various JSF exceptions that my program doesn't catch and gobbly-gook is spit out to the screen. The problem isn't the bug itself, but the bad state it leaves the GUI in. - If the SessionBean is left in a bad state...the user has to restart their browser to clear the change. - If ...

52. session bean help..    icefaces.org

Hi everyone! I am drawing the login/logout procedure of a new webapp and I need your support.. My idea is to define a popup panel handled by a managed bean containing information about the popup panel such as position, size, draggable options and visible property. When the user will click on login button/link the visible property of the popup will be ...

53. "Session Already Invlidated" strikes back    icefaces.org

Dumi Joined: 16/06/2009 00:00:00 Messages: 16 Offline Hi, I have an ICEfaces 1.8.2 application and I'm using Spring Security 3.0.2 for user authentication. When the session expires for logged in users I'm redirecting them to a index.html page. The problem is that really often I get the HTTP 500 error with the following stack trace: Code: IllegalStateException getAttribute: Session already invalidated ...

54. Command link action is not invoking method in session scoped managed bean    icefaces.org

I am using Icefaces 2.0 and JSF 2.0.Calling a method in managedbean from page1.xhtmh.In a method am returning a String "page2". Where there is a page page2.xhtml in same location as that of page1. My problem is Method in session scope managedbean is not being called. And I am getting a javascript error saying that 'configuration is null or not an ...

55. How to invalidate session in ICEFaces    icefaces.org

57. Session expired prevent with push?    icefaces.org

58. User session expired or invalidated    icefaces.org

try{ sess = (HttpSession) getFacesContext().getExternalContext().getSession(true); if( sess.isNew() ) isInvalid = true; } catch(com.icesoft.faces.webapp.http.core.SessionExpiredException ise){ Utility.saveLogEntry("SessionBean not taken from Session because expired"); Map sessionMap = getFacesContext().getExternalContext().getSessionMap(); sessionBean = new SessionBean(); sessionBean.sess_id = sess.getId(); SessionBean tempBean = (SessionBean) sessionMap.get("SessionBean"); if ( tempBean == null ){ sessionMap.put("SessionBean", sessionBean); } else { try { tempBean.dispose(); sessionMap.put("SessionBean", sessionBean); } catch (Exception ex) { ex.printStackTrace(); } } ...

59. Undeploy: SessionExpiredException: Session has expired    icefaces.org

hola.. Tengo el mismo problema q tu. Me podrias explicar como hiciste para solucionarlo... uso: Eclipce + ICEFaces 2 + Glissfis 3 le coloco esto en el archivo .xhtml : y ya no me aparece la ventana popup de "user session expires"..pero se desconecta cada vez q hago un clck en ...

60. Creating multiple sessions during session invalidation    icefaces.org

Hello Icefaces team, My application(ajax push enabled) causes the creation of multiple sessions while invalidating an existing session (I checked it by the help of HttpSessionListener). What may be the reason ? The navigation part in my application was controlled by Pretty url. Some of the beans that I used in this are non-serializable.

62. icefaces 2.0 Ayuda con user session expired    icefaces.org

Hola... Estoy recien entrando a conocer IceFaces 2. Tengo un pequeo problema q ojala me puedas ayudar... En una hoja .xhtml he contruido un ice:panelTabSet con tres ice:panelTab simples..pero cuando quiero pasar de pestaa en pestaa me arroja una ventana de "user session expired" he buscado y he recontra buscadpo y no doy con la solucin...pe podrias dar una mano.. - ...

64. Session Expiry and RedirectFilter    icefaces.org

Hello, I'm experiencing a problem with session timeouts: Due to some specific security requriements, we have to handle page access control not via J2EE , but through an explicit Security Servlet-Filter that checks whether the user has the approriate access rights. If not, the user is redirected to a login-page. This works perfect in standard J2EE-applications, however with ICE-Faces / Ajax ...

65. Session Issues - First page hit.    icefaces.org

Hello I am new to ICE FACES and am trying to evaluate the components for use with a possible development project. I added only the just-ice.jar file and my standard page loaded, when I click on the navigation to the page with an ICE component I get the error message User Session Expired. I have not logged in, simply started the ...

66. Session questions    icefaces.org

Hi, I have a few questions about how you manage sessions. 1. When I start a new browser, connect to the website in IE, then close it, move to FireFox, it seems to remember my session information from IE. How does it do this? Also, what happens if you have multiple people coming from the same IP address? 2. When I ...

67. ice with post vars and session vars    icefaces.org

Hi, We are testing icefaces as an include to our existing jsp pages. We have some pages where we have a search form. One of the parameters you can search for is a user or a list of users. So today, you click on a button and we have a pop-up where the user can select multiple users from a list. ...

68. Session and Server Push    icefaces.org

Hi everybody! actually I have 2 problems... 1.)I have problems with my application when trying to access the page from multiple browser tabs (=multiple users). When I access the page from only one Browser tab everything works fine. But when accessing the page from 2 bowser tabs the UI "freezes" and does not anymore update any UI components. I don't know ...

69. Invalidating session    icefaces.org

70. Session handling    icefaces.org

Hi Phil, Yes, your good ole' SessionListener should still work. The upload directory is determined as follows: If you set com.icesoft.faces.uploadDirectory as a context-param in your web.xml then we'll use that. If you've set the uniqueFolder attribute to true on the component, then we'll use a sub-directory beneath the specified uploadDirectory of the session-id. If you haven't set the com.icesoft.faces.uploadDirectory param, ...

71. Session expired    icefaces.org

Hi, Since ICEfaces 1.6, I often see the following problem: Code: javax.servlet.ServletException: Session expired com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:38) com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29) com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:65) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) ... - In my application, when I am logged in and I restart Tomcat, it doesn't happen all the time, I'd say 1 out of 5 restarts, when I come back in the application. The only way I can use the application ...

72. manage session with frames    icefaces.org

I have one problem with session again I resolved my problem with the session, but i have to change my app to use frames, my menu also had changes, i mean, my menu is not a ice-faces component, is an applet. my app has this frames estructure: header frame---> ice page menu frame----> html page with an applet work frame-----> ice ...

73. Strange behavior after session expiring    icefaces.org

Hi there! I was using the Firefox to test my application and the Firebug extension showed the following odd thing: Before the session expired, the heartbeating mechanism would contact the server every minute or so, but after the session expired this turned into an every second check (or maybe even more often, but the debugger could keep up with it). Do ...

74. session.invalidate() does not work    icefaces.org

2007-07-20 12:43:29 StandardWrapperValve[Blocking Servlet]: Servlet.service() for servlet Blocking Servlet threw exception java.lang.IllegalStateException: getLastAccessedTime: Session already invalidated at org.apache.catalina.session.StandardSession.getLastAccessedTime(StandardSession.java:423) at org.apache.catalina.session.StandardSessionFacade.getLastAccessedTime(StandardSessionFacade.java:87) at com.icesoft.faces.webapp.xmlhttp.BlockingResponseState.remainingMillis(BlockingResponseState.java:169) at com.icesoft.faces.webapp.xmlhttp.BlockingResponseState.block(BlockingResponseState.java:117) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.executeRequest(BlockingServlet.java:288) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at ...

75. Help: how to disable iceface session time out    icefaces.org

any web application has to maintain a limit to the session and so ice faces also does. keeping the session alife for infinite time accumulates memory which is not recomended. imagine a case where user opens the session and closes the browser! the session data remains for ever. as i c one thing that u can do is to make partial ...

77. session expired error    icefaces.org

Hi, I'm getting the same error when trying to follow the JDeveloper integration example: http://technology.amis.nl/blog/?p=1508 All is working well, until I tried to run the jspx page with the ICEface label component, I got a "500 Internal Server Error" ... then I looked for help and found this post, got the web.xml attached and tried again, now the page run but ...

78. is there any solution for Session Expired ?    icefaces.org

Hi there, We don't use weblogic, but we have some experience on JBoss about the Session Expired error. Every time when we upgrade to a new ICEfaces version, it need to completely delete all cache and tmp files from JBoss server, otherwise we would get the Session Expired error. Hope it is helpful.

80. Logout + Session Invalidation.    icefaces.org

81. How to get session in ICEFACE    icefaces.org

82. Session error    icefaces.org

I am also experiencing this issue (Weblogic 10, Icefaces 1.6, MyFaces 1.2). Listener info is in the web.xml. I'm getting this error, the class is defined in the icefaces.jar file which is in the WEB-INF/lib directory. 2007-10-03 15:06:15,374 WARN : com.icesoft.faces.webapp.http.servlet.SessionDispatcher - java.lang.ExceptionInInitializerError 2007-10-03 15:06:15,384 WARN : com.icesoft.faces.webapp.http.servlet.SessionDispatcher - java.lang.NoClassDefFoundError <[weblogic.servlet.internal.WebAppServletContext@1d849ae - ...

83. Stupid question about session error.    icefaces.org

Hello, Scenario: 1. I start browser session whic shows demo page. 2. browser remains open 3. just restart the server 4. browser shows exception see post bottom ... 5 need to open new browser Qestion is how to show user the initial screen or at least some screen without stacktace. How to handle invalid session behaviour. I'm qite a begine in ...

84. Big amount of attributes with identical contens in one session    icefaces.org

Hi, We use the ICEFaces tree in our web application. We have some problem. When a user clicks on a trees branch the new "XXcom.icesoft.faces.sessionAuxiliaryData" attribute is always added to session, where XX - the identifier of attribute, for example 1/, 2/, etc. The content of such attributes is equal. As a result there are a big amount of attributes with ...

85. Safe Session invalidation (HowTo)    icefaces.org

86. Query does not contain parameter named: ice.session    icefaces.org

servletPath=null, pathInfo=null, queryString=null, name=Persistent Faces Servlet Named Dispatcher Forward path: /DemoTikkes/block/ping Disabling the response for futher output Disabling the response for futher output El Servlet.service() para servlet Persistent Faces Servlet lanz una excepcin java.lang.RuntimeException: Query does not contain parameter named: ice.session at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.checkExistenceOf(ServletRequestResponse.java:231) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.getParameter(ServletRequestResponse.java:97) at com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:23) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:117) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35) at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) ...

87. Cannot serialize session attribute    icefaces.org

88. Configure session time    icefaces.org

89. Totally whacked javascript generated for first session    icefaces.org

Running ICEfaces 1.7.0 DR2 on Tomcat6. On the first session created after a server start, the generated javascript file "/xmlhttp/.../ice-extras.js" is complete gibberish. Instead generating a valid JS file like it does for all subsequent sessions, the ice-extras.js file created for the first session starts out exactly the same as the generated HTML created for the page, but then turns into ...

91. Query does not contain parameter named: ice.session    icefaces.org

Sometimes, but by no means always, the application crashes when a user leaves it open for half an hour without working in it. It doesn't seem to be a general timeout problem, since another user leaving the window open all day has no such problem. We moved on from ICEfaces 1.6.2 to 1.7DR#2, but the problem still persists. We running in ...

92. Query does not contain parameter named: ice.session    icefaces.org

Why would this be returned from the server durring the ping/pong? I have seen other forum questions like this and i have removed temp, work and data and also cleared the browser cache. Yet i still see this in the firebug console. I think this is the root cause of my app randomly stopping working and redirecting to the connection lost ...

93. the dreaded: session expired    icefaces.org

94. User Session Expired    icefaces.org

95. Terminating someone else session    icefaces.org

By the way, i have another question - what is the best practice, to check on each site if someone has a permission to enter to it? I want to check it on pageBean contructor, but i don`t know if this is a good solution - i dont want to use container for this.

96. Session tracking    icefaces.org

97. Problem with session keep alive    icefaces.org

Hi there, I have a problem with the session timeout: The application pushes data to the client every minute. Therefore I thought as long as the heartbeat succeeds and the application keeps on pushing, the connection would persist for the time configured in connectionTimeout, even if the user does not interact with the browser. But the serverside pushes won't keep the ...

98. Initalize Session Bean    icefaces.org

99. Saving reqest scope reference into session scoped bean.    icefaces.org

Hi, Maybe dump question. What happens to reqest scope bean if reference to it is saved into session scoped bean. Normally after end of reqest reqesd scope bean should be discarded by Garbage collector. But since reference still exists in Session scope bean this should not happen. Hovewer I suppose that begin of next reqest new reqest scope bean will be ...

100. session expired    icefaces.org

Hi every body, i'm trying to test MyEclipse/IceFaces tutorial. when i added the part of use of EntityManagerHelper of JPA i got the folowing exception : org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.ServletException: Session expired org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause javax.servlet.ServletException: javax.servlet.ServletException: Session expired com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:102) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665) org.apache.jsp.index_jsp._jspService(index_jsp.java:62) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause javax.servlet.ServletException: Session expired com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:38) com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29) ...