Disable session cache

Hi,
How to disable session cache for particular reports
thanks

Hi,
I would like to know, what you are referring to as 'Session Cache' here. I think you are referring to the presentation server cache, which can be managed by tags in the instanceconfig.xml or you could by-pass in completely during analysis creation with the 'By Pass Presentation Services Cache' setting.
Instanceconfig.xml tags are as follows:
<ServerInstance>
<Cache>
<Query>
<MaxEntries>100</MaxEntries>
<MaxExpireMinutes>60</MaxExpireMinutes>
<MinExpireMinutes>10</MinExpireMinutes>
<MinUserExpireMinutes>10</MinUserExpireMinutes>
</Query>
</Cache>
<ServerInstance>
Let me know, if I got you wrong here.
Hope this helps.
Thank you,
Dhar

Similar Messages

  • Http.keepAlive does not turn off SSL session cache?

    Hi there,
    I have a web service client that uses JSSE for making web service calls via https. In an effort to debug problems, I set http.keepAlive to false, I can see from the SSL debug output that KeepAlive timer messages no longer shows up, but I still see text such as "Cached client session" and "try to reuse cached session", etc.
    Should not turning off keepAlive disable the use of persistent sessions?
    Thanks.
    Yan

    They are unrelated features.
    HTTP Keep Alive allows the browser to maintain a Socket to the server and issue multiple HTTP requests over that same socket.
    SSL Session caching is when an SSL Session is assigned an ID, and additional SSL connects may be established with the same ID. These additional sockets then do not need to perform the full SSL handshake, since much of the data has already been negotiated previously.

  • How to disable sessions in CS6?

    InDesign Server CS6 added a mechanic of multi-threading jobs via sessions.
    Now you can begin session and end session via SOAP web service call.
    However, the sessions add a huge overhead for those who want to use multi-instance instead of multi-threading.
    A webservice call without a session ID is always ~500ms slower while it creates a session in the background. The session is then appears to be used on a ~5 second sliding timeout allowing subsequent calls to be 500ms faster, however if you wait around 10 seconds, the next call recreates the session and increases render time by ~500ms again.
    This is a major issue when rendering takes on average of 1000ms. That's a 50% longer execution time. This is a major problem when trying to offer a speedy web application built on top of IDS.
    I tried creating sessions and keeping the IDs in memory, but they expire and result in a whole bunch of SOAP errors.
    My question is: Is it possible to disable sessions in IDS CS6 or remove the session expiration time completely?

    This is the other discussion: http://forums.adobe.com/message/4518765#4518765
    I've tried to lower the quality, and with pure magic, it now works, even when I put highest quality. I don't understand what happened. I asked you how to disable openGL because they told me to in the last discussion. So, thank you for repairing my problem (I think you repaired it, i'll make tests to see). Just in case, could you verify if it's posible to disable openGL like the other person told me?

  • Possible session caching issue in SSRS2014

    Using custom FormsAuth, User A can sign into our own main asp.net mvc app (WIF cookie), then SSRS (FormsAuth cookie) and all is well.  Here is where things go bad.  User A signs out of our main application (WIF cookie deleted) then back in into
    our main application as User B then back into SSRS.  SSRS report that displays User!UserID show UserA instead of current User B.  Its like there is either a session or cookie caching issue going on but not for sure.  
    1. What is the proper way to sign out of SSRS and prevent session caching?
    2. Do I need to worry about making my SSRS logon page non-cacheable?  If so, what is the recommended way of doing this?
    thanks
    scott

    Hi scott_m,
    According to your description, you used custom FormsAuthentication in Reporting Services, after user A sign out the application an sign in as user B, SSRS built-in user is shows user A instead of user B.
    Based on my search, once we configured SSRS to use Custom (Forms) authentication by deploying a custom security extension, we can logon to MS Report Manager (MSRM) using credentials of our custom security framework via a logon web page. But there is no way
    to logout or to expire the authentication cookie, so we need to close the browser manually. As a workaround, we can add a logout button to the Report Manager which is using Forms Authentication, then use code to clear the cookie and redirect to home page.
    In addition, if you extend Reporting Services to use Forms Authentication, it’s better to use Secure Sockets Layer (SSL) for all communications with the report server to prevent malicious users from gaining access to another user's cookie. SSL enables clients
    and a report server to authenticate each other and to ensure that no other computers can read the contents of communications between the two computers. All data sent from a client through an SSL connection is encrypted so that malicious users cannot intercept
    passwords or data sent to a report server.
    Here is a relevant thread you can reference:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/5e33949d-7757-45d1-9c43-6dc3911c3ced/how-do-you-logout-of-report-manager
    For more information about Forms Authentication, please refer to the following document:
    https://technet.microsoft.com/en-us/library/aa902691%28v=sql.80%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Disable IP caching

    I'm attempting to disable IP caching for my Web Start application. I would like to do this automatically so the end user does not need to manually modify a properties file.
    In the application, I have the line:
    java.security.Security.setProperty("networkaddress.cache.ttl" , "0");When I run this as a standalone application, it works fine. But if I include this in a jar and launch as a Web Start application, it no longer works. The property is set as expected, but the initial IP address is still cached.
    I have attempted to set this property in other ways too, such as:
    - Setting the property in the jnlp file. For example:
        <resources>
            <j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se"/>
            <jar href="DnsTest.jar"/>
            <property name="networkaddress.cache.ttl" value="0"/>
        </resources>- Setting the analogous Sun-specific property (sun.net.inetaddr.ttl) in the jnlp file
    - Prepending "java.security." to the names of these properties
    - Setting the property in the code using System.setProperty()
    - Setting the property as a jvm argument in the jnlp. For example:
    <j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Dnetworkaddress.cache.ttl=0"/>- Setting this property on the javaws command-line
    - Using the command-line:
    "javaws -userConfig deployment.javaws.secure.properties networkaddress.cache.ttl"
    with networkaddress.cache.ttl specified in the jnlp
    Please let me know if you have any recommendations.
    Thank you.

    I tried that and it seems like my arguments that I put into my JNLP file are not being passed to the JVM. I tried a few things, none of which seem to show up in the pop up box that is displayed. I tried:
      <j2se version="1.5.0+" href="http://java.sun.com/products/auto\
    dl/j2se" java-vm-args="-Xms77m -Xmx256m -Dsun.net.inetaddr.ttl=10 -Dnetworkaddress.cache.ttl=10 "/>and also
    <property name="sun.net.inetaddr.ttl" value="10"/>
    <property name="networkaddress.cache.ttl" value="10"/>I know you only need to set one of these, but I was just trying both just in case.
    Neither of these show up in the arguments to the JVM.
    I found one way to make this work, but it is quite ugly. If I define the JAVAWS_VM_ARGS environment variable on my local machine to have the timeout, then everything works as expected. However, this is not a very attractive option. I can't tell all the users to manually add this environment variable.
    There has to be a better way. Does anyone have any ideas?

  • How can I monitor the Session Cache when using HTTP Session-Replication?

    I want to see the session cache content

    To see the list of session IDs in the cache you can iterate over the keys of the cache returned from the following code:
    NamedCache cacheCatalog = CacheFactory.getReplicatedCacheService("$FilterService$").ensureCache("CoherenceSession.CATALOG", getClass().getClassLoader());Then to see the contents of a session you can take a look a the cache returned from the following code:
    String sId = // keys from cacheCatalog
    NamedCache cacheDetails = cacheCatalog.getCacheService().ensureCache(sId, getClass().getClassLoader());Hope this helps.
    We have received your request for a development license and we hould have ti out to you today.
    Later,
    Rob Misek
    Tangosol, Inc.
    Coherence: Cluster your Work. Work your Cluster.

  • How to add a new object to Toplink session cache?

    Toplink Experts,
    I have a question on Toplink 9.0.4.5 (I know this is older version of Toplink but this is what we are using right now). Let me give you little context before I ask the question.
    Toplink server session brokers client sessions (that are spawned by it) and gets changes made in client sessions into server session through transaction commits. Process involved in getting some thing into database using Toplink is: 1) Get client session 2) Register object to be written into database with Toplink's UnitOfWork (UOW). This registration creates two copies of the object registered (original object). Working clone for client application for modifications, backup clone for Toplink to compare the changes made to the working clone later 4) Make changes to the working clone 5) Complete the transaction (and so commit UOW). If transaction commits successfully, Toplink writes the changes from the working clone into database first and applies the same changes made to the working clone to the original object in Toplink server session cache next. Oracle recommends using UOW to write some thing into database. Using UOW involves a transaction and it writes changes into database first before the original object in Toplink server session cache is refreshed.
    Now comes my question: Is there a way to add a brand new object (persistent object) into Toplink server session cache with out writing it first into database? I am OK if I need to use UOW and also to use transaction to make the change but I just want to be able to refresh the original object in the server session cache with out writing any thing into database. If there is a way to do this? What are the disadvantages in doing this way though? I have read Oracle's Toplink developer guide (10.1.3) and Javadocs from Oracle on UnitOfWork/Session etc all related interfaces and classes but I could not find a way. Please help!
    Syam

    There are a couple things wrong with the method you posted. The first being uow.registerObject() is going to cause the object to be treated as new if you are not using the TopLink cache.
    There really is not any supported mechanism to do what you are looking to do. TopLink 11g has the hooks to replace the TopLink cache with a distributed cache (and the TopLink-Grid product uses these to use Coherence as the TopLink cache) but earlier versions did not have this.
    If you are willing to work outside what would be officially supported and no component of the application is using the ServerSession cache (ie all queries refresh) then something like the following may work for you:
    public void prepareObjectForSave(Object userEditedObject, Object gigaSpacesObject)
    UnitOfWork unitOfWork = this.dbContext.getSession().acquireUnitOfWork();
    Descriptor descriptor = this.dbContext.getSession().getDescriptor(gigaSpacesObject);
    Object pkVector = descriptor.getObjectBuilder().extractPrimaryKeyFromObject(gigaSpacesObject, this.dbContext.getSession());
    Object cloneOfMostRecentlyUpdatedObject = (Object)unitOfWork.cloneAndRegisterObject(gigaSpacesObject, new CacheKey(pKVector), descriptor);
    unitOfWork.mergeCloneWithReferences(userEditedObject);
    unitOfWork.commit();
    }You will need to tweak the above code to have it match the APIs in your version of TopLink and you should test thoroughly.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • SSL Session cache persistence

    Hello,
    I've been scratching my head for while on a problem concerning SSL session caching. Upon examining memory usage of the session cache I noticed that the number of cached sessions is reset at some point while new session are created. For example sometimes at around 300 -1500 sessions the number drops to under 10. I have set the session cache size to unlimited (via SSLSessionContext.setSessionCacheSize()) and session timeout to 24 hours (via setSessionTimeout()).
    I noticed that this has probably something to do with garbage collection. I made a server application that receives SSL connections and every few seconds prints the number sessions in the cache and the amount of consumed memory (in megs). I also enabled garbace collection information printing and ran java VM with a maximum heap size of 512M. I ran a client application against it that continuously initializes a new sessions. Here's what I got:
    Sessions: 484     Memory: 1.7913589477539062
    [GC [DefNew: 503K->4K(576K), 0.0007350 secs] 2234K->1734K(3796K), 0.0008700 secs]
    [GC [DefNew: 513K->63K(576K), 0.0009260 secs] 2243K->1793K(3796K), 0.0010680 secs]
    Sessions: 490     Memory: 1.7832870483398438
    [GC [DefNew: 569K->37K(576K), 0.0021150 secs] 2299K->1773K(3796K), 0.0022560 secs]
    Sessions: 495     Memory: 2.1244659423828125
    [GC [DefNew: 543K->37K(576K), 0.0019000 secs] 2279K->1775K(3796K), 0.0034750 secs]
    [GC [DefNew: 549K->57K(576K), 0.0009080 secs] 2287K->1796K(3796K), 0.0010290 secs]
    [Full GC [Tenured: 1739K->1635K(3220K), 0.0865340 secs] 1962K->1635K(3796K), [Perm : 3267K->3267K(8192K)], 0.0885000 secs]
    Sessions: 6     Memory: 1.7752304077148438
    [GC [DefNew: 512K->58K(576K), 0.0016310 secs] 2147K->1694K(3796K), 0.0017680 secs]
    [GC [DefNew: 568K->37K(576K), 0.0009750 secs] 2204K->1678K(3796K), 0.0011110 secs]
    Sessions: 12     Memory: 1.7010269165039062
    [GC [DefNew: 549K->56K(576K), 0.0014310 secs] 2190K->1699K(3796K), 0.0015600 secs]Notice how the number of sessions drops from 495 to 6? And in between there's a garbage collection print "[Full GC...". Why is this? Shouldn't the session cache keep the sessions until there's either too many of the them or they get too old? Here only a few minutes have elapsed and memory consumption is under control (1 to 3 megs).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    In my implementation I avoid session renegotiation as
    much as possible to achieve high throughput. My goal
    is to preserve sessions for the entire session
    timeout time. This raises a few questions:Understood, but you also have to protect the server against resource exhaustion. It's in the client's interest to cache lots of sessions for a long time; the server's interest is to conserve resources so it can keep itself running.
    You actually don't want to cache all the sessions, just the 'hot' ones, so you're better off having the SessionContext remove sessions on an LRU basis by having a finite limit, rather than just letting them be GC'd. The fact that so many sessions were collected in your runs indicates pretty severe memory usage.
    (1) Is there any way to tweak this behavior? For
    example can make the sessions live longer by using
    some GC flags for the VM? Allocate more heap space, or cache fewer sessions.
    (2) How about keeping regular references to all the
    sessions in my application?That would save them from GC of course. But then you'll quickly discover that you really do need a finite limit.
    (3) Is the behavior of the session cache or the inner
    workings of the SSL API in general documented
    somewhere?Only in the source code of JSSE, and that's only a property of Sun's JRE implementation. Session caching is not even a required feature, and J2ME implementations for example generally don't do it at all.

  • Transaction cache VS Session cache

    Hi,
    Some one please help me to understand the concepts of ttransaction cache VS Session cache.
    In the user guide its given that
    For AM : Any data stored on the transaction is accessible to all pages that share the same root application module instance .
    For Session : Session cache only when you need to set and access simple values in many pages, which have different root application modules
    (The transaction cache discussed above isn't an option)
    Are these 2 different ? if so how ? Why the transaction cache is different from session cache, both are used to store data and both are available across pages assuming all pages share the same AM.
    Thank you for all your help.

    GustavoJimenez,
    Thank for taking time and explaining it.
    I understand that, if multiple pages share the same AM and retainAM flag ='N' then it will create multiple instances of same AM. so is the AM cache is common for all the AM instances ?
    Can you please explain more about session cache and where it comes into picture ? Is session cache and AM cache has same attributes ?

  • Disabling Mirrored cache AND/OR Redundant Controller in STK 2540

    Hi,
    We have a dual controller STK 2540. Wanted to know if there is a way to disable cache mirroring (also called cache synchronization)? This is to test the impact of 1/3 loss of performance when cache is mirrored to protect cached data in the event of controller failure in a dual-active controller configuration.
    I searched thorugh entire CAM and could not find an option.
    Also would like to know how to confirm whether the controller is in redundant mode or Active-Passive mode. CAM does not show this as well.
    Is CLI the only option to view/modify the above mentioned configuration? If so, please let me know what command should we use to view and modify the same.
    Thanks.

    RW_DB_Arch wrote:
    Thanks nwi.
    I have seen the 'Active' status for both controllers from the CAM interface as well from the sscs output. That is fine, but I think I did not put across my question very correctly.
    According to my understanding, if the cache is mirrored/synchronized then it will impose an approx. 33% of performance degradation. And I want to do away with that. So,
    I want to view the redundancy mode of controllers i.e. whether they are running in non-redundant mode or redundant mode. In either mode, both will be active.
    I also want to view the mirroring mode of the cache i.e. whether the cache is mirrored or not mirrored. In either mode, full 1Gb cache will be used.
    The controller will always be in redundant mode, you cannot change this. They will be active/active, if any controller is passive this means that it doesn't service I/O and the volumes won't failover in case there is a problem with the active one.
    You can however disable the cache mirroring between both controllers, that said, this is something we really do not recommend to do. Imagine you disable the mirroring, now one controller reboots (because this is something that may happen as per design to protect the data in specific situations), you will lose the data in the cache for this controller, this is the data which is not flushed to the drives.
    And then I want to achieve the foll. configuration:
    2 controllers, both active, but in non-redundant mode.You cannot do that. With the ST2500 like the ST6000 the controller are redundant each other.
    Which also means that cache mirroring/synchronization is off. So something like this: 2 volumes - vol1 has Controller A as the owning/preferred controller and vol2 has Controller B as the
    owning/preferred controller. Since controller redundancy is off, I believe, if 1 of the controller fails then the volume cannot be accessed via the surviving controller (i.e. no failover to the surviving
    controller) and I am fine with it. But I will get better performance because of the non-mirroring mode of cache.Such non redundant configuration isn't supported with those arrays.
    Regards
    >
    Pls. advice.
    Thanks.

  • Disable object cache ?

    Is it possible to disable object cache globally i.e. any deref results in update from db ?
    Message was edited by:
    tiaanw

    Not currently. We may have this feature in future.

  • Disabling InfoPath Caching

    I've been asked to disable InfoPath caching via Group Policy. Is there a way to do this or a reason to not do this? I believe some users encountered an issue with a form and this is a heavy handed approach to prevent it from happening again. I'm not a
    big InfoPath guy, so I'm curious if there's a way to do it and if it's advisable.

    Hi,
    According to your post, my understanding is that you wanted to clear the cache in
    Citrix.
    As the article of Citrix said, you can clear the cache as below.
    On the computer where you want to clear the cache, type the following at a command prompt:
    radecache [-i] [-if] [-ir] [-u] [-uf] [–ur]
    [/flush:GUID]
    radecache [/flushall]
    radecache [/?]
    where GUID is the unique GUID for the application streamed to user devices.
    GUIDs must not include spaces.
    As this issue is related to the Citrix, I recommend you can post your question to the forum for
    Citrix:
    http://discussions.citrix.com/
    More experts will assist you, then you will get more information relation to
    Citrix.
    Thank you for your understanding and support.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to disable Jar cache on Application Server

    Hello,
    I am now developing a Webdynpro Project in the following enviroment:
    Windows 2003 Server 64Bit SP2
    JDK 5.0 Update 12
    Windows x64 Platform
    info at sun Installation Notes , Supported System Configurations
    C:\Program Files\Java\jdk1.5.0_12
    NetWeaver Composition Environment 7.1 (Application Server Java)
    Since I need always change my code wiin a jar file and upload it as a library.
    The default behavior of Application Server is to support java cache locally in JVM. That brings me many problems  (Like can't find new implemented class by dynamical class loader,  ref. http://www.szegedi.org/articles/remotejars.html )
    It there any way to disable JAVA cache on the Application Server?
    Besides, someone told spawning a new JVM for loading the jar may also work. Does our AS support spawning JVM explicitly?
    Message was edited by:
            Zenghuan Shan

    I also want to know if it is possible to disable the cache on server. In my situation, we are deploying the par file (portlet archive) to development server. Could anybody please help?

  • UnitOfWork and server session cache

    Hello,
    seems like in some situations UoW does not update server session cache:
    SessionManager manager = SessionManager.getManager();
    Server server = (Server) manager.getDefaultSession();
    Session client = server.acquireClientSession();
    UnitOfWork unit = client.acquireUnitOfWork();
    // stored procedure call preserves caching !
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("security.set_current_user");
    call.addNamedArgumentValue("p_user", 123);
    unit.executeNonSelectingCall(call);
    // these objects should always be cached (if caching is enabled) !
    List list = unit.readAllObjects(Naudotojas.class);
    unit.commit();
    client.release();
    server.release();
    The presented source code executes stored procedure and read query within singe transaction. Problem is that selected data is not cached. But if stored procedure call is removed, then records will be cached. Is it expected behaviour ? That workarounds could be applied to force caching ?

    When the first modify call is performed in a UnitOfWork it then assumes that the transactional state of the database is transient and therefore and data read could be non-committed. At this point it is not safe to load the objects into the shared cache.
    If you are attempting to make use of VPD security you should read up on the support offered in TopLink. It will give you additional call-backs for setting the user credentials.
    Doug

  • Disabling session in servlet

    In jsp pages session is created by default. To disable it we use <%@ session="false %>. How do we accomplish the same thing in servlets? Thank you in advance. BTW: I looked at the java class file deirved from jsp with disabled session but it didn't make any sense. Obviously it happens in the pageContext initialization but it doesn't appeal to my servlets.

    HttpSession session = request.getSession(false);

Maybe you are looking for

  • Long List of Problems and no one will help!!!

    I have had NOTHING but problems with this phone since the sales clerk talked me into buying it.  I've had it for a little over a year and a half.  It's had "Software" issues out the rear and it's been replaced and still has the very same issues.  YET

  • Problems with Windows 7 and Office jet L7500

    I have an HP Office jet pro L7555 and since switching to windows 7 I have started to have a lot of problem. I have downloaded and installed the new driver. The problems seem to be sporadic, and are occasionally solved by restarting. I don't want to h

  • Check and identify cause of previous temp tablespace usage

    Hi Our production ERP database is on solaris and on version 9.2.0.8.0. The application tier and database tier are on two separate nodes. Recently we observed that the temporary tablespace is being consumed more on a particular day. While monitoring t

  • I uploaded adobe creative suite 5 web premium and after installation got a message:

    the message gave me a list that some features in the programs were not uploaded one of which was adobe photoshop extended

  • Impact of Lowering AAoA Slightly?

    My AAoA at the moment is roughly 12 years.  I am calculating that if I were to open one new account, it would lower my AAoA to about 11,5 to 11.6 years.  I am just wondering if anyone has studied AAoA's enough to know if this degree of reduction woul