HttpSession limit

Hi,
What is the maximum limit for HttpSession in a web application? How many objects can we store in a session? Is it a good idea to carry all persistent information in session instead of database?
Thanks,
Jaiganesh and Santosh
India

1. maximum limit --> well you can set the time limit in web / app server
2. Answer for # 2 is depends on your app.

Similar Messages

  • 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?

  • Limit login per user

    HI All
    i want to limit the number of login pre user
    if userA will connect to the web site from location 1
    and he try to connect again (with the same user name) from location 2 he will get message that he already connected
    to the web site and the old connection will kill
    (the same as the console screen as web sphere )
    any idea
    thanks

    Using the HttpSession is nonsensicial. The HttpSession is different for every session. So if the user starts a new session, either at the same PC or at a different PC, then he can still login once more.
    Just maintain a Set of all logged in users in the ServletContext. On login check the Set and add the user. On logout or on destroy of the session (you can use HttpSessionListener for that), remove the user from the Set.

  • HttpSession value size limits IE vs. Netscape

    Does anyone know if IE and Netscape have different size limits for binding objects to a current session (ie. HttpSession.setAttribute()). I have some code that executes fine in IE, and terminates Netscape v4.08. I have a feeling that I am binding too much information in the Session for Netscape to handle, but have yet to find any documentation to back this up. Any help?

    I wish that was the problem. When I limit the amount of data that I am binding to the session my code executes fine. But when I store larger amounts, the code kills the Netscape browser itself. The version of Netscape I am testing with is 4.08 and have a feeling that the problem resides somewhere in Netscape's implementation of handling the problem

  • Problem with LIMIT in my query...

    I am sending this query with JSP to my Oracle database:
    SELECT pub, class, startdate, adtext FROM classifieds WHERE (pub='KWR') AND
    (startdate<='03-Jan-02') ORDER BY pub LIMIT 0, 25
    I keep getting the error:
    "Exception=java.sql.SQLException: ORA-00933: SQL command not properly ended"
    If I remove the LIMIT 0, 25 it works just fine and returns all records, what am I doing wrong?

    numrows=>26 AND numrows<=50 I doubt that that will work either. But you can try. Oracle has something like that (although I am not sure is is called 'numrows'). However, it doesn't allow ranges. It allows you to return only the top ones (the less than expression) And it doesn't work with order by clauses.
    Someone, sometime ago, suggested a solution in this forum which solved both of these problems. If you search for the correct keyword (not 'numrows') you will likely find it.

  • Is there a limit of how many resources can be shared via a single Resource Pool in Project 2010 Professional standalone?

    We have a single master project resource pool of over 150 resources that are shared across let's say 10-15 sub projects or sharer files.
    We are using Microsoft Project Professional (standalone no project server)
    Are you aware of any limitations outside of project server with resource pool and sharing, or should we be using Project server (as I have read a lot of articles about resource pool sharing working better in project server)
    I'd like to get clarification on:
    1. I read that the calendars for resources (of which there could be many shift patterns etc.) should always be created in the master project only, not in the sharer files. In my testing I see that a shared resource also brings the additional calendars from
    the Master Project file - and can be chosen in the calendar column from Resource sheet.
    2. Each sharer file can have it's own specific project calendar, but the resource calendar (used by the assigned resources from the pool) will drive the scheduling (as per normal), unless;
    3. A specific task has a 'Task Calendar' applied to it AND "scheduling ignores resource calendars" is ticked.
    I am trying to find an article that addresses, in detail, the limitations or 'look out fors' in this area.  I have found plenty about how to create and share resources, but this is more troubleshooting.
    Any advice or direction that can be given would be appreciated. Thanks.

    No limit to resources, but linked master and resource pools are at high risk of file corruption if you rename, over-write or move a linked file without removing it from the master and pool first. Files will corrupt, its when not if.
    Master files should never have any resources or tasks in them, only inserted projects.
    I much prefer creating master files with the Link option deselected. This copies all data and consolidates resource info (so no pool needed). I record a macro to create new masters each week. This method has no corruption risk.
    Your alternative now is to experiment with Project Server. By far the best way to prototype a system is to get Project Online through Microsoft, ProjectHosts or Bemo. It will give you access to a vanilla project server very quickly and cost for a few months
    testing is trivial for a few users.
    If you go ahead with a full implementation I strongly recommend getting a qualified Project Server partner to help you implement the full system.
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • How can I get around the character limit in the "print pages" option

    I have a rather large PDF file and I need to print certain pages (for example, pages 1, 324, 456, 759, 812, 946, 1206, 1562, 1792, etc.). However, when I click on print and try to type in the pages, there is a character limit, and it is much smaller than the number of characters I need to type. Is there a way around this? Thanks.

    OK I figured out the answer. Ctrl+J opens up the console (You have to activate javascript). The following script will extract the pages into a new document, and then you can simply print those pages. All you need to do is fill up the "pageArray" array with a list of your pages, separated by commas. It does not support ranges.
    // Extracts all pages listed into a new document
    var pageArray = [INSERT YOUR LIST OF PAGE NUMBERS HERE, SEPARATED BY COMMAS];
    if (pageArray.length > 0) {
    var d = app.newDoc();    // this will add a blank page - we need to remove that once we are done
    for (var n = 0; n < pageArray.length; n++) {
    d.insertPages( {
    nPage: d.numPages-1,
    cPath: this.path,
    nStart: pageArray[n]-1,
    nEnd: pageArray[n]-1,
        // remove the first page
        d.deletePages(0);

  • How many Apps can i have on my iPod Touch, is there a limit?

    Is there a limit on how many Apps i can have on my iPod Touch?
    Thanks in advance.

    Thanks a lot, that was very helpful.
    I am pretty sure that there's 16 Apps per page,
    so...16 X 9 = 144 - 13 pre installed Apps.
    131 total available (slots) for Apps.

  • Posting period issue while deleting a confirmation posted for a limit PO

    Hi ..
    I am facing an issue whiel deleting a confirmation posted for a limit PO.
    Confirmation was posted for a limit PO in SRM and it created a service entry sheet in SAP. If I deleted that confirmation in the same posting period, then it is getting deleted. No issue here.
    But if I deleted that confirmation in the next posting period then the reversal document is going to error in process. RZ20 is showing the error "Positng only possible in periods 2012/2 and 2012/3".
    Posting date of reversal document is current date only and the backend posting period is 2012/3, but still it is failing with this posting period error.
    If I tried to delete a confirmation posted for a normal PO then I could able to delete it even in next posting period by just changing the posting date.
    Why this posting occurs while deleting the limit confirmation, even through the posting date is falls within the backenn posting periiod? Is it like, SAP system is trying to delete the service entry sheet in original posting period? Kindly help.
    I am in SRM 5.0 (server 5.5) SP12.
    Thanks,
    Arun

    OK.
    Well, if the variable is not used in any interval selection, then I would say "something happened to it".
    I would make a copy of the query and run it to check if I get the same problem with period 12.
       -> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
    If so, then try removing the variable completely from the query and hardcode restriction to 12.
       -> If problem still persists, I would have to do some thinking.
    If problem is gone, then add the variable again. Check.
       -> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
    If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
    Good luck!
    Jacob
    P.S: what fisc year variant are you using?
    Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM

  • Error while executing a report : Time limit exceeded

    Hello Experts,
    i have executed a report  and it took long time and finally throw an error saying that time limit is exceeded ,
    please suggest how to resolve the problem
    Thanks in Advance
    Nitya

    Hi Nitya H,
    There are many resons behind Time out issue.
    It is better to find where exaclty, our report is taking more time.
    Below are the some of the bottle necks we need to monitor for time out issue:
    1) OLAP query generation time.
    2) F4 Search time.
    3) Read Cache.
    4) Write Cache.
    Above features we can monitor @ RSRT transaction.
    If OLAP query generation time is taking much time means ,pls regenerate the query @ RSRT.
    For F4 search ,keep mater data as data retrival target.
    For Read Cache and Write Cache increase the query memory @ RSRT.
    Plse check the report and let me know if there is other bottle necks for query execution....
    _Note:_ This is just a high level view but we can have many performance drills...like Free char ,complex calculated key fig...etc..
    Hope this may helps you...
    Cheers,
    Maruthi

  • Mis match in attributes of item category B-limit and PO item details

    Hi
    I could not able to create a Blanket PO with document type FO and item category B (limit).
    Normally for a blanket PO, GR is not allowed and IR is mandatory. So, I could able to see these checkboxes for GR (not set and grayed) and IR (set and grayed) in the item details of the PO in delivery and invoice tabs. But I end with an error message that 'GR is not set is used is not allowed' (exactly i don't remember but some thing like that)
    Before creating a blanket PO,  I found that in 'attributes of item categories', that for the item category B, GR is set and IR is not set (in customizing-OMH4). Of course, one cannot change the attributes of item categories.
    I suppose due to this mis-match in the attributes of item categories and that in the PO, I'm getting an error message while creating a blanket PO and could not able to save.
    Also I have checked all the system messages for the message displayed. No where(i.e. in any message class or category and for that message number) I found any such message defined with error in 'attributes of system messages' for purchasing, material master, inventory, invoice verification etc.
    I suppose this error message is coming somewhere from the application program for the PO.
    So, what can be the solution
    waiting for your reply.
    thank you
    Message was edited by:
            srinivas vandana

    Thank you for your answer. I haven't mention this point in my thread but I have already tried this.
    I have tried matching the GR and IR controls of account assignment category with PO GR, IR controls and also with item category B, GR, IR controls. Still i am getting the same error and could not able to save the PO
    Also I have checked the field settings for PO for all categories like transaction relevant, item category relevant, etc in customizing.
    Main problem is both GR and IR controls are being grayed in PO. Other wise I could able to change them as per my wish and could able to avoid the error even though the GR and IR controls in PO are correct as per the process requirement.
    If possible, please check the GR and IR controls for item category B (in my system it showing that GR is set with binding and IR is not set with binding). But it should be reverse as per the process requirements and in limit PO it is showing correctly. i.e. with GR is not set with binding and IR is set with binding.
    thank you

  • Free Goods Sales Order  for Charities with Credit Limit

    Dear All
    I have a scenario where POS (Point of Sales) has been implemented,the process of POS is ok,but the requirement of the client is they are giving some goods to charity,when ever a person comes with a special card (Issued by the company) the outlet will create a sales order for the same without any charges with a credit limit of 1000 SAR (saudi arabian riyal).
    Requirement
    1) Creation of sales order with delivering goods but without any charges.(should have effect in Stock)
    2)These charities is been treated as Customer with a credit limit of SAR 1000 (whenever the credit limit exceeds system should block the order)
    how this scenario can be mapped in SD,
    Thanks in advance
    Malik

    Dear Malik
    keep the process regular, which will help in blocking the charity customer when reached 1000 SAr at order level itself.
    As customer need to be shown that he  is not charged.
    you can work on changing the display of output determination .
    You can take the help of Ababer and display what ever client is asking for.
    I think  this may solve your query without disturbing you regular business process.
    Regards
    Pavan Kumar

  • Problems in Creation of Limit based PO's

    Dear Forum,
      As per my req I am creating a limit Based PO with reference to limit based PR using the FM BAPI_PO_CREATE1 in 4.6c.
    I encountered so many errors like 'PO contains faulty item data' 'Assign acc data correctly'. I searched max in forums for solution. But I have not come across the limit based PO creation solution. I fcould found so may service based PO creation.
    Checked may notes.
    request you all to provide the solution of creating Limit Based PO (which structures I need to update)with reference to PR.
    Kindly find my code below and provide me the solution.
      v_ponum = p_i_eban_banfn.
      v_pitem = p_i_eban_bnfpo.
      CONCATENATE v_ponum v_pitem INTO v_fnum.
      header-po_number  = p_i_eban_banfn.
      header-comp_code  = c_comp.
      header-doc_type   = p_i_eban_bsart.
      header-creat_date = sy-datum.
      header-vendor     = c_lifnr.
      header-purch_org  = c_org.
      header-pur_group  = p_i_eban_ekgrp.
      header-vper_start = sy-datum.
      header-vper_end   = c_date.
    *populate header flag.
      headerx-po_number  = c_x.
      headerx-comp_code  = c_x.
      headerx-doc_type   = c_x.
      headerx-creat_date = c_x.
      headerx-vendor     = c_x.
      headerx-purch_org  = c_x.
      headerx-pur_group  = c_x.
      headerx-vper_start = c_x.
      headerx-vper_end   = c_x.
    *POPULATE ITEM DATA.
      item-po_item     = p_i_eban_bnfpo.
      item-preq_no     = p_i_eban_banfn.
      item-preq_item   = p_i_eban_bnfpo.
      item-acctasscat  = p_i_eban_knttp.
      item-po_unit     = c_uom.
      item-short_text  = p_i_eban_txz01.
      item-net_price   = p_i_eban_preis.
      item-po_unit_iso = c_uom.
      item-plant       = p_i_eban_werks.
      item-quantity    = p_i_eban_menge.
      item-tax_code    = c_a0.
      item-vend_mat    = p_i_eban_idnlf.
      item-item_cat    = 'B'.
      item-pckg_no     = '0000000001'.
      APPEND item.
    *POPULATE ITEM FLAG TABLE
      itemx-po_item     = p_i_eban_bnfpo.
      itemx-plant       = c_x .
      itemx-preq_no     = c_x.
      itemx-preq_item   = p_i_eban_bnfpo.
      itemx-acctasscat  = c_x.
      itemx-quantity    = c_x .
      itemx-vend_mat    = c_x.
      itemx-tax_code    = c_x .
      itemx-po_unit     = c_x.
      itemx-short_text  = c_x.
      itemx-po_unit_iso = c_x.
      item-item_cat     = 'X'.
      itemx-pckg_no     = 'X'.
      APPEND itemx.
    *POPULATE SCHEDULE TABLE
      WRITE sy-datum TO gv_inv_date.
      poschedule-po_item       = p_i_eban_bnfpo.
      poschedule-delivery_date = gv_inv_date.
      poschedule-preq_no       = p_i_eban_banfn.
      poschedule-preq_item     = p_i_eban_bnfpo.
      APPEND poschedule.
    *POPULATE SCHEDULE FLAG TABLE
      poschedulex-po_item        = p_i_eban_bnfpo.
      poschedulex-del_datcat_ext = c_x.
      poschedulex-delivery_date  = c_x.
      poschedulex-preq_no        = c_x.
      poschedulex-preq_item      = c_x.
      APPEND poschedulex.
    populating Account table
      t_acc-po_item    = '00010'.
      t_acc-serial_no  = '01'.
      t_acc-gl_account = '0621150001'.
      t_acc-costcenter = '0020011813'.
      APPEND t_acc.
    populating Account flag table
      t_accx-po_item    = '00010'.
      t_accx-serial_no  = '01'.
      t_accx-po_itemx   = 'X'.
      t_accx-serial_nox = 'X'.
      t_accx-gl_account = 'X'.
      t_accx-costcenter = 'X'.
      APPEND t_accx.
    populating limit table
      t_limit-pckg_no    = '0000000001'.
      t_limit-limit      = p_i_eban_preis.
      t_limit-no_limit   = ' '.
      t_limit-exp_value  = p_i_eban_preis.
      t_limit-no_frlimit = 'X'.
      APPEND t_limit.
    Populating srvaccessvalues table
      t_serv_acc-pckg_no = '0000000001'.
      t_serv_acc-line_no = '0000000000'.
      t_serv_acc-serno_line = '01'.
    t_serv_acc-percentage = '100.0'.
      t_serv_acc-serial_no = '01'.
      APPEND t_serv_acc.
    *POPULATE CONDITION TABLE
      pocond-itm_number = p_i_eban_bnfpo.
      pocond-cond_type  = c_zbpr.
      p_i_eban_preis    = p_i_eban_preis / 10.
      pocond-cond_value = p_i_eban_preis.
      pocond-change_id  = 'I'.
      APPEND pocond.
    *POPULATE CONDITION FLAG TABLE
      pocondx-cond_type  = c_x.
      pocondx-itm_number = i_eban-bnfpo.
      pocondx-cond_value = c_x.
      pocondx-change_id  = c_x.
      APPEND pocondx.
    **bapi create call
      CALL FUNCTION 'BAPI_PO_CREATE1'
           EXPORTING
                poheader          = header
                poheaderx         = headerx
           TABLES
                return            = return
                poitem            = item
                poitemx           = itemx
                poschedule        = poschedule
                poschedulex       = poschedulex
                poaccount         = t_acc
                poaccountx        = t_accx
                pocond            = pocond
                pocondx           = pocondx
                polimits          = t_limit
                posrvaccessvalues = t_serv_acc.

    Hi Venkat Prasad
    As you told that the query is on multi provider and the view is not allowing to declare/define filter value
    Just drag the infoprovider info object avilable under packet dimension to rows and right click on it restrict by selecting the name of the info provider when u right click it will show you the option of restrict once u click on it,it will takes to u a pop up where you can able to see the name of info providers and you specify according to it and finally in the display of results if you dont want to to display the info provider name then just right click on the 0infoprovider object under rows go to properties then choose hide option under display.
    Hope its clear a little..!
    Thanks
    K M R
    **Assigning points is the only way of saying thanks in SDN***
    >
    venkata prasad wrote:
    > Hi K M R,
    >
    > Thanks for ur quick response.  Most of the Infoobjects are common for both infocubes. I didn't understand this sentense "retrict the value with the infoprovider which values you are trying to view".
    > Please explian elaborately how to restrict the values speicfic to infoprovider under rows.

  • Free limit (overall limit vs free limit)

    Hello,
    I would have a question regarding item category D (service) in Purchase Order.
    For such items, a tab "Limits" is displayed, In this tab, there is a field "Overall limit" but also a nested tab called "Other limit" with a field "Limit" (corresponds to free limit in the help)
    Help gives me this message :
    Overall limit --> Maximum value that the total of all unplanned services (or the value of the material) covered by this document item may not exceed.
    Free limit --> Maximum value which an unplanned service may not exceed.
    I don't understand the difference between those 2 fields. When I use ML81N, I can not create an item whose the value exceed one of this field.
    Example given :
    Overall limit = 5000u20AC
    Free limit = 1000u20AC
    In ML81N, if I create a SES with gross price = 1001u20AC, I get message No limit for unplanned services amounting to 2.501,00 exists
    Other example :
    Overall limit = 5000u20AC
    Free limit = 10000u20AC
    In ML81N, if I create a SES with gross price = 5001u20AC, I get message No overall limit of          5.001,00 for unplanned services exists
    So I am blocked as soon as 1 of the limit in reached.
    Does anyone could explain the difference between those 2 fields?
    Thanks for your help,
    Patrick

    Please refer to the Online documentation: Material Management -> External Services Management -> Procurement of Services: Processes -> Accelerated and Simplified Processes -> Use of Value Limits (for Unplanned Services) Inside this documentation, it is stated that there is a variety of limits (combinations) to be used:- - Overall limit only - Overall limit and limit on services covered by contract item(s) - Overall limit, limit on services covered by contract item(s), - and other limit - Overall limit and other limit - Overall limit on services from model specifications or standard service catalog - Expected value The expected value is used in the update of the PO item value and this is the value used in the release strategy. Here is the f1 help: Expected value - ESUH-COMMITMENT Value that the unplanned services (or the materials) covered by this item are not expected to exceed. Use If you are working with the release (approval) procedure for purchasing documents, this value serves as the basis for a release strategy applied to this document. If you tick 'No limit',you don't need to enter 'Overall limit',but must enter 'Expected value'.Because 'Expected value' will affect the release strategy. Please read the note 440601 connected to this. Concerning the variability of actual cost of a purchase order, expected value means that the unplanned services (or materials) covered by this item are not EXPECTED to exceed. It is not mandatory that it has the same value like total limit value. Expected value can exceed, it is used for comparison with total limit value in cost control. Expected value can also be combined with unlimited total limit in a purchasing document

  • Overall limit field is to be display or supressed in case of service PO

    dear sir,
    i making service purchase order using the service master record number .In item details limit tab is there , in this overall limit is there , i want to supressed or display this field.Whether it is possible, if yes where i can do setting so that in case of particular purchase order document type , with service no entered and in limit tab , overall limit is only in displayed form or either gets supressed.
    thanks & regards
    shailendra

    dear sir ,
    i am working in SAP 4.7 version , according to your reply i follow the path describe in mail
    spro-mm- external servicesmanagement - define scree layout following sccreen come
    Field sel. key  ME21 Description Create purchase order       Cat. of field sel. 2
    Fld.sel.1  ......................................................................
    Fld.sel.2  ......................................................................

Maybe you are looking for

  • Excel 2013 - Locked file when trying to save

    After a user opens an excel file from a personal network share (EMC/ISILON storage) and make changes to the file, the user get a FILE LOCKED BY <USER> (Same user that is currently editing the file). We have also had issues where a user goes to open a

  • Error during the Process of Netting - No Identifier Found TPM_TRG136

    Hi All During the process of doing Netting , the system is popping up an error message as - No Identifier found. The message error is TPM_TRG136. Can anybody suggest the solution for the error. Ram K

  • Play back problem!!

    hi, i was juz wondering, when i play a song and i put it on repeat it kinda lag during the transition of the repeat. in another word when it about to end and start the song all over again, at that moment it will lag mi computer, making the computer p

  • What's new in Solaris 10 5/08 version?

    Could anybody tell me what's major diff in Solaris 10 5/08 than previous version? Thanks!

  • SAP BI or SAP ECC SAP SD

    Hi All , Looking at long term career prospects ......would it be viable to get into new kind of Technologu with experice of 2.5 years in SAP ECC As I would be working on implementation of BI 7.0 Then would get certified in the same. or should I get c