Saving Session Data

Hi all,
I am using the VPN to connect to the SAP system.
Could anyone tell me how to save the session data if SAP connection broken or closed unexpectedly?
Is there any command or what else?
Thanks....

My guess,Sorry no chance untill your session not called any Commit work.
Contect Basis they will take care of these kind of situation.

Similar Messages

  • Saving session data for different browsers

    If I open 2 or more Firefox windows the same session data is saved across the browsers, rather than one for each browser window. Is there a way to handle this?

    Not if you are using cookies as the session tracking mechanism.
    Basically Firefox is treating all its windows as being the same internet browsing "session".
    So it shares cookies across all the open windows. IE does a similar thing for windows opened from links, and File:New Window.
    Because the Servlet container keeps track of your session via the "session cookie" that means that your session data is saved across browsers.
    If you disable the cookie session mechanism on the Servlet container (I think you can do that) and just use the urlEncoding rather than cookies to retain the session, you could probably accomplish your goal. However it would be tricky, and the SessionID would be completely visible in the address bar.
    Cheers,
    evnafets

  • Why I get "Error in getting session data" error when running report?

    Hello,
    I have reporting services on one server, and SharePoint 2010 on other server. When I view report from browser, I got blank page. From Report Server Log file, I got below error:
    v VERBOSE: writting session cookie: ekkrjbubp00t5wzc3rzspvzb
    v VERBOSE: Saved report snapshot to session in a background thread <for same session id>
    e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database.;
    e ERROR: Error in getting session data: Expired Session: ekkrjbubp00t5wzc3rzspvzb
    e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: , Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: The report execution ekkrjbubp00t5wzc3rzspvzb has expired or cannot be found
    Are there anyone getting the same issue as mine? I did not see any solutions for this issue when I searched.
    Thanks,
    Megan

    There are a number of timeouts in SSRS; session timeout, report execution timeouts, http request timeouts.  A session timeout in SSRS is not the same as a session timeout in ASP.NET.  Below are some articles that can help you understand the timeouts
    and hopefully lead you down the path of discovery.
    This articles is a good article as it discusses the session timeout and the keep alive that is sent from the report viewer.
    http://blogs.msdn.com/b/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx
    This article is good as well in describing some of the timeouts.
    http://blogs.msdn.com/b/dynamicsaxbi/archive/2013/02/14/how-to-addressing-ssrs-session-timeouts.aspx

  • Tomcat 5.0.25 persisting session data by default ?!?

    This is, I imagine, a dumb question, but I can't quite figure out what is happening by looking at past postings.
    When I start Tomcat I get an error : "IOException while loading persisted sessions" because some classes we use are not serializable. That makes sense - we didn't design them to be serialized.
    I understand that Tomcat CAN try to persist session data across restarts. However, I do not want it to do this. I thought this was something we had to configure, but it looks like it happens by default (?)
    Anyway ... any advice about how to prevent this behavior, at least for our app, would be appreciated ... really puzzled ... !
    Thanks in advance for any help you can give !!
    ethan

    Well, thanks ... I have been there actually, but it only tells me how to set up the 'Experimental" Persistent Manager and not how to turn this off. Here is an interesting blurb from that site :
    <<<<<
    Whenver Catalina is shut down normally and restarted, or when an application reload is triggered, the standard Manager implementation will attempt to serialize all currently active sessions to a disk file located via the pathname attribute. All such saved sessions will then be deserialized and activated (assuming they have not expired in the mean time) when the application reload is completed.
    In order to successfully restore the state of session attributes, all such attributes MUST implement the java.io.Serializable interface. You MAY cause the Manager to enforce this restriction by including the <distributable> element in your web application deployment descriptor (/WEB-INF/web.xml).
    >>>>>>>
    I THINK this means that persitence is on by default. I'm not certain because - if that is true - then what is the Persisistent Manager for ? I have found thi ssnippet of config in conf/server.xml :
    <<<<<<
    <Context path="/myApp" reloadable="true" docBase="myApp" workDir="C:\myApp\\work\org\apache\jsp" >
    <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
    </Context>
    >>>>>>
    which tells Tomcat to use the Persistent Manager for my app and then ... tells it not to store session data. And this seems to work ... at least the error messages go away. Now, though, I get a new and different error message :
    <<<<<<
    SEVERE: no store configured, persistence disabled
    >>>>>>
    So I am still doing something wrong ... I think ... and still looking for help ... B-)
    Thanks again, black_lotus ... maybe we'll learn about this together ;-)

  • Save the session data in the database !

    Hello everybody,
    I read an article on JavaWorld website about saving the session data of an application in the database instead of mantaing them in memory.
    In this way, the web application is more scalable and in case the application server crashed the session data can be taken by another application server.
    I was sure that this was a good motivation of writing a class to save the session data of my application in the database, but i read another article where a good methodology to
    create a scalable web application was to save the session data in more application server so if one application server crashed another application server can take the control of the entire application.
    I think that at the moment i have just a bit of confusion in my mind.
    Any suggestion ?
    Cheers.
    Stefano

    What you've read was a method of "load balancing" where "state" is maintained by a backend server instead of the web servers themselves. Yes, if done properly, this would achive true web server independance, and if one crashed, another would pick up where it left off. Of course, you'll still need an HTTP load balancer in front of the web server farm, so it can dynamically shift the load.
    From an architecture standpoint, it's a good way to go, but only IF you really need 7x24 with zero downtime. Reason being twofold. 1) It's a huge performance hit, becase each GET/POST requires a trip to the DB, because it's holding state. 2) It's a lot of work, because you're now taking on the role of "managing" sessions (e.g. when to expire, reading the cookie/URL for session IDs.
    I was once responsible for a 7x24 Intranet that ran core business applications. My service level agreement with my customers was 7x24 alright, but with the risk of a possible "blip" (meaning, if one server crashed, simply reconnect and continue your work). Worst case, one lost just that one page worth of work.
    I hope that helps explain!
    bRi

  • Automatically Saving Form Data

    Hello,
    I'm looking for a way to automatically save the user input in background while the user is filling forms. I've had cases where the user is filling out large forms and when they accidentally closes the browser without "submitting the form", navigate away from the web page or the browser crashes only to find that all their data is lost. I've noticed if you submit the page without saving the data is cached/saved. I would think a technique to submit the page without the window refresh could work but not sure how that would function in APEX. Does anyone have any suggestions?
    thanks!
    Randy

    You have to work with javascript to do this.
    Register an onchange event to each input field and use an Ajax call to a plsql procedure that saves the item value in session state.
    Use this call:
    APEX_UTIL.SET_SESSION_STATE (
    p_name IN VARCHAR2 DEFAULT NULL,
    p_value IN VARCHAR2 DEFAULT NULL);
    Create an application process (on demand) that uses this call to save the item value, and call the application process using the url syntax with an Ajax call.
    I prefer using Jquery (See Jquery.com) to do such things, but you can use the Apex library function htmldb_Get to do this too.
    Will this work for you?
    Regards Guido

  • "Could not deserialize session data" error during shutdown WLS 6.0SP2

              Hello all,
              I get this Error ("Could not deserialize session data") when shutting down WLS
              6.0 SP2.
              I set the property 'PersistentStoreType' to 'memory' in weblogic.xml to use memory-based
              storage for session data. So WLS should not try to serialize the session and save
              it to disk (and I didn't find any files). I set a breakpoint in the writeObject()/readObject()
              methods and realized that WLS calls writeObject on all in the session saved objects
              and readObject directly afterwards. Here's the stackTrace:
              ObjectOutputStream.writeObject()/ObjectOutputStream.readObject()
              AttributeWrapper.getObject()
              SessionData.removeAttribute()
              SessionData.removeValue()
              SessionData.remove()
              MemorySessionContext.invalidateSession()
              MemorySessionContext.shutDown()
              WebAppServletContext.destroyServlets()
              HttpServer.destroyServlets()
              HttpServer.shutDown()
              WebService.shutDown()
              ServerServiceList.shutDown()
              T3srvr.die()
              T3srvr.waitForDeath()
              T3srvr.run()
              Server.main()
              I do save some objects which are not Serializable in the session. I understand
              that session data can be made persistent in a file/jdbc and then the objects must
              be Serializable but not when saving the session data in memory.
              Why is WLS trying to Serialize the Session Data and how can I switch it off ?
              The Documentation says that it is allowed to store any object in the sessio, as
              long as it is not persistet.
              Thanks for your help,
              Oliver
              [weblogic.xml]
              

              Hello Oliver & All-
              Did anyone ever make any progress with this question, or come up with an answer?
              I've found similar behavior when properly shuting down a WLS server with this command:
              java -classpath $CLASSPATH weblogic.Admin -url t3://localhost:7001 -username <user>
              -password <passwd> SHUTDOWN
              TIA.
              --oliver.
              "Oliver Seiler" <[email protected]> wrote:
              >
              >Hello all,
              >
              >I get this Error ("Could not deserialize session data") when shutting down
              >WLS
              >6.0 SP2.
              >I set the property 'PersistentStoreType' to 'memory' in weblogic.xml to
              >use memory-based
              >storage for session data. So WLS should not try to serialize the session
              >and save
              >it to disk (and I didn't find any files). I set a breakpoint in the writeObject()/readObject()
              >methods and realized that WLS calls writeObject on all in the session saved
              >objects
              >and readObject directly afterwards. Here's the stackTrace:
              >
              >ObjectOutputStream.writeObject()/ObjectOutputStream.readObject()
              >AttributeWrapper.getObject()
              >SessionData.removeAttribute()
              >SessionData.removeValue()
              >SessionData.remove()
              >MemorySessionContext.invalidateSession()
              >MemorySessionContext.shutDown()
              >WebAppServletContext.destroyServlets()
              >HttpServer.destroyServlets()
              >HttpServer.shutDown()
              >WebService.shutDown()
              >ServerServiceList.shutDown()
              >T3srvr.die()
              >T3srvr.waitForDeath()
              >T3srvr.run()
              >Server.main()
              >
              >I do save some objects which are not Serializable in the session. I understand
              >that session data can be made persistent in a file/jdbc and then the objects
              >must
              >be Serializable but not when saving the session data in memory.
              >Why is WLS trying to Serialize the Session Data and how can I switch it
              >off ?
              >The Documentation says that it is allowed to store any object in the sessio,
              >as
              >long as it is not persistet.
              >
              >Thanks for your help,
              > Oliver
              >
              

  • Store the session data temporary

    Hi
    I'm a beginner in JSP, and I started to design a webpage to ebook store site.
    I have a problem with saving the session data , because i didn't want to use data base in may site. and that data will used in the later pages in the web site.
    as example : if the user needed to add more than one item to his\here cart , then all that items must appeared in the page named view cart .
    so please help me.....

    for u store data in a session u have
    Declare session object
    ---HttpSession session =getSession(true);
    session.setAttribute("key",value);
    if u want to the data added in a different u have to just
    Object obj =session.getAttribute("key",value);
    if(obj != null)
    String str =(String)obj;
    System.out.println("value is ===" + str);
    }

  • I need the session data tied to crash report bp-0a1c605d-a94c-453b-9e08-e60ab2120911

    I spent a good chunk of time Sunday November 10th trimming the number of tabs I had. I closed 900 of them. I was about to restore session after a crash today when the circuit was overloaded. As a result, the "Previous Session" became the Firefox start page. The last version of sessionstore.js is from November 2nd, and sessionstore.bak was last saved on November 5th, so that route's no good. The crash report however was submitted earlier today.

    hello, a crash report does not contain your session data - the only thing that gets submitted is the url of the site that was open & active once firefox crashed.

  • Not saving the data in two tables

    Hello,
    its my production problem, i have an update form where you can update the records and these
    records will sit in the temp tables until the final approval from the supervisor.
    In this update form i have two table where i am saving the data one is dup_emp to save the
    officer data and another is the dup_address to save the officer where he worked data.
    in this form address form is pop up screen where you can update and gets back to the original
    form where you can see all the other fields. my problem is if a user hit the cancel button on
    address form example the user doesnt want to update any information on that screen so user
    cancel that screen, and comes to the other screen where the user makes the changes to the
    appropriate fields and hits the SAVE button. in this case its saving only to the dup_emp table
    data not the address data from the address form to dup_address table for the same record.
    if the user cancels in both the screens cancel button it should delete the record from both the
    tables but cancel in form and saves in another form it should save the record in both the
    tables.
    here is my code from both cancel buttons from both the forms.
    this is code is from address form cancel button.
    delete from dup_address
    where address_id=:address_id
    and parent_table_name='emp';
    commit;
    CLEAR_BLOCK;
    go_block('DUP_EMP');
    This code is from dup form of the cancel button
    declare
    temp_address_id varchar2 (12);
    begin
    delete from dup_emp
    where secondemp_id =:dup_emp.secondemp_id;
    delete from dup_address
    where parent_t_id=:global.secondemp
    and parent_table_name='emp';
    commit;
    clear_block;
    go_block('secondaryemp');
    END;

    Hi,
    As Aravind mentioned, it's nothing related to workflow. You have to find a BADI in tcode PA30 that could be used after the infotype is updated. So, you can use FM SAVE_TEXT.
    Regards,

  • How do I access session data through an EJB?

    Hi
    How do I access session data through an EJB?
    I am currantly developing a Web service (using ejb's, JBoss.net and Apache Axis). A client making a call to this Web service, is expecting a bussiness-object in return. My problem is that this bussiness-object i stored in a users session data. How do I retrieve this bussiness-object from the users session.
    I have read that this does not work with httpsessions, is this true? If this is true, is it possible to store the bussiness object in a JavaBean e.g:
    <jsp:useBean id="userContextWebImpl" scope="session" class="com.ac.march.client.UserContextWebImpl">
    <%
    String key = "test";
    String value = "This is the value";
    userContextWebImpl.setValue( key, value1 );
    %>
    </jsp:useBean>
    and then retrieve this information through the EJB? Or is it possible to do this by using Statfull JavaBeans? Or can this be done through a nother solution?
    Please help!

    I have created a JavaBean with scope="application" to store some data. The data is stored when a user prefomes a spesific task.
    A different person then makes a call to a Web-Service on the server. The Web-Service then asks an EJB to retrieve the data stored in the JavaBean (servlet cotext). In other words: How do I retrieve this data from the EJB?
    I have tried with this code, but with no luck.
    (ApplicationContextWebImpl is the JavaBean)
    public static String getBookingResult( String key )
         String myResult = null;
         String myKey = key;
         ApplicationContextWebImpl applicationContextWebImpl = null;
         try
              applicationContextWebImpl = new ApplicationContextWebImpl();
              myResult = (String)applicationContextWebImpl.getValue( key );
         catch ( java.rmi.RemoteException e )
         return myResult;
    }

  • Waveburner;  a few Questions regarding track files and Session Data

    After a bit of negotiating, I'm almost ready to burn. Was having problems with file locations and discovered that i had multiple files in different locations. Those have been eliminated and all relative track files are in one place now with the Song Data File as well.
    I then re-imported the individual aif tracks only to find that all of my fades and edits are GONE. It appears that I may have to DO THEM ALL OVER AGAIN! Please tell me that there is a work around.
    Is it possible to import only the Session Data related to the fades and edits(everything but the actual audio files), so as to avoid all this "do-again" work?
    I was also wonder if it is necessary, or perhaps a good idea, to change the File INFO for each of the individual audio track files from "OpenWith" iTunes (default setting) to "Open With": WAVEBURNER ?. (selectable on the aiff files, "Show More Info" window
    Currently the aif files are set to "OpenWith" iTunes (default)
    One last question please.
    Is Waveburner really up to snuff? How many people are using this for Mastering and Burning CD's? I'm about to start inserting some AU Mastering Plug Ins and I'm hoping for the best. Any other suggestions are greatly appreciated.
    G5 Dual 2.0/PBook G41.5Ghz/LogicPro7 Live5 Reason3.0 PansncDA7 TascamFW1804   Mac OS X (10.4.7)  

    You're grammer isn't bad jord, it was I who asked a plethora of questions under one Subject heading.
    When i open the project file(.wb3),
    The prompt says;
    "Please choose a replacement from the list below:"
    /Volumes/320GB HD/Users/ahuihou/.Trash/1 Track 01.aiff
    /Volumes/320GB HD/Users/ahuihou/.Trash/2 Track 02.aiff
    /Volumes/320GB HD/Users/ahuihou/.Trash/3 Track 03.aiff
    /Volumes/320GB HD/Users/ahuihou/.Trash/4 Track 04.aiff
    /Volumes/320GB HD/Users/ahuihou/.Trash/6 Track 06.aiff
    As you can see the files are in the trash.
    The first problem is that there are no actual files in the trash. Just an icon of a CD Disc which was dragged there to eject it, It is no longer in the disc drive/tray. Perhaps i should put the disc back in the drive and then update/replace the files afterwords. (The CD is scratched.)
    The strange thing is that i can still preview the track that's in the trash by selecting More Info and playing it on the little Quicktime player bar. I guess the file is in a cache somewhere?
    I've looked everywhere on all drives for the specific files but can not find them anywhere.
    In the Replacement prompt there is a place that I can check to "Search in the same folder for subsequent files" button on the "Replacement" prompt.
    which "same folder" is it refering to?
    The Trash folder where the old files are or the Folder where the actual .wb3 project file is? I do have all of the correctly named song files/regions in the same folder with the project file.
    maybe i should just start again. i'm not one to give up easy though and would much prefer to "beat" the computer at the game.

  • How can we reset the session data in SAP ISA B2B application.

    com.sap.isa.isacore.action.IsaCoreInitAction$StartupParameter this action class providing the special feature to store all data passed to it in the request as parameters into the session context and make them available for all other actions.
    1. But in the inner class they had defined private parametrized constructor.
    2. Action class is defined as final.(there is no chance to override the method)
    3. There is no setter method (only getter() is available).
    4. Creating a new Z_ class that is reflecting in entire application.
    5.They had hard coded the Session attribute name in Action class.
    6. Application is expecting a session object with the same attributes.
    Is there any chance to create a new object for this class or any where any chance to reset the session data. Am using the Multiple_SoldTO concept in my application. My back end ECC .Please help me.
    Advanced Thanks
    PC.M
    Edited by: pmudigonda on Jul 6, 2011 1:21 PM

    I am not sure about your requirement, but yet.. Did you check UserSessionData object? It encompasses all the session variables.

  • Saving array data from a waveform chart

    I am using a CRIO 9004 and a 9237 bridge module to measure some strains from strain gauges. I've got one timed loop that reads the DMA FIFO and puts the arrays of values (16 data points, 4 per channel) into a queue. In the consumer timed  loop a For loop scales the binary data, auto indexes it into arrays, then the arrays are merged into a 2D array for the four channels  displayed on a waveform chart . Everytime the consumer loop runs it indexes 4 data points (per channel) yet the waveform chart plots them in a consecutive manner and doesn't overwrite the previous four. If I convert the arrays to waveform arrays I don't see anything on the waveform chart.
    If I pass the 2D array of data to a array indicator inside or outside the consumer loop I get only 16 data points. I want to save the information that appears on the waveform chart  after the consumer loop but because I'm not using waveform data type I can't use the write waveforms to file vi. The waveform chart history buffer has been set to 195360.
    Idealy we will run the four channels for 120 seconds charting the data and saving the data. The minimum data rate is 1613kS/s (403 per channel) The data can be saved after the loops have finished gathering and processing or while they are running. I noticed when I tried to write to TDMS it slowed the consumer down. Same thing if I use a shift register with the volume of data.
    I suspect I'm not sending data to the chart in the correct manner ( usualy takes two attempts to "clear chart" using shortcut menu).  I'm not too familiar with timed loops /producer consumer loops  and just tried to put something together based on examples.
    I've attached my host vi and front panel screenshot.

    Hope they appear attached this time.
    Attachments:
    Basic DMA (Host).vi ‏444 KB
    screenshot2.jpg ‏113 KB

  • Could not deserialize session data, java.io.InvalidClassException

    Whenever I click on logout link from Liferay(Which deployed as application on Weblogic 10.3),It shows below Exception in the console however i am able to logout sucessfully.
    Could not deserialize session data.
    java.io.InvalidClassException: org.hibernate.proxy.pojo.javassist.SerializableProxy; local class incompatible: stream classdesc serialVersionUID = 1180036893511205383, local class serialVersionUID = -2265249369383210104 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:560)
    It seems to be Classpath polluted with different hibernate jars.But still not able to figure it out.Below is the jar files which i have in classpath.
    hibernate-annotations.jar
    hibernate-commons-annotations.jar
    hibernate-core.jar
    hibernate3.jar
    Application Server: Weblogic 10.3
    Any Help would be much appreciated.

    Sounds like you have two different versions of a class in the two applications.
              If you change a class implementation and recompile - the updated class gets a new UID. Looks like maybe one app has a jar with the older class and the other app has a jar with the new class.

Maybe you are looking for

  • How do i transfer my data from macbook pro to iMac?

    i just bought a iMac.  How do i transfer my itunes library, photos, files via bluetooth from macbook pro to my iMac?  Much thanks for your help!

  • EXIF Information while in Safari?

    Is there any way (via customization or add-in) to allow Safari to display EXIF information from a jpeg photograph? I know that I could safe the image and load it into iPhoto or use some other piece of software (like CocoView) but I was curious if the

  • Lightroom Serial Number not Valid

    A while ago I downloaded Lightroom and was using it with no problem.  Accidentally, I uninstalled the program from my mac.  Now, when I try to reinstall it, I get a red "X" whenever I enter my serial number. Because of this, I'm not able to proceed w

  • About SELECT statement

    Hi, I have a table say XYZ, the only operation performed on the table is insert(no update or delete). The table can be accessed by other applications also but always read only mode. I'm executing a simple query SELECT * FROM XYZ Is it safe to assume

  • Integration between Siebel and OBIEE

    Hello everybody! Could anyone please provide me with the steps or a link that shows how to integrate OBIEE with Siebel in order to view the information in the Marketing and Marketing Analytics screen in Siebel Call Center? Regards,