Values of session variables not updated according to the values in the table

Hello

I have a problem with one of the session variable that is based on the USER login.

My session variable "DeptID" has all the values associated with the user. I have in my external table, the USER and its corresponding departments. My init for this variable block is something like

Select "DeptID", dept_id of user_table where user =': USER ';

Now I use this variable on my main dashboard prompt and I'll show the results in the command prompt based on the results of sql. Here is my SQL something like

SELECT 'Department '. "" Department name ""SH"where"Department. "" ID Dept ' = VALUEOF (NQ_SESSION. ("" DeptID ").

With this method, everything works well and the command prompt displays the correct values.

But the problem arises when a new Department is added to the current user. When new departments are assigned to the user, the new values does not appear in the drop-down on the line of dashboard until and unless the cache is purged and the server is restarted.

Thinking that the cache is the issue, I have disabled the cache also in the nqsconfig.ini file. But then as the new values is not displayed. I see that in the file nqquery.log that the old values are sent to the database, that that is the session variable does not get updated with the new values according to the external table.

You could someone please let me know what I'm missing here?


Thank you

Hello

See this thread for the answer,

Re: OBIEE external DB security does not completely.

Thank you
Swami

Tags: Business Intelligence

Similar Questions

  • As it can be seen in the OS 3 Web page will be available today, 13 September. However my Watch App does not seem to see the update according to the availability. When I go to software update, he repeats that my watch is up-to-date with OS 2.2.2. OS3 will

    As it can be seen in the OS 3 Web page will be available today, 13 September. However my Watch App does not seem to see the update according to the availability. When I go to software update, he repeats that my watch is up-to-date with OS 2.2.2. OS3 will be available today?

    Hello

    Yes - Apple advises that watch OS 3 is scheduled to be released sometime today.

  • Change the host for a virtual machine on a cluster and the host is not in accordance with the attached profile

    Hi all

    I have 02 questions.

    1. we have a cluster which has 02 physical hosts (Host1 and Host2). We have 02 virtual machines on the Cluster. Active DRS on the cluster.

    But the problem is that my 02 VMS are always stays on a Host2. A few weeks ago, each virtual machine carried out on each host. How can I place each virtual machine on each host to perform better.

    How to do this?

    2. I connect to the cluster using vSphere client 5.1, under summer host, I get the following message

    "Configuration problems: host is not in accordance with the attached profile.

    I suspect that this is the case for my question 1?

    Thank you very much

    Hello

    I think I found the answer for the problem of home profile. I changed the following values to 1 for each host to > settings > under software > advanced settings >

    Under Data Mover

    HardwareAcceleratedInit

    HardwareAcceleratedMove


    Under VMFS3

    HardwareAcceleratedLocking

    Compliance status is returned to the green.

    Thanks for the advice guys!

    Thank you

  • I upgraded to Keynote 6.0 and now have a new logo to Keynote 6.0 in my Dock and a Keynote 5.0 Logo in the Dock. Tried to drag the logo 5.0 on the dock does not work according to the instructions. Comments?

    I upgraded to Keynote 6.0 and now have a new logo to Keynote 6.0 in my Dock and a Keynote 5.0 Logo in the Dock. Tried to drag the logo 5.0 on the dock does not work according to the instructions. Comments?

    If you have any documents open in Keynote 5 then you will not be able to drag it to your Dock. IF a right-(control) - click the Keynote icon 5 shows Quit in the drop - down and then select Exit. Now you should be able to slide your dock.

    It is often necessary to drag it from the dock, drag the icon quite some distance from the dock (to what the REMOVAL appears on the icon).

    You can also right-(control) - click the icon select Options, and then, in select Options remove the dock.

  • RoboHelp 2015 (12.0.2.384): The search returns topics do not are included in the table of contents

    ENVIRONMENT: Windows 7 Enterprise SP1, 8.00 GB of RAM, 64 - bit OS, Office 2010, Adobe Acrobat X Pro, Acrobat Reader DC 2015.017.20050

    DESCRIPTION OF THE PROJECT:

    • A single RoboHelp HTML project with three exits. One of the outputs is a 'validation' reference that has its own Table of contents.
    • Validation reference Table of contents contains a subset of the subjects in the main help system. For example, the help system main table of contents contains a folder named 'Administration '. This folder is not in the table of contents of reference for Validation.
    • The reference of Validation is displayed on a public web site. Therefore, we applied the tag "Non_public_info" contained in the topics shared that we do not want to appear on the public website.
    • WebHelp parameters are:
      • Validation reference TOC
      • No map file, no sequence to browse
      • Conditional compilation expression: NOT_Non_public_info_AND_NOT_StyleGuidelines_AND_NOT_TRP (we keep our Style rules in the project to facilitate access during development. TRP content must be rejected because it was not released.)
      • Exclude non referenced topics of output is selected.
      • Search options. Only 'Show Total number of search results' and 'View AND search Option in outputs' are selected.
    • After generating the WebHelp, we remove the files that we don't want (RoboHelp generates empty folders, even if the files are not in the table of contents.)

    PROBLEM: A search in the help of Validation reference reveals the topics that we think should not be included because the subjects themselves are not in the table of contents of Validation reference. For example, the section "Data quality analysis" is in the main table of contents help, but not in the table of contents of reference for Validation. Therefore, we do not expect the topic appears in the search results pane at all. But he does. When the user clicks on the subject, the "Resource not found" message appears.

    Nothing shows the topic Style_Guidelines because the StyleGuidelines label conditional construction applies to the entire folder and the "Style guidelines" book in the main table of contents. (Same thing for the TRP folder).

    QUESTION: Why are topics which are not in the table of contents and whose records are not in the project at all appearing in the WebHelp during a search? We need to rewrite the expression of conditional compilation or establish conditions differently. We assume not have topics in the table of contents, not including the topics not referenced in the output, and remove empty folders would be the way to go. Any help is welcome!

    Thank you very much.

    Carol Levie

    The table of contents does not control what ends up in the output for output online. All content tagged and tagged content which is not excluded by the expression of construction will be included. The parameter 'Exclude topics not referenced output' more exclude all subjects which are not in the table of contents AND are not related to any topic which is included in the output.

    On the other hand, for the print output the table of contents control which is found in the output. I think that it will fire a lot of people.

    If you generate the help and that you do not remove the unwanted files, do you still have the error? If this isn't the case, you know that the topic is referenced somewhere in the content of the reference of the Validation.

    Here is the help of RH11. I can't imagine it would have changed, but you could do a search to verify a second time for RH2015.

    Exclude output not referenced topics

    Select this option to exclude any topic that exists in the project, but is not the default theme in page layout or is not referenced table of selected contents, index or sequence to browse, or any referenced subject.

    Note: RoboHelp shows the topics not referenced that are excluded from the output in the output view module.

  • Embedded FPGA vi - network shared variable not updated

    Hello

    I work with an ethernet RIO 9149 of data acquisition. I use a hybrid programming mode.

    I have a very simple FPGA VI that I downloaded on the flash memory. I used the indicator led to show my VI runs once the power of the RIO. Everything is fine, except that my shared network variables are not updated in the DSM ("no known values" displayed). However when I run the FPGA VI of my laptop, only once then stop and close (with 'interactive execution'), then my shared variables are updated in the DSM.

    Any ideas why is this and how do I get the RIO update automatically shared variables without having to run the VI once?

    Thank you very much.

    Hello

    I did a few tests and research and discovered that it doesn't seem to be possible. It is important to note the difference between Network-Published static (NSPV) and Variables of e/s of Network-Published.

    The other are "user defined variable I/O" to communicate between FPGA and RT (RT absent on chassis Ethernet as the NI 9149) host. If these variables are checked to be published-network (in properties). They are accessible by VI running on the hosts of the same LabVIEW project, so you need to run a VI to access, as you mention. This is explained on the next page, Variable IO data custom FPGA of e/s (real-time Module or Module FPGA):

    https://zone.NI.com/reference/en-XX/help/371361H-01/lvioscanhelp/io_vars/#user_IOV

    I did find a way without a host (host RT or Windows PC) running a VI. If you have a cRIO with RT and NPSV host in the RT VI it is possible.

  • Level security line with session variables, not recommended?

    Hello

    We are on the point of implement security level line in our project of BI using OBIEE, and the solution that we found more convenient to our requirement was to use session with blocks of initialization variables.

    The problem is that this method is listed as "not recommended" in the Oracle documentation.

    Administration of alternative security options - 11g Release 1 (11.1.1)

    (This appendix describes alternative security administration options included for backward compatibility with improved systems and are not considered a best practice.)

    The Session Variables management

    Session system variables get their values of initialization blocks and are used to authenticate Oracle Business Intelligence users against external sources such as LDAP servers or database tables. Each active session of BI server generates session variables and initializes them. Each instance of session variable can be initialized to a different value. For more information on the use of variables and blocks of Oracle Business Intelligence session initialization, see 'Use of Variables in Oracle's BI repository' in Oracle Fusion Middleware metadata repository Builder of Guide for Oracle Business Intelligence Enterprise Edition.

    How confused... What is the best practice then?

    Thank you for your help.

    Joao Moreira

    authentication / authorizing the part is dealing with weblogic and then initialized the variable USER and you can use it for any initblocks for safety.

    Block of init to authenticate / variable session and authorization are different, I guess that you mix the two.

  • Session variables not cleared

    Hey.

    I am writing an application that uses session variables to hold information to keep my users (it's a simple little app, really). When we have hosted on our internal server, everything worked fine. When the user closes his browser, the session variables have been dumped.

    However, we have moved to a new server, and it seems that the session variables are not dumped at all. I logged in on Friday, I closed and turned off my computer and this morning I opened my browser and I was always connected; He remembered the session variables. It is a problem if it's a setting on the server, because we have more access to the CFAdmin settings or server at this point.

    Is that what I can do in my script to remove session variables when the browser is closed?

    Thank you
    David

    If you where relying on default session time outs defined in CF
    Admin, you can also define in your code with the
    tag or application. CFC this.sessionTimeOut parameter.

    For the sessions of "timeOut" when the browser is closed they must be paid
    to the "J2EE session variables using" in the memory Variables section of the
    The CF administrator. A note, this does not actually remove the variables
    memory when the browser is closed, because the server has no idea who
    that's happened. What is happening, as I understand it, is the
    cookie tokens, the browser have been given are deleted by the browser
    When it closes. So when it is opened again the new chips are generated
    who are associated with a new "session" on the CF Server

    I think what can be done with non-J2EE sessions, but there
    Explicitly set the token cookies and cookies memory no files cookies in
    the browser. I've seen technical notes on how to do it.

    A third option is with JavaScript. We can define an onUnLoad event on the
    page that accesses a CFM page that can structClear() or structDelete()
    Session variables when necessary. What's caviots JavaScript used.

  • JavaScript does not update/adjustment of the value of the point

    I currently have the function in my header html
    <script language="JavaScript" type="text/javascript">
    function rfc_emergency()
    {
    if ($v('P3_TARGET_COMPLETE_DATE') <= $v('P3_EMERGENCY_DATE'))
    {
    $v('P3_PRIORITY_EMERGENCY').value = 'Y';
    alert("this will be classified as a priority");
    }
    }
    </script>
    and I have this in the form P3_TARGET_COMPLETE_DATE html element attribute
    OnChange = rfc_emergency (this);

    I know the date by comparing work and I know $v('P3_PRIORITY_EMERGENCY').value = "Y"; is ongoing because I'm alert to work. My problem is $v('P3_PRIORITY_EMERGENCY').value = "Y"; in fact, does not appear to do anything. My radio (P3_PRIORITY_EMERGENCY) button remains unchanged. Any suggestions as to why P3_PRIORITY_EMERGENCY is not to 'Y '?

    I'm running 3.2 and I apologize for not having much experience with the java script.
    Thanks in advance.

    My mistake - missed you ask on an option button - they are more delicate with javascript because they are stored under a range of choices, then a simple $x () .value won't.

    You can also make use of $s () to set the value of the elements of the ApEx, which is actually cleaner than $x () .value as it automatically represents the different types of items:

    $s('P3_PRIORITY_EMERGENCY', 'Y');
    

    Hope this helps,
    John

    If you find this information useful, please do not forget to mark the 'useful' or 'correct' post so that others benefit as well.

  • Vista SP2 does not updated Windows because the Windows Modules Installer (Trustedinstaller.exe) crashing

    Hello.
    My laptop Vista SP2 does not have Windows updates due to the Windows Modules Installer (Trustedinstaller.exe) crashing:

    Error message:
    "Signing of the problem:
    Problem event name: APPCRASH
    Application name: TrustedInstaller.exe
    Application version: 6.0.6002.18005
    Application timestamp: 49e01af1
    Fault Module name: wcp.dll
    Fault Module Version: 6.0.6002.18005
    Timestamp of Module error: 49e0380e
    Exception code: 80000003
    Exception offset: 0013b 972
    OS version: 6.0.6002.2.2.0.768.2
    Locale ID: 2057
    Additional information 1: fcbe
    More information 2: 21dec0ca93c87c4af4036e2c4a4d224a
    3 more information: 93a 4
    "Additional information 4: 172cbe47bfd87945783d7b08d7f02897.

    Update history shows a number of updates that haved 'impossible' to install accordingly.
    Any ideas how to solve this problem for all my PC install Windows updates pending?

    Thank you very much!

    Hi Spoon579,

    Jose is correct that we need more information. Without any information only generic suggestions that we can supply to run SFC/scannow here or CheckSUR here

  • Windows 7 does not update after changing the BIOS battery

    I recently changed the BIOS battery for my desktop which runs on Windows 7. Even after that windows 7 is not able to update.

    Windows Update checks the updates forever!

    the action center has this message:

    and the history of the update is like that...

    I also tried the tool micrsoft 'Fix it '. It was of no use. Windows Update stopped for checking updates and gave the error: "80072f8f.

    Can someone please help to fix this error, this will also allow me to upgrade to Windows 10!

    Thank you.

    Use the following tutorial to reset Windows updates completely and check if it helps:

    Full updates to reset Windows

  • The menu system default language does not change according to the location that uses in-app

    Hello

    I have an emergency in application if you can reply me as soon as possible.

    In fact, I've implemented localization in application for Os 5.0 for 7.0.But, I extract some problems on specific devices so can you help me out for short.

    My problem: -.

    I use both languages in my application 1. Netherland and 2. English.

    Then 2 type of different scenario produced

    1. whenever the user change language of application at this time menu default language (Close, keyboard and Application Switch) no change. These are the ways that they change language according to the language of the camera. But this problem go get some specific device as 9850 for Os 7.0 and 9300 for Os 6.0.

    2 even conducted no user in another device like 9300 Os 5.0,8900 Os 5.0,9800 Os 6.0, 9900 Os 7.0 and Os 7.0 9320 ect... When this default menu (Close, Application Switch) changing the language according to the language of demand. These are the ways that they do not change language according to the language of the camera.

    Hello

    It's the Os.

    I confirm with the BlackBerry support team.

  • Date of the library do not change not updated to display the previously modified registered work today.

    In Windows 7, in libraries, when I changed a Word document created previously and save it, the document library area does not appear in the documents of today. Even if I sort by modified Date, it still shows that in its original day created. Is this a bug or a feature disabled? It is adjustable to display any work changed in todays list of files?

    Hi DaleAnderson,

     

    You need to navigate Documents in libraries and click Update to organize the last edited files or click on the arrow down and uncheck the boxes long ago and today and check if it helps you.

    Follow the steps described in the links below.

    Management of your documents:

    http://Windows.Microsoft.com/en-in/Windows7/managing-your-documents

     

    For all windows questions do not hesitate to contact us and we will be happy to help you.

  • CS Live icon not updated due to the Adobe Story

    It is terribly boring. The icon in Photoshop will not update, even if I already signed in and used Adobe Story, although it is completely useless for me in my business. What should I do so that he can recognize I saw the service and remove the flag? Or is it possible to remove items from this list or something?

    annoying.jpg

    Any help would be greatly appreciated. Thank you!

    Jin

    I think you are talking about the "blue start icon" makes his appearance in front of the link «adobe story»

    If it is the case that this is a bug that is Senior in CS5 and has been corrected to "soon to be released update.

    for now, there is a solution:

    (1) close photoshop and kill the process of 'cs5servicemanager' of the activity monitor

    (2) now, delete the cache folder (location of the folder cache below, click to enlarge)

    (3) start photoshop and check

    Thank you

    Rous

    Adobe story team

  • Window model no is not updated when already the mark moment

    Hi all

    Thanks in advance for your time.

    When I drag my ITC on the scenario that the video does not play, it will update only when I uncheck my mouse.

    I have none of the parameters have not changed after the installation of AE and tried several compositions to see if it was just the images, it wasn't.

    I made a simple model with a white circle on a black background, and he would not yet day when the timeline scrub.

    I saw more just curious to know if there was a framework or it's just a bug.

    On a side note when I move a layer around the actual image on the layer doesn't move with her, just the bounding box until I let go of the mouse.

    Untitled-1.jpg


    Specifications of the computer:

    Core i7 930 2.80 GHz

    9 GB RAM

    NVIDIA GeForce GTX 285

    Thanks again,

    Kevin

    You have disabled the automatic update .

Maybe you are looking for