Session variable getting reset when leaving dashboard

I have created a session variable with the 'Enable any user to set the value' option.  I'm using the session variable as the default for a dashboard prompt.  I'm able to set the variable with that  dasboard prompt, and I can confirm that it is indeed getting set properly.  So the interaction of the variable and the prompt seems to be in order.
After I make a selection from the dashboard prompt, as long as I stay in the dashboard, the session variable stays set to my selection.  I can move from page to page and everything is fine.  The selection stays put as I have set it.  However, the moment I leave the dashboard, the session variable is reinitialized back to its default value as specified by the SQL in its initialization block.  I can go from dashboard to catalog and back to dashboard - boom, it's back to the default.  My selection has been replaced.  ???
And here's an odd thing:  I can look in the query log and see the initialization block code getting run when I log in.  So far, so good.  I can run the dashboard, make a prompt selection, and see the query log updated just fine.  Still OK.  BUT... when I switch from dashboard to catalog and back to dashboard, the value of the session variable is reset (I see the default month in my analysis and as the prompt default upon redisplay of the dashboard page), but there's no indication in the query log that the initialization block SQL ran again.  The last SQL in the query log still shows my "selected" value in the SQL.  The dashboard page is showing the "default", while the last entry in the query log shows the "selected".
Can anyone else confirm this odd behavior?  And is there a reason that a session variable should not retain its value throughout the session?  I've always viewed session variables as little buckets of single-cell data whose contents are consistent and static for the duration of a session, unless manually changed by a dashboard prompt.  If the behavior that I'm seeing is both replicatable and expected, it would appear that my understanding is flawed.
Running 11.1.1.7.0 on Windows Server 2008.  Same behavior is occurring in both Firefox 21 and IE 9.

Thank you for your answer MK,
I try to write a SQL in my prompt but not work for me:
-In default selection I choose SQL Results and I type: Year(Current_date) and save my prompt and I don't see any value in my dashboardpage, if I click in prompt I can see all members of my year dimension but by default is empty.
I modify the other solution: I have 1hour refresh time and I change for 1 minute, but doesn't work.
the default initializer is in RPD (variable year that belongs to BI_Year Block) and I have written 2009.

Similar Messages

  • [svn:osmf:] 10085: Fixing video width and height getting reset when there' s no true dimensional change reported by 'onMetaData'.

    Revision: 10085
    Author:   [email protected]
    Date:     2009-09-09 07:39:54 -0700 (Wed, 09 Sep 2009)
    Log Message:
    Fixing video width and height getting reset when there's no true dimensional change reported by 'onMetaData'.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/video/VideoElement.as

    hi their i have tried your last code but their is a problem with it on my pc that when i click the send video button it gives the error related to vector,
    Vector deviceList = CaptureDeviceManager.getDeviceList()
    di = (CaptureDeviceInfo)deviceList.firstElement();
    returns zero.
    please help my email address is [email protected]
    kindly send me an email regarding the solution of my problem. i am using 'creative web cam' over XP windows.

  • Xsl:param or xsl:variable gets reset.

    Hi, I'm trying to keep a counter using a top level variable in xsl.
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:variable name="rownumber">1</xsl:variable>
    And every time my xsl calls a specific template, i want to keep a counter.
    <xsl:template match="row">
    <xsl:variable name="rownumber">     
    <xsl:number value="$rownumber+1"/>     
    </xsl:variable>     
    <xsl:variable value="$rownumber"/>
    </xsl:template>
    However, my variable $rownumber always gets reset to the default value of "1" everytime the template is called and returns a value of "2".
    Is there a work around for this? Is there a way to keep a counter in xsl? Can top level variable change?
    I don't want to count the nodes either....
    Thanks in advanced,
    jon

    You can't do that. Variables can't change. And there is no "workaround", as you put it. XSLT is not that kind of programming language. If you want to count something, you need to figure out an expression that looks at the incoming XML and determines the answer. This is often surprisingly easy once you stop writing programs that assume that statements are executed one after the other. For example, in your case it appears that you just want to count the number of "row" elements in the document. The XPath expression for that is "count(//row)". Or perhaps you want to count the number of "row" elements below the current node; that's "count(row)".

  • Session variable with list of availalble dashboards?

    Hello,
    Is it possible to populate a -row-wize?- session variable (using an initialization block & system variable :USER) with a list of dashboards the user will have access to (like the list of dashboards displayed at the top of the webportal) once he has logged on?
    My customer has stated the requirement to provide each user with a default 'Home' dashboard (different from 'My dashboard') that will provide an overview of the available dashboards, accompagnied by a description of each dashboard.
    Of so, what would be the syntax to be used?
    Thanks!
    Randall

    Hi Randall,
    The BI-server isn't aware of the presentation server. This means it doesn't know to which dashboards a user has access. What you could do is populate a table in the DB and use guided navigation to give access to dashboard.
    regards
    John
    http://www.obiee101.blogspot.com/

  • Time & Labor: EARLIEST_CHGDT not always getting reset when timesheet is upd

    We recently installed Time & Labor version 9.0 and we're seeing intermittent problems with corrected timesheets. Most of the time when an employee submits a timesheet - new or updated - it resets the EARLIEST_CHGDT on TL_TR_STATUS back to the beginning of the week for which the change was made. That sets the timesheet so that it's picked up by Time Admin and new Payable Time is created.
    However, we have had some employees make changes and the EARLIEST_CHGDT does not get reset, so they do not go through Time Admin and their payable time does not match their reported time.
    Has anyone else experienced this problem with EARLIEST_CHGDT not getting reset? There doesn't seem to be any pattern - some are Elapsed reporters, some are Punch. Sometimes it's when a day is added, somethimes it's when a day is changed. But it doesn't happen every time.
    Any help would be appreciated!

    Update:
    I tried doing a Full Restore and Setting up as a New Phone instead of restoring from my backup incase there was a problem with my backups too.
    Unfortunately it still didn't work.
    The more I try to fix this, the more I think it's a problem with the iMessage servers. Seemingly with my iCloud account.

  • Global data getting reset when running under IIS?

    We have a scenario using IIS with an ASP.NET web service written in VB.NET. When a call to the web service is made, the web service calls a native dll (written in C, compiled using VS2010) using platform invoke, which in turn calls into our product API:
    VB.NET web service -> native library (p/invoke) -> native API ....
    Web service requests are successfully completed and the system runs without problem for hours. A trace of the native API shows it is being called by multiple processes and multiple threads within those processes.
    The main native API dll contains a static global variable used to detect whether it is the first time it has been called and run initialization logic if it is. This dll is itself linked to a second dll that contains a global variable used to detect if it is
    the first time it has been called.
    After some hours the trace shows that the native API is invoked by an existing process but that the initialization logic is being exercised again, even though the global variable was set to indicate not first time and is never reset.  One theory was that
    the first process has ended and a new process has started almost instantaneously using the same process ID. However this is not the case as existing thread IDs from the same process are seen to write to the trace again after the first time logic has executed
    for the second time, indicating the process has not restarted. The problem occurs regularly.
    It is as though the process's global data has been initialized again and malloc'ed memory freed while the processing is still running. Is there any way this is possible when running under IIS?
    There is an internal thread which waits on a blocking read of a named pipe (via ReadFile), and when the problem occurs, the ReadFile call ends with ERROR_NO_ACCESS, which appears to indicate the malloc'ed buffer is no longer valid, again implying something
    has happened to the memory allocated to the process.

    Suggestting you asking it on:
    http://forums.iis.net/

  • Audio stream gets reset when it shouldn't

    Hello
    I've got 1 asset with 4 audio streams and 5 subtitle streams and according to the language choice made on the first page of the menu, the correct audio streams and subtitle streams get set. There are 10 different documentary DVDs, of these 5 are doing what they should and 5 not - the fifth language choice, Swahili, somehow resets to the first audio stream (english or original language) even though the correct subtitle stream still comes up. This when simulating and when burning the disc. When we check the info panel while simulating to see what values get passed thru the specific GPRMs, the correct values are there but as soon as one clicks on the Play button, you can see the value being incorrectly set back to the "english" audio stream. We've double checked all our settings, compared to the projects that work correctly, checked over and over to see why this could happen and there is no difference between the ones that work and the ones that don't...
    Any ideas on why this might be so?
    Corné

    Hello
    No, that was not it but I did manage to resolve the problem after literally checking every single line in every script and physically what is where. And we found that DSP does not like it if there are gaps between audio tracks. For example, one needs to stack audio tracks up beneath each other, as soon as there is one track on track 1 and then one on track 3, the audio will reset back to track 1 when clicking on a button that is set to track 3. Because we have so many languages but not all films had all the audio tracks, we wanted to keep a basic structure all the way thru so our scripts would be easy to change, therefore sometimes having empty tracks between others, but clearly this does not work.
    Corné

  • Does the route list gets reset when adding route pattern in version 9 of CUCM?

    Hi All,
    I created a new route pattern in call manager version 9 and then associated it to an existing route list. But when I was trying to save the route pattern. I was prompted with the message saying " Any updates to this Route Pattern automatically resets the associated gateway or Route List"
    I was not able to see this message on CUCM version 8.6 however on CUCM version 9 it is there.
    Does that mean that the route list/gateway will be reset and the existing calls will be dropped?
    Or is it a bug?
    A response will be greatly appreciated.
    Thanks

    Hi Farhad,
    It does pop up when we modify the Route Pattern in CUCM 8.6 too.
    If you asociate the GW/Trunk directly to Route Pattern, yes, it will reset them and calls will be interrupted. To avoid that, we need to associate the Route List to Route Patterns.
    //Suresh
    Please rate all the useful posts.

  • DVD SP2.0 - subtitle stream gets reset when track played

    Hello,
    I have this weird problem ion DVDSP2.0 and i haven't found a solution yet.
    I have a dvd with subtitles in 5 different languages. I've made a menu where you can choose the subtitle language, now the weird thing is that when the movie track is played it changes the subtitle stream to the first subtitle stream. But this only happens, when the playhead encounters the chapter 1 marker (in other words if the play of the track is "resumed" this doesn't happen)
    So it seems like the chapter 1 marker resets the subtitle stream or something.
    There's no pre-script attached to the track.
    I really can't figure out what's going on...
    Or is this normal behaviour? How can I solve this?

    I'm having another problem with this job now I've received the check discs. Basically, I'll run through the dic requirements:
    -Audio streams 1 and 2 (English 2 and 5.1) require subtitle stream 2 (for Chinese dialogue translation)
    -Audio streams 3 and 4 (French 2 and 5.1) require subtitle stream 1 (for French and Chinese dialogue translation - locked ON)
    I have First Play set to Audio Stream 1 and Subtitle Stream 2. I also have a first play script set the same (as an 'Immediate Value').
    These settings are are also selectable via the Audio Set-Up menu. However if you put the disc in and INSTEAD of going to the Play or Set-Up menu you go to the Chapters menu and select a chapter, the player is by default using Stream 1 (English) with Subtitle Stream 1 (full English).
    In our license agreement, the French audio MUST have English subtitle locked ON at all times.
    I have set the User Operations up so thatr these cannot be changed via the remote (Ausio and subtitle streams).
    Can anybody assist with this? It's driving me mad!
    G5, dual 2.7   Mac OS X (10.4.6)   DVD Studio Pro 4.0.3

  • MMS.CFG getting reset when contacting Adobe for updates

    Hello!
    I noticed two days ago that many users were getting prompts for updates.
    I had deployed Flash 11.8 in July with the following MMS.CFG settingS:
    AutoUpdateDisable=0
    AutoUpdateInterval=1
    SilentAutoUpdateEnable=1
    Today I noticed the most users MMS.CFG was this:
    AutoUpdateDisable=0
    AutoUpdateInterval=1
    SilentAutoUpdateEnable=0.
    Hence, not knowing what caused it, I decided to replace the file using SCCM for all users. Once it replaced successfully I thought our problem was solved.
    WRONG!
    After the file was replaced, about 10-20 minutes later I saw users trying to connect to Adobe from our FW logs. As soon as they contacted Adobe the MMS.CFG file was reset again to this:
    AutoUpdateDisable=0
    AutoUpdateInterval=1
    SilentAutoUpdateEnable=0
    Any idea what could be causing this?

    I have seen several postings like this one in the Forums, and I am having this problem too. No one has a solution that I can see. ʇɐb ɹəuəllıʍ suggested reporting it as a bug.
    Here is a workaround I came up with for Windows 7 by reverse engineering Flash configuration:
    On a test machine with default, or your preferred settings applied, go to Window Control Panel, and double click the Flash Player applet, which brings up: "Flash Player Settings Manager""
    Click on the "Advanced" tab
    Check: "Never check for updates (not recommended)"
    Close "Flash Player Settings Manager"
    This action will modify the file:
    C:\Users\<user>\AppData\Roaming\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\settings.sol
    Now, you can copy this file from the test machine to other machines / User profiles to "clone" the  "Never check for updates (not recommended)" setting.
    PS
    I don't know if this applies to Windows XP. My guess is the mms.cfg works fine there.
    -Mitch
    Systems Administrator

  • How to re-set session variables in OCI when a TAF callback  is invoked ?

    Can you show me an example of how to re-set NLS_DATE_FORMAT when the Failover ends ( that is, in OCI_FO_END )? All I see is the template code provided by Oracle to handle TAF event.
    How to register TAF callback function

    You can re-set the variable just like you set it at the beginning of the connection in the switch branch you mentioned.
    Doesn't it work?

  • "Date Added" gets reset when importing iTunes library

    I have recently made the switch from a PC to a MacBook. I copied my previous iTunes Music Library.xml file over and followed the Apple instructions to import all my music ratings, playcounts, etc. in to the new iTunes library (deleting the iTunes Library.itl file and importing the old library through Library>Import Playlist). Everything copied over fine except the "Date Added," which resets to today's date. I also tried copy & pasting the old library text into the new iTunes Library.xml file, and it still reset itself once I opened iTunes. I have used this process before in switching to a new PC and it kept the "Date Added" information.
    Does anyone know if this is an issue with the new versions of iTunes? The version is 8.0.2. Or is it an issue with switching from PC to Mac? More importantly, does anyone have any ideas on how to keep my "Date Added"? I use it regularly for sorting music and for Smart Playlists.
    Any help would be appreciated!

    I'll second the question! I just moved my music from my MBP to my new iMac, and the date added is today's date for all of the songs from my library on my MBP. Please post if you find answer redhead828. Thanks!

  • Servlet session gets reset

              Does anyone know why a session would get reset when an application posts from a JSP page to a servlet. (is this a known bug with weblogic? or is there a property I have to set?
              

    Hi
    Without a sample of your code it is difficult to point out where the problem could be. When posting question`s make sure that you give enough information about your problem.
    As far as the problem goes try looking into the deployment descriptor and aslo try setting the session timeout programatically through setMaxInactiveTime() method.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems inc
    http://www.sun.com/developers/support

  • How to get session variable value in conditional formatting

    I am trying to format my column according to value of a session variable. Normally when comparing to a static value I select value from add button and write the value. What I want is to be able to do this using a session variable. I select variable presentation and as the variable expression I tried MYDAY, NQ_SESSION.MYDAY, VALUEOF(NQ_SESSION.MYDAY), VALUEOF(MYDAY) but nothing works. By the way it is a date value, I don't know it makes any difference
    Any help would be appriciated

    I am surprised that it is not possible to select a session variable when you want to use conditional formatting. Apparently you can only base conditional formatting on presentation variable or values within a column.
    As a workaround you can create an extra column in your request and use a CASE WHEN statement, where you compare the value of the date with the session variable. Then you can base your conditional formatting on that column.
    Regards,
    Stijn
    Message was edited by:
    Stijn Gabriels

  • Cannot get session variables

    Hello to all.
    I am developing a shopping cart application in which I use to store some session variables in session object.
    The problem arise when I integrate paypal with my application.
    I use following code to redirect to the paypal's site
    baseURL="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token="+ack+"&ITEM_NAME="+itmName+"&ITEM_NUMBER="+itnSrNo+"&ITEM_AMT="+paymentAmount;
    response.sendRedirect(baseURL);When I return from the paypal's site my all session variables are nulled.
    I read somewhere that "response.sendRedirect()" method kills the session.
    So, please somebody suggest me the alternatives of this method so that I cannot lose my session.
    Thank You

    typurohit wrote:
    rajskhr wrote:
    I read somewhere that "response.sendRedirect()" method kills the session.
    It is not true. response.sendRedirect() don't kills session at all.
    rajskhr wrote:
    When I return from the paypal's site my all session variables are nulled.When you go to PayPal and return to your actual webapp, It might take longer then your session-timeout configuration in web.xml.
    Side effect of this is when you come back to your webapp, session which you left behind before moving to PayPal got expired and you are dealing with new session now.
    Increasing session timeout configuration in web.xml might help you. You can also cross check session status by method session.isNew() when you return from PayPal.+Thanks a lot.
    You are write my session might expires after returning from the paypals site and I used setMaxInactiveInterval and its working
    Thanks again.

Maybe you are looking for

  • How to get PO number in FI Invoice Document??

    Dear All, Please guide me to get PO number in FI Logistics invoice Verification number against the vendor line item. Our requierement to develope a report to send to the vendor about -- Invoices -- pending & Invoices paid -- against each invoice ther

  • Is there a limit on number of Purchased TV episodes?

    I'm trying out the feature recently added to AppleTV in which it will let me watch TV episodes from the 'cloud' (i.e. episodes of various shows that I have previously bought). Is there a limit on how many episodes of a given series it will show? The

  • How can I get videos from iTunes US, living in Switzerland?

    Hi guys =) I have already pre-ordered the iPod Touch and alomost can't wait until the 2nd October =P Well, I am a big fan of Dr House and Desperate Housewives. I saw that I cannot buy videos on the swiss iPod Store. I wanted to know how I could get v

  • Payer need to be change after created billing document

    Hi all, They created some orders..... orders-delivery-billing documents created. now we came to know the payer is wrong but the documents are not relased to accounting..... how can i do if issue like this....if i change  the payer in customer master?

  • [solved]network connection down after -Syu

    Couple of days ago, I used "pacman -Syu" to upgrade, since then when I start arch I can't connect to internet, not via wireless nor wired. Upgrade included few packages which I can't remember and I don't know a way to learn. Only one I recognized was