How to maintain session-expiration details..?

Where i have to include session-expiration time in ATG (i.e how to fire an session-expiration event) ..
Thanks in Advance,
Vishnu & Nithin Kayithi

you might want to check this link.
http://atgkid.blogspot.com/2011/11/atg-session-management.html

Similar Messages

  • How to maintain the vendor details in sap pi ?

    HI All,
    Here i am working with B2B scenario , can you help me how to maintain the vendor details and client details in parties,'
    here i have 49 vendors.
    control records are changing according to the vendor s .
    Plz help me ......

    Can u help me how to maintain the link between the pi and ecc for identifiers
    Would like to know what your scenario is. Identifier would be required to be maintained in the Party (created in SAP PI) when the scenario is Inbound.
    It is actually the Partner Number for the Partner Profile created in we20 of the sAP ECC system. (you may have to store it as KU or LI) in SAP system.
    Regards,
    Abhishek.

  • How to maintain Session between two ear files?

    HI Guys
    I have deployed two ear files in oc4j. One is used to open applet and other for business operations.
    My problem is after calling applet my session gets invalidate. How to save session between two context
    I am new in this field please help!!
    the sooner the better
    Rahul

    Can I do this if I integrate oc4j with apache!!
    Can I maintain session
    Plz. Help
    Rahul

  • How to handle session expiration in ATG

    Hi,
    We have a requirement wherein we have to redirect the user to a specific jsp when his session is expired. For example if a guest user is in cart page and is idle for more than 30 min he should be redirected to session expired page. We are using Apache web server and Jboss app server. Following are the ways i tried
    1. In Apache/conf/extra/httpd-vhosts.conf, I have set ErrorDocument 409 to session expired jsp - This is failed because jsp is not a static content and only static contents will be present in webserver. If it would have been a simple html (static) then this method would have worked fine I believe.
    2. In cart page I have set the sessionExpirationURL of cartformhandler to appropriate jsp, checkForValidSession to true, CheckSessionExpiration.expirationURL to same session expired jsp. I am not sure why this is not working.
    Please let me know the best way to handle this situation. Any suggestions would be appreciated.
    Regards,
    Avinash

    When user clicks any link on your page after session expired then you can redirect him to login page through your formhandler if a handleX() method was invoked by the request or you can use a filter which can check for something like profile.isTransient(). You can then redirect to the login page from your filter keeping a parameter of the original url to be used as login success url so that after login you can again redirect to the page that user originally intended to see.
    For detecting user idleness in browser, here is one of the possible approach using javascript by implementing a document level keyboard/mouse listener to detect user interaction in your page:
    <script type="text/javascript">
        var t;
        window.onload = resetTimer;
        document.onmousemove = resetTimer;
        document.onkeypress = resetTimer;
        function handleIdleTimedOut() {
            //alert("You are now logged out.");
            window.location.href = 'logout.jsp';
        function resetTimer() {
            clearTimeout(t);
            var timeoutPeriod = 1000 * 60 * 5;  //5 minutes       
            t = setTimeout(handleIdleTimedOut, timeoutPeriod);
    </script>Apart from this, you may also want to take a look at reverse ajax to send the timed out kind of notification to the browser with the help of a HttpSessionListener:
    http://directwebremoting.org/dwr/documentation/reverse-ajax/index.html
    Hope this helps.
    Edited by: Nitin Khare on Aug 23, 2012 12:15 AM

  • How to maintain session in jsp

    Hello Techies,
    I am very new jsp and doing xperimentation in jsp. I am having 3 jsp's namely a.jsp,b.jsp,c.jsp.
    In b.jsp I am having one combo box , after selecting the combo box I want to put the value in session.
    How can I do this one.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ page language="java" contentType="text/html; charset=iso-8859-1" %>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>Untitled Document</title>
       <script language="javascript">
           function ll() {
                   alert("test");
    //            var sel=document.forms[0].rule;
                       document.forms[0].submit();
                   alert("form is submitted")
          </script>
    </head>
    <body>
    <select  name="comboBox" size="1" onchange="ll()">
         <option value="">1</option>
         <option value="">2</option>
         <option value="">3</option>
    </select>
    </body>
    </html>How can I set the selected value in this combo box into session.
    Can u guys help me out in fixing this problem.

    Well you have to submit the form first.
    In the java code:
    String comboValue = request.getParameter("comboBox");
    session.setAttribute("comboValue", comboValue);

  • How to maintain session state in APEX

    Hi friends,
    I have a form with two page items and two buttons( submit ----->submits the page and inserts a record, cancel ------>redirects to other page)
    *)p1_A
    *)p2_B
    If i entered a value in the page item p1_A and p2_A, and after that without pressing "Submit" Button im pressing "Cancel" button means it is redirecting to the other page and again if i came back to my form page means, the values that i entered in the page item
    *)p1_A and p2_B is disappearing.
    Is is possible to maintain a values entered in the page item (p1_A and p1_B) without submitting it and navigating to some other page.
    Brgds,
    Mini

    Hi Peter,
    Thanks for the reply.
    Generally i have two page 1 and page 2
    page 1 contains 2 page items
    <li> P1_A
    <li> P1_B
    in the page 1 itself i have a list called po order.
    If i clicked that list po order means, it is navigating to the page 2. My page 2 also contains below two items and a button BACK
    <li> P2_A
    <li> P2_B
    After i entered the values in P2_A, P2_B and if i press the back button means, it is redirecting to the page 1. Again if i click the list po order means it is navigating to the page 2 but the values that i entered in P2_A, P2_B is disappeared.
    Whether it is possible to maintain the values that i entered in the page items P2_A, P2_B soon after redirection. Mainly im not submitting page 2, just redirecting back to it.
    settings to do that at the Button settingsAnd u said of doing that settings in the button that i have in page 2.
    yes i found the option set items with the values
    set item: P2_A  with values: &P2_A.
    But it didnt worked. Am i wrong.
    Kindly help me with this issue peter.
    Brgds,
    Mini

  • Maintaining Session State

    Hello,
    Does anyone know how to maintain session and application variables through server restarts? I want to be able to shutdown and startup my Tomcat server without having the users lose their session and application variables (and consequently, their data and login state).
    Any ideas?
    Thanks!
    -David

    I dont think its possbile since stopping and restarting gets new sessions. Only way that I would know would be to use cookies.
    But then again i dont like the idea of saving passwords in cookies

  • Maintain session in Multiple soap calls

    Hi Experts,
    We have an requirement which runs 2 synchronous calls.
    1st synchronous cal is for validating user credentials and
    2nd synchronous call (for successful log in) for uploading data in R/3 system.
    The main task is to maintain session(ex: time 15 mins) .
    1st synchronous call looks like Mobile Application (soap sender)<--->PI<----->(Soap receiver)Active Directory.
    2nd synchronous call looks like Mobile Application (Soap sender)<--->PI<----->(Proxy)R/3 system.
    can you pls let me know how can I achieve this requirement and
    how to maintain session ID, session (is it in PI or in third party) and from where to maintain session.
    Thanks in Adv..

    I am calling multiple web service apis from my bpel process on the same link. The Web services are written such that I always have to call a "login" api first which creates a context that's maintained throughout the session. Thus subsequent ws calls have to be made in the same session because all the other web service apis require the context to be present.
    You can think of this as a stateful SessionBean (sort of).
    The question is does bpel support this?

  • Maintaining session in portal

    Hi,
    I want to maintain session expire time in portal for my iViews both Porta components and Web Dynpro. Where can I set this value.
    Please let me know
    Thanks
    Bobby M

    Hi,
       I'm sorry. Messed it up Go through Web Dynpro application needs to never expire..
    Regards,
    Satyajit.
    Message was edited by:
            Satyajit Chakraborty

  • How to get session.maintain property on server side?

    Is there a way to trap javax.xml.rpc.session.maintain property on the server side in JAX-RPC compliant web service implementation? I would like to know if the client has enabled session.maintain property to true (which false by default). If not, can I specify the web service to be of "Application" or "Session" scope during deployment time? It used to be the case for Apache SOAP processor. I do not see any mention of that in the JAX-RPC spec.
    Thanks for any pointers.
    -Anirban.

    When I first started to work with JAXRPC I had questions about how web services maintained session across multiple calls and also if it was
    possible to maintain session across multiple web services. I downloaded
    the JAXRPC runtime implementation source code and tell you what I found.
    There is a HttpClientTransport class that handles the actual HttpConnection to the server. It checks to see if maintain session is
    set to true or false. If it is set to true it appends the JSESSIONID to the header variables of the request.
    The very first call gets a response back with header variable
    Set-Cookie: JSESSIONID=blahblahblah
    The HttpClientTransport looks for it and if it finds it takes the cookie and stores it somewhere. Every call after that will check to see if session maintain is true or false. If true, it will send
    the header:
    Cookie: JSESSIONID=blahblahblah
    Hope that helps.
    Mike

  • How webcenter maintain the session .

    Hi All,
    Can anybody explain me how webcenter maintain its session .
    As of my understanding if we perform any action on webcenter component it goes through some service call .
    Once this service call is madle idle icon keep moving that says your session is refreshed now .
    Please can u let me know which function and how it is called to idle timer to refresh (revolve).
    Its very important for me since i want to call this function from my template to refresh the session since i am not using standard portlet connection through wsrp .
    With Regards ,
    Arun.

    Well, you're not wrong, but things could be clarified...
    Check out + session invalidation... I presume you mean you explicitly invalidate it, yes? The session will timeout eventually anyway (unless you make it have no timeout).
    Anyway, to you actual question. The container manages them, to an extent. It handles sessions automatically for you thru session cookies with the session ID. But if the user has cookies disabled, then that'll muck things up. Generally, it's good practice to always use URL rewriting on your links to make sure that's not a problem.

  • Can anyone tell me how the session expires once we logout the page?

    can anyone tell me how the session expires once we logout the page?
    After logout ,if we click back button, it wont goes to last page,please explain how to write a code in jsp?

    When we click logout the page redirects to logout.jsp or sevlet, there
    the code for removing the attributes and invalidating the session is written. and then redirect the page to other page
    Do You want some code???

  • How session Expire...!

    Hello Friends ,
    Can Anybody tell me how session expire apart from this code :
    session.invalidate();
    session.removeAttribute("Attributename");
    Is there any other reason of expiring session.

    Try using this in your deployment descriptor:
    <session-config> 
            <session-timeout>30</session-timeout> 
    </session-config>  ...where the number is given in minutes

  • How to forward automatically when session expires ?

    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 appreciated.
    Thanks,
    shekar

    HI,
    the other method for this is be prepared from the start
    of making of the project make an action class that
    extends
    org.apache.struts.action.Action
    class
    check all such type of thing ie the session and redirect to global forwards
    logout page
    and other required things
    always extend this ur own made action class
    so that it has all functionality of the struts action
    and ur own vlaidation too

  • In indianvisa App. page; when I clicking a link in this page after a long time (2 hours), it shows me session expired. how can i solve it? Please.

    http://indianvisa-bangladesh.nic.in/visa/indianVisaRegDetails.jsp; this is page link. I want to stay in this page for a long time but i can't, they show me a message "session expired". Also I set an add-on namely Session Keeper but don't implement it. Please solve my issue.
    Thanks
    Bishwajit Das

    Many site issues can be caused by corrupt cookies or cache.
    * Clear the Cache and
    * Remove Cookies<br> '''''Warning ! ! '' This will log you out of sites you're logged in to.'''
    Type '''about:preferences'''<Enter> in the address bar.
    * '''Cookies;''' Select '''Privacy.''' Under '''History,''' select Firefox will '''Use Custom Settings.''' Press the button on the right side called '''Show Cookies.''' Use the search bar to look for the site. Note; There may be more than one entry. Remove '''All''' of them.
    * '''Cache;''' Select '''Advanced > Network.''' Across from '''Cached Web Content,''' Press '''Clear Now.'''
    If there is still a problem,
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Then restart.

Maybe you are looking for

  • How do I disable game center?!?!?

    Other threads seem to indicate that it's possible to disable game center by way of settings > general > restrictions but if that ever existed it's gone now.  Any thoughts? On that subect I have a simple basic solitaire game (Real Solitaire) that I'd

  • Batch management number ranges

    Hi guru's     My client is using internal number ranges for my raw material but now they want to enter external number at the time of Goods reciept and also I want to make it mandatory for external number ranges. that mean system is proposing me inte

  • BADI's in a BAPI

    hi . i want to search for BADi's in a BAPI. On net i hv seen programs which gives list of all user-exits  / BADI. but this program is for finding BADIs for a tcode or program not for BAPI. Is there any way to find out BADIs for a BAPI other than debu

  • Cannot get Folder Redirect to work on RDS Server

    OK here is what I am trying to do.. Windows Server 2008 R2 Remote Desktop Services I want to redirect all user profile folders (Desktop, Music, etc...) to a remote share  \\server\share  to which the share is actually only giving Read-Only rights.  E

  • Cant connect after being on secured network

    Hello, About 2 weeks ago I registered my macbook in the network of my university so that I could get wireless around campus. After succesfully using the system, i went back to my room and tried to connect to my personal router, but it didnt work anym