portlet « Session « Java Enterprise Q&A





1. window.open() clears session    stackoverflow.com

I have several portlets in my application. If I open a url using window.open() method, the session id changes and causes an error in other portlets. If I don't open this ...

2. Setting Response to session    stackoverflow.com

Setting response in session

    @ResourceMapping("SomeValue")
    public void getSites(ResourceRequest request, ResourceResponse response) {
    try {
    ...

3. Obtaining session objects in pop-up window    coderanch.com

Hello all, I was wondering if anyone had success obtaining a session object in a popup window. My scenario is that once a user enters date on a jsp page, he clicks submit. The action is listened to in my portlet (or in your case, maybe a servlet). I then take these values and save them in a session object, thus ...

4. portlet session?    coderanch.com

Hi rathi! Are you talking about JSR 168 portlets or some vendor specific programming model (IBM, for instance)? In JSR 168, the PortletSession is technically the same as the HttpSession from the underlying Web application. But the important difference is, that the PortletSession interface enables you to use two different scopes: application and portlet. If you use application, all portlets of ...

5. Jboss Session Handling    coderanch.com

6. Http Session and PortletSession?    coderanch.com

Hi When the user initially accesses a portlet, a PortletSession is created. The portlet session stores transient data associated with an individual use of the portlet. The PortletSession object extends from HttpSession and serves much the same purpose. The PortletSession is intended to represent an ongoing conversation between the client and the portlet. To this end, the PortletSession can be used ...

7. What is the difference between Request Session and Portlet Session?    coderanch.com

Me too thought the same but got confused with few things. To be more specific... in my application while retriving the session id i noticed that I can get id in two ways. One was to use "request.getRequestedSessionId()" and the other being "request.getPortletSession().getId()" and both being two unique ids everytime so dont know exactly what they are. Could you please explain ...

8. Getting Portlet session.    coderanch.com

HI, I have indidual portlet applications deployed in OAS Portal 10G. I need to pass user related information to all applications which are indidual portlets to do some co-branding. I know that I can append these as a parameter to the Portlet URL. But I don't want to do that. Apart from that what are the possible options to put that ...

9. Alert before session ends...    coderanch.com





11. portlet session    coderanch.com

I am just starting to get some hold on the portlet session and was wondering ( pl pardon if this is totally incoherent and I am just jumping the learning gun..) Lets say we have two different portlet apps (2 wars) - is it possible : a) to have a single window which can display portlets across both these apps b) ...

12. Getting NULL for session variable - why?    coderanch.com

Hi, I am sure there must be a simple explanation for this, however, I can't quite see it at the moment. The following value of the session var storeType is coming out as NULL. public void processAction(ActionRequest request, ActionResponse response) throws PortletException, java.io.IOException { String storeNo = ""; String userStoreNo = ""; PortletSession session = request.getPortletSession(); storeNo = request.getParameter("selectedStoreNo"); userStoreNo = ...

13. why new window does not detect session time out    coderanch.com

Hi All, We are facing one problem in our application which is based on portlets(java/jsp) That if a link which opens in new window, is clicked after session time out, even then it gets opened up. But if a link which opens in the parent window itself, it detects session time out and redirects the user to login page. Can anyone ...

14. Session Bloat in Faces Portlet    coderanch.com

I have created a JSR-168 Faces Portlet using RSA 7.0.0.5 for WebSphere Portal 6.0.1.3. The portlet runs as designed, but we noticed a problem in performance testing. It appears that every time we do a POST from the faces portlet, it adds data to wps.war's session. We could see that wps.war's session size was growing as high as 6 MB, and ...

15. PORTAL session NOT PortletSession    coderanch.com

16. Session Timeout in LDAP    coderanch.com





18. How to invalidate portlet session on logout?    coderanch.com

Hello, How do I invalidate all portlet sessions on logout? I am using Pluto 2.0. in my logout.jsp in the portal I do the following <% session.invalidate(); %> This invalidates the "portal" session but my portlet sessions are not invalidated. I use objects with implement the HttpSessionBindingListener interface. These should be called, when the user logs out and the portlet session ...

20. session timeout while user is active    coderanch.com

22. how to convert portlet session to http session    forums.oracle.com

Are you trying to share a session or a session attribute? Sharing a session: Not a real good idea. Sharing an attribute: Both the servlet and the portlet must live in the same WAR file. Sessions are not shared across WAR files. A portlet deployed in one WAR file cannot share session attributes with a servlet deployed in another WAR file. ...

23. regrding session in portlets    forums.oracle.com

Hi I am trying to add one item in my item list.Adding an Item is done successfully but when i get back to list and refresh the page same item is getting added twice. I know some session management is required tried few things with Portlet Seession object but not getting the root cause. Please tell me reason behind this and ...