Determing session size

Dear all,
Had a look at the API and googled no luck sofar.
Whats the standard way of determining the size of the session object, on the server ? We need to log this info for our application.
I fear that we must persist the session object to the file-system as a file, and determine size this way. Does anyone know of an easier solution?
thanks in advance.
Ben

Not sure about a link. It was on these forums, I think in the Java Programming Forum:
<http://forum.java.sun.com/forum.jspa?forumID=31>
And I believe it was uj or UlrikaJ that described it. It wasn't specifically about sessions, but about Java Objects in general.
One thing to note is: in order for it to work, all the objects in the session must be Serializable (<http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html>). The HttpSession is an interface which does not extend the Serializable interface, so you can't count on the session itself being serializable. You may need to wrap it in a class of your own before you serialize to handle serializing its contents using readObject and writeObject. In practice, Session objects probably will be serializable since they often get persisted to disk or DB when memory is low, and are passed around servers when using clustering. But that would be an implementation detail particular to each server.
For a general overview of Serialization, see:
<http://java.sun.com/docs/books/tutorial/essential/io/serializing.html>
And substitue java.io.ByteArrayOutputStream (<http://java.sun.com/j2se/1.5.0/docs/api/java/io/ByteArrayOutputStream.html>) for the FileOutputStream in the code.

Similar Messages

  • Limitation on Session Size (8K) with Clustering

              Hi.
              Is there a limitation on the session size for a clustered environment. i'm not
              sure whether its true or not. can anyone please clarify. Also is it for the entire
              session object or per user.
              Thanks
              Nitesh
              

    There is no limit as such. The only limit imposed depends on the heap allocated for
              the JVM.
              Nitesh wrote:
              > Hi.
              >
              > Is there a limitation on the session size for a clustered environment. i'm not
              > sure whether its true or not. can anyone please clarify. Also is it for the entire
              > session object or per user.
              >
              > Thanks
              >
              > Nitesh
              Rajesh Mirchandani
              Developer Relations Engineer
              BEA Support
              

  • Oracle ADF viewScope causing session size bloat

    As I'm sure you know, ADF introduces some additional scopes (pageFlowScope, viewScope and backingBeanScope) on top of the standard JSF ones. Our use of one of the ADF scopes, viewScope, appears to be causing our session size to bloat over time.
    Objects that are view scoped (e.g. our Backing Beans) are managed by ADF and appear to be put into the session in a org.apache.myfaces.trinidadinternal.application.StateManagerImpl$PageState object. The number of these objects in the session is equal to the org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS in our web.xml configuration file.
    Once all of the tokens are ‘used up’, by navigating around the application, the oldest one of these objects is removed from the session and (should be) garbage collected at some point. However, the reclaim of this space is observed much later, after the session has expired. Because of this, when load testing the application we see the heap space usage gradually increasing, before causing the JVM to crash.
    The monitoring of the creation and destruction of our objects is done by adding log statements in the default constructor and in the finalize method (Which overrides the finalize method on object). The logging statements on object creation are seen when we would expect them, but the logging statements from the finalize method are only seen after session expiry. When a garbage collection is triggered using Oracle JRocket Mission Control we see the heap usage drop significantly, but don’t observe any logging from the finalize method calls.
    Does anyone have any thoughts on why the garbage collector might not be able to reclaim view scoped objects after they are removed from the session?
    Thanks in advance.
    P.S. I have already found VIEW SCOPE IS NOT RELEASING PROPERLY IN ADF which is a very closesly related thread, but unfortunately was not able to use the replies on there to resolve our issue. I've also posted this same question on Stack Overflow (http://stackoverflow.com/questions/13380151/lifetime-of-view-scoped-objects-oracle-adf). I'll try and update both threads if I find a solution.
    Edited by: 971217 on 14-Nov-2012 07:08

    Hi Frank,
    Thanks for your very useful reply. I've managed to recreate the problem today by doing the following.
    1. Create pageOne.jspx and pageTwo.jspx
    2. Create PageOneBB.java and PageTwoBB.java
    3. Register PageOneBB.java and PageTwoBB.java in the adfc-config.xml as view scoped managed beans.
    Then after building and deploying out to my Weblogic server I continue by doing the following:
    4. Open pageOne.jspx in a browser. Observe the constructor of pageOneBB being called and the correct default text being shown in the box. [Optional] Set the text value to a new string and click on the button.
    5. Get redirected to pageTwo.jspx. Observe the constructor of pageTwoBB being called and the correct default text being shown in the box. [Optional] Set the value to a new string and click on the button.
    6. Monitor the Weblogic server using Oracle JRocket Mission Control. Observe the large lists of booleans being created as expected (5,000,000 per click!).
    7. Note that this number is never reduced - even though the old view scoped beans should have been released for garbage collection.
    8. Repeat steps 4 and 5 until I see the Weblogic server crash due to a java.lang.OutOfMemoryError.
    9. Wait for all of the sessions to expire. I've set my session expiry to be 180s for the purpose of this test.
    10. After 180s observe the finalize method being called on all of the backing bean objects and the heap usage drop significantly.
    11. The server works again but the problem has been demonstrated in a reproducible way.
    adfc-config.xml
    <managed-bean>
        <managed-bean-name>pageOneBB</managed-bean-name>
        <managed-bean-class>presentation.adf.test.PageOneBB</managed-bean-class>
        <managed-bean-scope>view</managed-bean-scope>
    </managed-bean>
    <managed-bean>
        <managed-bean-name>pageTwoBB</managed-bean-name>
        <managed-bean-class>presentation.adf.test.PageTwoBB</managed-bean-class>
        <managed-bean-scope>view</managed-bean-scope>
    </managed-bean>
    pageOne.jspx
    <?xml version='1.0' encoding='utf-8?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
        xlmns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
        xmlns:c="http://java.sun.com/jsp/jstl/core" >
        <jsf:directive.page contentType="text/html;charset=UTF-8" />
        <f:view>
            <af:document id="t" title="Page One">
                <af:form>
                    <af:inputText id="pgOneIn" value="#{viewScope.pageOneBB.testData}" />
                    <af:commandButton id="pgOneButton" partialSubmit="true"
                        blocking="true" action="#{viewScope.pageOneBB.goToPageTwo}"
                        text="Submit" />
                </af:form>
            <af:document>
        </f:view>
    </jsp:root> pageTwo.jspx
    <?xml version='1.0' encoding='utf-8?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
        xlmns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
        xmlns:c="http://java.sun.com/jsp/jstl/core" >
        <jsf:directive.page contentType="text/html;charset=UTF-8" />
        <f:view>
            <af:document id="t" title="Page Two">
                <af:form>
                    <af:inputText id="pgTwoIn" value="#{viewScope.pageTwoBB.testData}" />
                    <af:commandButton id="pgTwoButton" partialSubmit="true"
                        blocking="true" action="#{viewScope.pageTwoBB.goToPageOne}"
                        text="Submit" />
                </af:form>
            <af:document>
        </f:view>
    </jsp:root> PageOneBB.java
    package presentation.adf.test;
    import java.io.IOException;
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.context.FacesContext;
    import org.apache.log4j.Logger;
    import logger.log4j.RuntimeConfigurableLogger;
    public class PageOneBB implements Serialiable
        /** Default serial version UID. */
        private static final long serialVersionUID = 1L;
        /** Page one default text. */
        private String pageOneData = "Page one default text";
        /** A list of booleans that will become large. */
        private List<Boolean> largeBooleanList = new ArrayList<Boolean>();
        /** The logger */
        private static final Logger LOG = RuntimeConfigurableLogger.gotLogger(PageOneBB.class);
        /** Default constructor for PageOneBB. */
        public PageOneBB()
            for (int i = 0; i < 5000000; i++)
                largeBooleanList.add(new Boolean(true));
            if (LOG.isTraceEnabled())
                LOG.trace("Constructor called on PageOneBB. This object has a hash code of " + this.hashCode());
        /** Method for redirecting to page two. */
        public void goToPageTwo()
            try
                FacesContext.getCurrentInstance().getExternalContext.redirect("pageTwo.jspx");
            catch (IOException e)
                e.printStackTrace();
        * {@inheritDoc}
        @Override
        protected void finalize() throws Exception
            if (LOG.isTraceEnabled())
                LOG.trace("Finalize method called on PageOneBB. This object has a hash code of " + this.hashCode());
        * Set the testData
        * @param testData
        *        The testData to set.
        public void setTestData(String testData)
            if (LOG.isTraceEnabled())
                LOG.trace("setTestData method called on PageOneBB with a parameter of " + testData);
            this.pageOneData = testData;
        * Get the testData
        * @return The testData.
        public String getTestData()
            if (LOG.isTraceEnabled())
                LOG.trace("getTestData method called on PageOneBB");
            return pageOneData;
    PageTwoBB.java
    package presentation.adf.test;
    import java.io.IOException;
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.context.FacesContext;
    import org.apache.log4j.Logger;
    import logger.log4j.RuntimeConfigurableLogger;
    public class PageTwoeBB implements Serialiable
        /** Default serial version UID. */
        private static final long serialVersionUID = 1L;
        /** Page one default text. */
        private String pageTwoData = "Page two default text";
        /** A list of booleans that will become large. */
        private List<Boolean> largeBooleanList = new ArrayList<Boolean>();
        /** The logger */
        private static final Logger LOG = RuntimeConfigurableLogger.gotLogger(PageTwoBB.class);
        /** Default constructor for PageTwoBB. */
        public PageTwoBB()
            for (int i = 0; i < 5000000; i++)
                largeBooleanList.add(new Boolean(true));
            if (LOG.isTraceEnabled())
                LOG.trace("Constructor called on PageTwoBB. This object has a hash code of " + this.hashCode());
        /** Method for redirecting to page one. */
        public void goToPageOne()
            try
                FacesContext.getCurrentInstance().getExternalContext.redirect("pageOne.jspx");
            catch (IOException e)
                e.printStackTrace();
        * {@inheritDoc}
        @Override
        protected void finalize() throws Exception
            if (LOG.isTraceEnabled())
                LOG.trace("Finalize method called on PageTwoBB. This object has a hash code of " + this.hashCode());
        * Set the testData
        * @param testData
        *        The testData to set.
        public void setTestData(String testData)
            if (LOG.isTraceEnabled())
                LOG.trace("setTestData method called on PageTwoBB with a parameter of " + testData);
            this.pageTwoData = testData;
        * Get the testData
        * @return The testData.
        public String getTestData()
            if (LOG.isTraceEnabled())
                LOG.trace("getTestData method called on PageTwoBB");
            return pageTwoData;
    }

  • A Custom tag/servlet that calculates the session size ?

    Hi all,
              is anybody aware of a custom tag/library that calculates the size of the Session ?
              Thanks a lot
              Francesco

    250 lines, lol.  You need a loop then.
    // Function in document JavaScript
    function calcTotal() {
    for (var i = 0; i<=249; i++){
        this.getField("Total1.0." + i).value = this.getField("Price1.0." + i).value * this.getField("Qty.1.0." + i).value;
    Launch this script only ONCE in a custom calculate script and the script will run through all 250 lines from line 0 to line 249.
    to launch it:
    //put this in a calulate script
    calcTotal();

  • How to view and change HTTP Session Size

    For the SAP Web AS Java, how can i check what size is set for the http session object?
    Thanks,
    Haris

    Hey Vincert,
    Is that parameter maintained on the ABAP stack or the Java stack.
    Specifically i would like to know if the HTTP session object size is viewable/modifiable for Portal (hence standalone Java stack). I believe Portal does not have ICM.
    Thanks,
    Haris

  • Determining session size

    Does anyone know how to get live statistics of either the size of each servlet session or the average size? That is, while embedded OC4J is running, is there anyway for me to determine the total size of all objects sitting in a particular user's servlet session?
    Thanks,
    Jeff

    Not by default.
    We collect a range of stats for general OC4J operations and J2EE application execution via our DMS (dynamic monitoring service) but the size of a particular user's HttpSession object (or just the objects therein) is not covered there. We count sessions.established, sessions.open and sessions.closed to keep track of raw session usage.
    Probably not what you want to hear, but you could potentially do this yourself by implementing one of the session listener interfaces so you get notified when sessions are altered, and then publishing the session-id and size of objects in the session somewhere -- text file, xmlfile, straight to console, to a database table, etc..
    You could even look at using the DMS API we've exposed to make this available with the rest of the DMS statistics.
    cheers
    -steve-

  • HTTP Session Size for clustering

    Hi all,
    by analyzing the HTTP Flex Session content, I noticed it contains a reference to the message broker, and so to each destination declared (which are Spring business services). The session can then get to several megabytes in size. I could not find if the message broker was correctly dereferenced before the session was serialized. Has anyone some hints about that?
    thanks

    Hi all,
    by analyzing the HTTP Flex Session content, I noticed it contains a reference to the message broker, and so to each destination declared (which are Spring business services). The session can then get to several megabytes in size. I could not find if the message broker was correctly dereferenced before the session was serialized. Has anyone some hints about that?
    thanks

  • Session Size vs Scalability

    Hi,
              I've been trying to track down stats on performance degradation wrt
              size of HttpSession. Haven't been able to find many specifics, just a
              general recommendation to keep the session small.
              Does anyone know where I could find this data for WLS6.1 or at least a
              definitive recommendation for a maximum limit for decent scalability?
              Thanks!
              Barbara
              

    It is also a function of how many changes occur to the session data. A dozen
              sessions with many large changes might be more expensive than 10000 sessions
              with few changes.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Barbara" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              >
              > I've been trying to track down stats on performance degradation wrt
              > size of HttpSession. Haven't been able to find many specifics, just a
              > general recommendation to keep the session small.
              >
              > Does anyone know where I could find this data for WLS6.1 or at least a
              > definitive recommendation for a maximum limit for decent scalability?
              >
              > Thanks!
              >
              > Barbara
              

  • Session size

    Hi all,
    I m new in web development i want know is there any kind of limitation of size of object which is to be put in the session i.e. if my object size is more than 500 MB or more than 200 MB is that bing allowed ? if not then what sort of Exception being generate.

    Double post: http://forum.java.sun.com/thread.jspa?threadID=5241160&tstart=0

  • Determing JavaFX Chart Size using FXML

    Hello Guys,
    I'm working on a value marker for a line chart in JavaFX 2.2. I therefore used the answer on an existing question on stackoverflow and the example by Sergey Grinev is working fine. However, if I want to use FXML to add a chart instead of adding it hardcoded I have problems determing the size of the chart's background.
    I moved the initialization of the chart and the valueMarker to the initialize() method which the FXMLLoader automatically calls after the root element has been processed (see the note in the JavaFX Documentation). But if I now use the following code to determine the size of the chart's background it returns just 0.0 for every bound value:
    Node chartArea = chart.lookup(".chart-plot-background");
    Bounds chartAreaBounds = chartArea.localToScene(chartArea.getBoundsInLocal());
    The exact same code in the updateMarker() method returns the determined size of the chart's background on the second call. On the first call the bounds are set, but minX isn't correct. Here is my code:
    public class LineChartValueMarker extends Application {
       @FXML
       private LineChart<Number, Number> chart;
       @FXML
       private Line valueMarker;
       @FXML
       private NumberAxis yAxis;
       private XYChart.Series<Number, Number> series = new XYChart.Series<>();
       private void updateMarker() {
       Node chartArea = chart.lookup(".chart-plot-background");
       Bounds chartAreaBounds = chartArea.localToScene(chartArea
       .getBoundsInLocal());
       // SIZE OF THE CHART IS DETERMINED
       System.out.println(chartAreaBounds);
      valueMarker.setStartX(chartAreaBounds.getMinX());
      valueMarker.setEndX(chartAreaBounds.getMaxX());
       public void initialize() {
      series.getData().add(new XYChart.Data(0, 0));
      series.getData().add(new XYChart.Data(10, 20));
      chart.getData().addAll(series);
       // add new value on mouseclick for testing
      chart.setOnMouseClicked(new EventHandler<MouseEvent>() {
       @Override
       public void handle(MouseEvent t) {
      series.getData().add(
       new XYChart.Data(series.getData().size() * 10,
       30 + 50 * new Random().nextDouble()));
      updateMarker();
       // find chart area Node
       Node chartArea = chart.lookup(".chart-plot-background");
       Bounds chartAreaBounds = chartArea.localToScene(chartArea
       .getBoundsInLocal());
       // SIZE AND POSITION OF THE CHART IS 0.0
       System.out.println(chartAreaBounds);
       @Override
       public void start(Stage stage) throws IOException {
       FXMLLoader loader = new FXMLLoader();
       InputStream in = this.getClass().getResourceAsStream(
       "LineChartValueMarker.fxml");
      loader.setBuilderFactory(new JavaFXBuilderFactory());
      loader.setLocation(this.getClass().getResource(
       "LineChartValueMarker.fxml"));
       Pane pane = (Pane) loader.load(in);
       Scene scene = new Scene(pane);
      stage.setScene(scene);
      stage.show();
       public static void main(String[] args) {
      launch();
    I added upper case comments on the position in the code where I print the bounds (and I removed the update of the Y coordinate of the valueMarker). Here is the output:
    BoundingBox [minX:0.0, minY:0.0, minZ:0.0, width:0.0, height:0.0, depth:0.0, maxX:0.0, maxY:0.0, maxZ:0.0]
    BoundingBox [minX:45.0, minY:15.0, minZ:0.0, width:441.0, height:318.0, depth:0.0, maxX:486.0, maxY:333.0, maxZ:0.0]
    BoundingBox [minX:37.0, minY:15.0, minZ:0.0, width:449.0, height:318.0, depth:0.0, maxX:486.0, maxY:333.0, maxZ:0.0]
    The first output line comes from the initialize() method, the second line from the first call of updateMarker() (first mouseclick on the graph) and the third line from the second call of updateMarker() (second mouseclick on the graph) which finally returns the correct bound values of the chart's background.
    Now my question: How or when can I determine the correct size of the chart's background (best in the initialize() method)? I hope there's someone who can help, because I have no explanation for this behavior. Thank you!

    Thanks! Yes, indeed, that would work in that scenario. Although, I see now that I have to add more complexity in that I want to display multiple logical series. In other words, using the above as one logical series.  So, what I did was this:
    <...more code above here...>
    chart.setData(chartDataList);
    List<String> chartSeriesList = new ArrayList<String>();
    for (int i = 0; i < chartDataList.size(); i++) {
        Series<Number, Number> s = chartDataList.get(i);
        String seriesName = s.getName();
        if (!chartSeriesList.contains(seriesName)) {
            chartSeriesList.add(seriesName);
        s.getNode().getStyleClass()
            .removeAll("default-color0", "default-color1",
                        "default-color2", "default-color3",
                        "default-color4", "default-color5",
                        "default-color6", "default-color7");
    for (int i = 0; i < chartSeriesList.size(); i++) {
        String name = chartSeriesList.get(i);
        for (int j = 0; j < chartDataList.size(); j++) {
        Series<Number, Number> s = chartDataList.get(j);
            if (s.getName().equals(name)) {
                s.getNode().getStyleClass().add("default-color" + (i % 8));
                logger.debug("j="+j+", i="+i+", name="+s.getName() + ", default-color"+(i % 8));
    This works well to set all of the chart lines to the same color for a set of data series with the same name. However, now the dilemma is that the color of the chart line symbols don't match the lines.
    How can I coordinate the color of the symbols in the same manner?
    Message was edited by: 9686a1cf-675c-473c-8e15-7b5b929ef004

  • Limitation on Service size for deploying

    Is there any limitation on Service size for deploying? The size of my service is 5MB approx. and I am not able to migrate it through Catalog deployer as well as Exporting and Importing file.

    There is no limit as such. The only limit imposed depends on the heap allocated for
              the JVM.
              Nitesh wrote:
              > Hi.
              >
              > Is there a limitation on the session size for a clustered environment. i'm not
              > sure whether its true or not. can anyone please clarify. Also is it for the entire
              > session object or per user.
              >
              > Thanks
              >
              > Nitesh
              Rajesh Mirchandani
              Developer Relations Engineer
              BEA Support
              

  • HttpSession maximum size

    Hello all,
    I was asked to research if HttpSession object has an inherited maximum size. I read the servlet spec (2.3) and there was nothing there about the maximum size of a session. Searched the forums and found some pointers but nothing concrete. I even saw a similar question with zero replies to it so if you think this is a silly or stupid question just say so. :)
    My presumption was that there is no set max size for the session object, that it depended of the capability of the server machine. Is there some vendor specific limitations (BEA vs. IBM vs. Tomcat vs. Sun) in implementation of the HttpSession interface? For one reason or other a member of my team thinks that there is some kind of limitation on the session size.
    Thanks in advance
    Dmitry

    A HttpSession has the same inheret limitations on its size as a ArrayList, a HasMap or any other Java object. Usually, the HttpSession is an ordinary Java object stored in some kind of Map global to the servlet-container. There is nothing special about it.
    General advice: dont store multiple attributes in a HttpSession. It is messy and unnecessary. Define a class that represents the state of a user session. Store one such object in each new HttpSession. Retrieve it when new request in the same sessions arrive and modify the session state object.
    As said: there is no special limitation on the size of such an object. I assume it speaks for itself that consuming large quantities of server memory for a single user is not a very wise thing.
    Silvio Bierman

  • HttpSession vs. Stateful Session Bean ---- when State Session is large

    I hope most of the people come across with this issue where to put the state
    for the internet/intranet based applications when they are using
    servlet/jsps calling session beans. Weblogic 4.5.1 does support httpsession
    in-memory replication for the servlets but the stateful session beans are
    not replicated in clustered environment. Plus with stateful bean u get
    activation/passivation overhead too. So one tempts to use stateless session
    beans and store state in httpsession?
    Then what is the upper limit for the session state one can put in
    HttpSession with the weblogic? Is there any way to configure it?
    One way to overcome the httpsession size limitation is to use database for
    storing state and just store some unique Ids for the session info in
    httpSession. But then there will be overhead for database connection?(jdbc
    connection pool can provide some help here). So what is the recommended way
    for doing this provided few thousand concurrent clients with session size
    say exceeding 4kb per client?
    Thanks
    Usmani

    There are no special setting in sun-ejb-jar.xml regarding cache settings. The default settings from server.xml are used:
        <jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="60000" pool-resize-quantity="2" idle-timeout-in-seconds="300" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="oracle.jdbc.pool.OracleDataSource" name="ebs">
          <property value="jdbc:oracle:thin:@myebsdbsserver:1521:ebsdevdb" name="url"/>
          <property value="ebs" name="user"/>
          <property value="ebs" name="password"/>
        </jdbc-connection-pool>
      <ejb-container steady-pool-size="32" pool-resize-quantity="16" max-pool-size="64" cache-resize-quantity="32" max-cache-size="512" pool-idle-timeout-in-seconds="600" cache-idle-timeout-in-seconds="600" removal-timeout-in-seconds="5400" victim-selection-policy="nru" commit-option="B" monitoring-enabled="true">
         </ejb-container>The Session Bean uses Container Managed Transaction. Is it possible in this case, that the bean isn't 'idle enough' in order to set into passivated?

  • Menu Image - Size in Photoshop?

    I am working on two projects, both of which require custom menus. Menus (background and buttons) are being designed in Photoshop for import into DVD Studio Pro. I am having some trouble determing what size image to have the designers create.
    Both projects are shot in HD 16:9 but will be outputed to a SD DVD.
    Can someone please help me?
    Thanks

    Are you using Photoshop CS2 (may also be in CS1, cannot remember right now) there are templates for NTSC (or PAL) widescreen if you want 16:9 menus or look at page 85 of the PDF (depends on version of DVD SP, look for 864 x 480) and then rescale without constrianing proportions.
    For 4:3 menus (which can be used even with 16:9 tracks) use the DV preset in Photoshop or look in the PDF right above the 864 x 480
    It is better to rescale outside of DVD SP then letting DVD SP do the rescaling. Also make sure to save as a flattened copy and keep the original aside if you want to make changes.

  • How to store values in session variables for use later

    I am trying to read user input from a form, lookup some values from a database,
    store the combined data into session to retrieve later in the subsequent pages
    in a pageflow application. Could someone guide me as to how exactly to do this?
    The documentation doesn't seem to be of much help.
    Thanks,
    Krishna K

    Krishna,
         If you will be using the data within the course of the same page flow
    or nested page flows then you should store the data in the page flow
    itself. Simply declaring variables in the .jpf will do this. The page
    flow is stored in the session for you and it is deleted when the user
    exits the page flow. This is good because it keeps down session size.
         If you have data that you want to use across page flows then you will
    need to store in the session or globalApp.
         Here is a link to "Using Data Binding in Page Flows" it has an example
    of storing data into the session and it goes into the pros and cons of
    using each data binding scope.
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conDatabindingXScript.html
    - john
    Krishna Kuchibhotla wrote:
    I am trying to read user input from a form, lookup some values from a database,
    store the combined data into session to retrieve later in the subsequent pages
    in a pageflow application. Could someone guide me as to how exactly to do this?
    The documentation doesn't seem to be of much help.
    Thanks,
    Krishna K

Maybe you are looking for

  • Mc(q  employee wise analysis

    hai all, i created employee as a partner.after completion of billing iam going to get a analysis of employee wise sales report using tr code mc(q,the report is not generating .can any body give a solution for this .its very urgent for my client. rega

  • Can i airplay to apple tv3 from my iphone4?

    I am thinking buying an apple tv, but I just wandering if it can airplay from my Iphone4 (seems all the website on apple are using ipad or 4s as airplay example). anyone can help out a little here?

  • Problem accessing servlet from java class which uses Basic Authentication

    "Hi, I am using weblogic 6.1 server. I am calling a servlet file from a class file using HttpURLConnection. This is the code below.           String theUsername="B1A1Z1T2";           String thePassword="hlladmin";           String urlString="http://r

  • Camera doesn't work

    I have tried to use the camera on my new iPad. It just shows the shutter. I have updated software, rebooted, shutdown iPad. Still will not work..

  • Cant play apple website videos, there is a message, missing plug in

    cant play the videos from apple website, there is a message, missing plug in. Strange? I have update the sofware update. any suggestions.