Cannot get the value of the session variable (using row wise initialization).

Hi all

I have a scenario where I'm trying to get the value of the variable session of two columns.

Table of database consists of the name of USER, Country_Region, columns Country_SubRegion.

For example: ChadraKanth, Americas, America West is the data.

I wrote a Sql query in the block of session initialization:

Select "CR", Country_Region, Country_SubRegion

of row_wise_init

where USERID = ": the USER"

When I test the RPD code gives the result like this:

CR WesternAmerica of Americas.

In my report I have two columns, a region and an another subregion.

When I try to filter with the session variable "CR" for the column region his error giving: session variable is not initialized with

This is the default.

Question:

1. session variable is contains several values in the column?

2. how to filter the report on columns of region and sub region?

Please suggest me.

Kind regards

Chandra Khalil.

Hello

A session variable cannot store more than one column, 1 variable = 1 value (column 1), horizontal initialization allows to store several lines, multiple values in the same variable.

If to a user, you have several lines with multiple values, you need horizontal initialization, but it cannot store in the variable the value of the region and subregion.

Tags: Business Intelligence

Similar Questions

  • How to check the Session Variables using the analytical web dashboard

    This is my first post. Easy points to the first right answer... If I can figure out how to give points.

    Problem: I need to know how to check that the Session Variables with the Administration of Oracle BI tool are used by the web analytics tool.

    Environment: Windows running Oracle 10g BI. Connect to the database using web analytics http:// < server >: 9704/analytics, web analytics is running in a windows Explorer browser.

    Current situation: the analytical tool is connected to the database and I can use the screen of "Answers" to the table edge to probe the tables look and things as expected.
    In the administration Oracle BI tool I can see the session of web analytics and I see that he thinks that the Session Variables are set correctly.
    I have reasons to doubt that the analytical tool is to get the right variables and I need to check it out.
    I know that I should use the 'Answer' window to create a shape any of a query that includes NQ_SESSION. < my variable >, but I can't understand what the format should be doing the work.

    That's all I need.

    What I do is insert a text in my dashboard object and then set the properties of the text object to display the variable.

    for example to display the DISPLAYNAME variable, the text object properties are:

    User: @{biServer.variables ['NQ_SESSION.]} {[DISPLAYNAME']}

  • cannot get the keyboard to select windows xp when I have only four seconds to select is stuck on windows xp professional and cannot get the keyboard to use arrows to select

    cannot get the keyboard works when reebooting said cd I need driver sata when reebooting he gives four seconds to schrol up to windows xp but the line is highlighted on a windows xp profesional bellows and can't seem to choose windows xp on its own keyboard wont respond but lights from F1 or f2 f3 until f12 choose please help

    A few old machines will not recognize a USB keyboard/mouse until after Windows starts.  Look at the back of your computer and see if you have a PS/2 (round) connector for a keyboard and a mouse.  If you do, then you will need to use a keyboard with a round PS/2 connector or a USB-to-PS/2 adapter and plug the PS/2 connector on the back of your computer so that it recognizes the keyboard until Windows starts on your keyboard.

    The SATA driver applies to your hard drive.  A CD of start-up/installation of Windows XP does not recognize a SATA hard drive.  If you install Windows, you will need to hit F6 at the right time and insert a floppy with the SATA driver on this subject.

    HTH,
    JW

  • Block initialization parameter default value of the session variable used in default prompt as "(toutes les valeurs de colonne)" "

    Hello

    I have a business requirement for a dashboard that we built location to get the users that belong to a certain geographic location to the default view of the dashboard with guests together in their geographic area.  He is just giving them a default view to enhance their experience when they connect each day.   Because of the way that we put the default value for the period of time they watch, with the HELP of SAUVÉ the CUSTOMIZATIONS IS NOT AN OPTION.

    I created the default values for the prompt called "area" in a block of initialization. This variable is called V_USER.

    My problem is that only about 80% of users have a value of 'Area' in the hierarchy of our employees.   I would like to someone else by default "(toutes les valeurs de colonne)". "  I was unable to understand how and where do.

    Some of the things I've tried:

    (1)Setting the default value in the initialization of an empty space block ("in SQL)
    (2)Setting the default value in the initialization "(toutes les valeurs de colonne) block '"
    (3)Setting the default value in the initialization block 'null '.

    None of them have worked and the result is that the user who does not have an area ends with a load of zombie dashboard, and while the guest gave rise to fashion "- select value -", the user must press "Apply" again to get the dashboard to display the data.

    The text which lies behind the encircled area in green below correctly becomes the value of the variable to V_USER (it is empty as default and I don't have a box).

    For @{biServer.variables ['NQ_SESSION.]} {[USERS ']} the default zone must be @{biServer.variables ['NQ_SESSION.]} {[V_USER']} {}

    In the red circles below you can see that the guest actually becomes a value: *) nqgtu(* )


    The illustration below indicates the default value for a user without a box. the second quick block is not updated until you press on apply again...

    Thanks for your comments.  I was not able to make this work for my needs.  I have however to solve the problem by changing using a 'SQL result' for my default selection.  Then I created a query that returns rows NULL unless there is a correct answer:

    SELECT 'Service Delivery MOS '. "' Organizational hierarchy. "" Area ".

    "MOS DELIVERY."

    WHERE ("organisational hierarchy". ("" Area number "> 0) AND ("Service Delivery MOS". "Organizational hierarchy" "." " Zone' = ' @{biServer.variables ['NQ_SESSION.]} {[V_USER']} {} ")"

    The "returns no line' I mentioned above resulted in all values being selected.

  • OBIEE 11g - the session variable, NQ_SESSION. VARIABLE, has no definition of value

    Hello

    I see a strange problem when using the SESSION variable in OBIEE 11 g SPR for the level of data security.

    The RPD, I created a new block with the PRODUCT session variable init and wise initialization line is defined.

    SQL -SELECT DISTINCT 'PRODUCT', product_id OF BI_SECURITY WHERE UPPER (USER_ID) is UPPER(':USER')

    Condition of data filter is defined on the tables & Dimension in the application role

    Filter data based on products assigned to the user in the security table is applied.

    User A has produced 15 assigned ID

    User B has 100 product ID assigned

    The user was able to connect to the presentation of OBIEE and see assigned product ID are filtered in the report.

    But when a user B signs he sees below error, when you run the same report

    [nQSError: 23006] The session variable, NQ_SESSION. PRODUCT, has no value definition

    Is there a limit on the number of values in session variable can contain.

    Why the error occurs only for user B?

    Has anyone encountered this problem?

    Thank you

    We found there is nothing in the list of the product id is assigned to user B, so report OBIEE failed with [nQSError: 23006]

    Adding a NULL value is NOT fixed INIT SQL block this problem with access from user B.

  • Value of the session Variable does not get updates.

    Hello
    I have a Session variable, I am assigning it an initial value [3] during the loading of the page. But, during the drop value menu selection and the "submit" button hit, I update the value of the Session variable.
    The update is unsuccessful and the session variable is preserved the initial value. Here's the code used to assign the value to the Session variable:

    < ISdefined ("FORM.submit") cfif >
    < cfset Session.numTasksDisplayed EQ #FORM.filter # >
    < cfelse >
    < cfset Session.numTasksDisplayed EQ 3 >
    < / cfif >

    When to use cfoutput after these instruction to check the value of the Session variable, its gives me the initial value of 3. Form.Filter is the value from the drop-down list menu option selected.
    #FORM.filter # #Session.numTasksDisplayed # < cfoutput > < / cfoutput > < cfabort >

    Any help is appreciated.
    Thank you and best regards,
    Vijayvijay77.

    First of all, you cannot use EQ with CFSET comparison operator. It should result in an error. If this is done on the bottom, there will be an error and nothing is set.

    Also, are you sure that FORM. Offer exists during the validation of the form?

    -Fernis

  • The session variable, NQ_SESSION. has no definition of value. (HY000)

    Hi all

    I use OBIEE 11.1.1.6.8 version and have deployed version 6.0 of BASEL RPD. When I go to the dashboard I get the below error

    Error
    View display error

    ODBC driver returned an error (SQLExecDirectW).

    http://192.168.1.18:9704/analytics/res/sk_blafp/common/errorminus.gifError details

    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 23006] The session variable, NQ_SESSION. RPB_Tier1Capital, has no value definition. (HY000)

    SQL published: {call NQSGetQueryColumnInfo ("SELECT saw_0 FROM ((SELECT sum ("head of Accounting Standard in fact"." Standard Accounting head amount "(/1000000) saw_0,"Head of Accounting Standard"". "" Saw_1 head Accounting Standard identifier', '-D2061Legal entity Info "." Customer First Name' saw_2, VALUEOF (NQ_SESSION. RPB_Tier1Capital) saw_3, saw_4 3, '-Dimension Run D1008 '. " Run the Description ' | » -'' || CAST ('-D1008 run Dimension '. ' ") (Run surrogate key' AS VARCHAR (10)) saw_5 'Basel' WHERE ('head of Accounting Standard". ("' Chief Accountant standard identifier" = "CAP058") AND ("-D001 Date Dimension". "") (Date of extraction "=" 2013-10-04 ") AND (" '-D2036 Type of Cosolidation legal entity "". "") Basel consolidate Option Type Description"(" GROUP")) AND ("-Info entity D2061Legal "." ") (Client name' IN ("*) nqgtn(*'')) AND (" "-Dimension run D1008" "." ") Run the Description ' | » -'' || CAST ('-D1008 run Dimension '. ' ") (((Run surrogate key' AS VARCHAR (10)) IN ('Basel II Capital calculation-97000106'))) UNION (SELECT sum ("head of Accounting Standard in fact". "Standard Accounting head amount"(/1000000) saw_0, "Head of Accounting Standard" "." " Saw_1 head Accounting Standard identifier', '-D2061Legal entity Info "." Customer First Name' saw_2, VALUEOF (NQ_SESSION. RPI_TotalEligibleCapital) saw_3, saw_4 4, '-Dimension Run D1008 '. " Run the Description ' | » -'' || CAST ('-D1008 run Dimension '. ' ") (Run surrogate key' AS VARCHAR (10)) saw_5 'Basel' WHERE ('head of Accounting Standard". ("' Chief Accountant standard identifier" = "CAP210") AND ("-D001 Date Dimension". "") (Date of extraction "=" 2013-10-04 ") AND (" '-D2036 Type of Cosolidation legal entity "". "") Basel consolidate Option Type Description"(" GROUP")) AND ("-Info entity D2061Legal "." ") (Client name' IN ("*) nqgtn(*'')) AND (" "-Dimension run D1008" "." ") Run the Description ' | » -'' || CAST ('-D1008 run Dimension '. ' ") (((Run surrogate key' AS VARCHAR (10)) IN ('Basel II Capital calculation-97000106'))) UNION (SELECT sum ("head of Accounting Standard in fact". "Standard Accounting head amount"(*100) saw_0, "Head of Accounting Standard" "." " Saw_1 head Accounting Standard identifier', '-D2061Legal entity Info "." Customer First Name' saw_2, VALUEOF (NQ_SESSION. RPB_Tier1CapitalRatio) saw_3, 6 saw_4, '-Dimension Run D1008 '. " Run the Description ' | » -'' || CAST ('-D1008 run Dimension '. ' ") (Run surrogate key' AS VARCHAR (10)) saw_5 'Basel' WHERE ('head of Accounting Standard". ("' Chief Accountant standard identifier" = "CAP214") AND ("-D001 Date Dimension". "") (Date of extraction "=" 2013-10-04 ") AND (" '-D2036 Type of Cosolidation legal entity "". "") Basel consolidate Option Type Description"(" GROUP")) AND ("-Info entity D2061Legal "." ") (Client name' IN ("*) nqgtn(*'')) AND (" "-Dimension run D1008" "." ") Run the Description ' | » -'' || CAST ('-D1008 run Dimension '. ' ") (((Run surrogate key' AS VARCHAR (10)) IN ('Basel II Capital calculation-97000106'))) UNION (SELECT sum (case where "Accounting Standard head".)) «Standard accountant Chief identifier "=" CAP090 "then"fact head of Accounting Standard".» "" Flat rate of chief accountant "when

    Can someone help me please. I'm new and I have no experience with the available filters.

    The session variable, NQ_SESSION. has no definition of value. (HY000)


    This means that your init block does not work. Check the init block why its not leading is not to any data.

    only when the init block fails in the data, the server checks for the default value of the variable.

    Since there is no default value, you get this error.


    Init blocks can fail because

    1 connection pool does not work.

    2. the table or view does not exist

    3. no data in the table

    4. the filter in the sql in init block is not initialized if his coming of another variable of session.


    in general, no data should bring no results in a report.

    Since you have a session variable as part of the report, and this variable initialization failed, you get this error.

  • Cannot get the value of the selection of OAMessageChoiceBean

    Hello

    Of our 11i to R12 upgrade, in the customer's advanced search page, we are unable to get the handle suitable for OAMessageChoiceBean (in extendedCO).

    The snippet for the bean handling is as follows:

    OAMessageChoiceBean PartyStatusFilter = (OAMessageChoiceBean) vOAPageContext.getRootWebBean () .findChildRecursive ("xxfeF426PartySearchStatus");
    String xxTest = PartyStatusFilter.getSelectionValue (vOAPageContext);

    The value of the above xxTest (in R12 approx.) is coming with a null value. Considering that the same code works in 11i environment and the xxTest output = "A".

    So we cannot get the value of the selection of the messagechoicebean in our environment of R12. I already looked in previous similar positions in this forum, also tried to use getSelectionText (vOAPageContext) or getSelectedValue(), however, it did not work.

    Pointers please?

    Thank you very much
    Zahid

    Hi Zahid,

    Try with this ID = HzPuiPartyStatus

    -Had

  • by the way the Session variable of type DATE for opaque filter data view

    Hello world

    You guys can help me please by passing the session variable of DATE in physical layer 'view opaque' data type filter RPD to Oracle database

    I tried following syntax, syntax wise, I didn't get any error, but at the same time this opaque view is not fetch all the records as well. my session variable is 'End_date' and its value is 1998/12 / 31:00:00:00(as_shown_in_RPD_session_windows,_datatype_is_DATETIME)

    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, SH. SALES TIME_ID

    WHERE TIME_ID = TO_DATE (' VALUEOF (NQ_SESSION.) END_DATE) ", ' MM/DD/YYYY')"

    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, SH. SALES TIME_ID

    WHERE TIME_ID = TO_DATE (' VALUEOF (NQ_SESSION.) ("' END_DATE ')", ' MM/DD/YYYY') "

    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, SH. SALES TIME_ID

    WHEN TRUNC (TIME_ID) = TO_DATE (' VALUEOF (NQ_SESSION.) ("' END_DATE ')", ' MM/DD/YYYY') "

    In the past, I could spend a session variable in an opaque display by using the DATE filter, but which was in DB2.

    I appreciate your time and help

    Finally, I had good format. It's here

    TO_DATE (substr ("valueof (NQ_SESSION. End_date)', 1, 10), "yyyy-mm-dd")

    and here is the source where I got this information

    Using Variables in Session OBIEE in some tables of the physical layer

  • Need help: understanding of the Session Variables

    Greetings-

    Maybe I'm just not understand how function of session variables and
    I hope that someone here can help me to do so.

    I am trying to establish an auto-dialing for a client process report
    so when a person displays an online report, a number of declaration is
    generated and stored in a variable session and when information
    is submitted, download number of report and the additional information provided
    a database. Everything seems to work as expected, except for this.

    I use an application.cfm file to define the session management and to create a
    Report number and set this number to a session variable.

    When the person opens the report form page, there is a teaching section
    for their study, followed by a 'Proceed' button to go to the next section of the
    page.

    When they click on the "Continue" button, is when the number of report which is held in a
    session variable (application.cfm) should insert in a hidden for later form field
    upload, which seems to happen.

    Now for the part that I don't understand. I thought that both a session
    had not expired, the session variable would remain in use and so if
    the report page has been updated (reloaded) of the same session would be variable
    be used.

    What I feel, is that whenever the report page is to be regenerated,
    a new report number is loaded in the session variable. I'm not
    understand how to work the session variables? Am I missing some criticism
    piece of coding or point here?

    I have included below the structure of folders and files used in the process
    for review.

    Thanks in advance for any help to do this work.

    Leonard B

    ===============================================
    ===============================================

    Folder structure
    area/reports
    -area/reports/input /.

    Files
    -domain/reports.cfm <-Entry Point for dealing with the
    --domain/reports/application.cfm
    --domain/reports/input/report_form.cfm

    ====================
    application.cfm

    < name cfapplication sessionmanagement = "yes" ' LanceApp"=
    SessionTimeout = "#CreateTimeSpan (0,0,20,0)" # ""
    applicationtimeout = "#CreateTimeSpan (0,0,2,0) #" >

    < cfset DSN = "datasource" >

    < name cfquery = "getnumber" datasource = "#DSN #" >
    SELECT report_number
    OF report_numbers
    < / cfquery >

    < cfset Session.report_number = #getnumber.report_number # >

    < cfif getnumber.recordcount IS 0 >
    < name cfquery = "insertnumber" datasource = "#DSN #" >
    INSERT INTO report_numbers (report_number) VALUES (1)
    < / cfquery >
    < cfelse >
    < / cfif >

    < name cfquery = "updatenumber" datasource = "#DSN #" >
    UPDATE report_numbers
    SET report_number = report_number + 1
    < / cfquery >

    ====================
    report_form.cfm

    < cfparam name = "Button" default = 'Start' >

    < cfif #Button # is 'Start' >

    < action = "report_numbers.cfm cfform" method = "post" enctype = "multipart/form-data" > "
    < input type = "submit" name = "Button" value = "Proceed" / >
    < / cfform >

    < cfelseif #Button # is "Proceed" >

    < div style = "padding: 5px 5px 15px 50px" >
    #Session.report_number # < cfoutput > < / cfoutput > < / div >

    < / cfif >

    Quote:
    Posted by: Leonard B
    Hi Dan,.
    Thanks for the answer, let me clarify what is the goal. This process of numbering
    is a public service organization. The goal is not to create a primary key.
    but to establish a process of sequential numbering to fill online reports that
    can be reset to zero at the beginning of each year.

    I'm certainly open-minded for doing things in a more easy way and if you have a
    easier, I'm all ears or should I say all eyes. However, with the requirement of
    reset the process back to zero, I couldn't get to any other way of
    treatment of the task at hand.

    Thank you

    Leonard B

    "In this case he would stil be easier to run the following code" number "just before you insert your data. What you have said so far, it's the only time where you really need it.

    But if you want to stick with the application.cfm approach, there is a difference in what you say you do and what your code is showing. You say "I checked to see if the session variable has been set and he has been.", but I don't see any if/else logic in the part of your application.cfm code where you set the variable. Remember, the code runs on each page, including request refreshes.

  • DRM-61026: cannot create the session of the user for the following reason: the connection has failed. User name or password.

    Im very new to Oracle DRM and Im trying to get the configuration of the application on the Windows Server that is running SQL Server 2008.  When I try to connect to the Web Client I get this error.

    DRM-61026: cannot create the session of the user for the following reason: the connection has failed. User name or password.

    Can you please help

    The problem is solved, reinstalled DRM and recreated the repository. the password has a symbol that causes the problem, @.

  • Cannot get the "&lt; FEFF &gt;" string in the selected text [indesign CS6]

    Hello world!

    I can't get the string to the selected text. The selected text contains several xml tags.

    In adobe indesign cc version of 2014, the selected text is bring the string «< FEFF >» tags

    In indesign adobe cs6 version cannot get the string "< FEFF >. they do ""-empty space.

    Screen Shot 2015-09-23 at 6.01.25 PM.png

    Are the above-selected text contains several xml tags.

    but I get content using script code can't get the string.

    Screen Shot 2015-09-23 at 6.02.51 PM.png

    the script gives the result, xml tags are converted to "". ""  I expect "< FEFF >.

    I expect the output is: "< FEFF > Applescript < FEFF > < FEFF > selected text < FEFF > < FEFF > < FEFF >."

    Please help me...

    Thank you

    John Peter.

    the script gives the result, xml tags are converted to "". ""  I expect to ''.

    The xml tags are not converted to "" but "\uFEFF" (zero-width space non-bec), it is the character used to represent the tags in a text frame. Looks like the apple script converts a hexadecimal representation unicode values.

  • Help with the session variable PHP CS5.5 - Please

    Hi all

    I am needing a little help with the help of a session variable, and I hope someone can point me in the right direction.

    I created a PHP page that uses the Dreamweaver 'User authentication' feature and the basics of this works very well, to direct a user to the correct page depending on whether they are or are not a valid user. I want to customize the page 'user valid' with people, user name entered in the authentication of the user table... a seemingly simple task using a session variable, but I just seem not to be able to make it work!

    The generated code for the AU on page 1 is the following:

    <? PHP

    Validate request to connect to this site.

    If (! isset {})

    session_start();

    }

    $loginFormAction = $_SERVER ['PHP_SELF'];

    If (isset($_GET['accesscheck'])) {}

    $_SESSION ['PrevUrl'] = $_GET ['accesscheck"];

    }

    If (isset($_POST['txtfirst_name'])) {}

    $loginUsername = $_POST ['txtfirst_name'];

    $password = $_POST ['txtsurname'];

    $MM_fldUserAuthorization = "";

    $MM_redirectLoginSuccess = "member_update.php";

    $MM_redirectLoginFailed = 'login.php ';

    $MM_redirecttoReferrer = false;

    @mysql_select_db ($database_panto, $panto);

    $LoginRS__query = sprintf ("SELECT firstname, name OF web_access WHERE firstname = %s AND family name = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $panto) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username'] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    If (isset($_SESSION['PrevUrl']) & & false) {}

    $MM_redirectLoginSuccess = $_SESSION ["PrevUrl"];

    }

    Header ("Location:".) $MM_redirectLoginSuccess);

    }

    else {}

    Header ("Location:".) $MM_redirectLoginFailed);

    }

    }

    ? >

    First of all, the text highlighted in red above seems to be setting the session variable that I need. Is this correct?

    If so, what is the code that I need to put on page 2 to use this session variable? or

    I have to do something else on the page 1 to correctly assign the session variable?

    Would be very grateful for your expertise

    Mark

    It seems that you put the columns incorrectly in the user authentication server behavior. This is the SQL query that checks the credentials of the user:

    $LoginRS__query = sprintf ("SELECT firstname, name OF web_access WHERE firstname = %s AND family name = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    You are looking for first name and last name, while you should look for the user name and password of the user.

    $_SESSION ['MM_Username"] is a session variable that stores the login name of the user. To use it in a page, all that is needed is the page start with session_start(). You can then echo the value to display.

    If you want to display the person's true name, you must create a recordset in the second page, use of $_SESSION ['MM_Username'] to search for the first name and the patronymic. Alternatively, you can change the code like this (I copied only part of it):

    $LoginRS__query = sprintf ("SELECT firstname, surname OF web_access WHERE firstname = %s AND password is %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $panto) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    $row = mysql_fetch_assoc ($LoginRS);

    $_SESSION ['full_name'] = $row ["FirstName"]. ' ' . $row ['name'];

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    You can then use $_SESSION ['full_name'] in a page which begins with session_start().

  • How to filter the Recordsets using the session variable?  Please help this makes me crazy...!

    I'm having the same problem as user "Gabe the facilitator" in a message sent in 2007.

    «My recordset that animates a PivotTable will not filter the results based on a session variable.» I know that the session variables are working because I have the echo of session variable in the page (dragged-n-dropped my session variable since the panels on my page links), and that works fine. So why can't filter my recordset with the same session variable? »

    Here is the code:

    <? php require_once('Connections/mockconn.php');? >

    <? PHP

    session_start();

    ? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    {if (! session_id ())}

    session_start();

    }

    $colname_info = "-1";

    If (isset($_SESSION['email'])) {}

    $colname_info = $_SESSION ['email'];

    }

    @mysql_select_db ($database_mockconn, $mockconn);

    $query_info = sprintf ("SELECT name, last_name, email, password registration E-mail WHERE = %s", GetSQLValueString ($colname_info, "text") ");

    $info = mysql_query ($query_info, $mockconn) or die (mysql_error ());

    $row_info = mysql_fetch_assoc ($info);

    $totalRows_info = mysql_num_rows ($info);

    ? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    Home < title > < /title >

    < / head >

    < body >

    < div id = "info" > Hello <? PHP echo $row_info [""];? > < / div >

    <? PHP

    If (isset($_SESSION['email'])) {}

    echo ' your email: '.' '. $_SESSION ['email'].' '.' good work ";}

    ? >

    < / body >

    < / html >

    PLEASE PLEASE HELP... I've been to this day of...

    How do I filter the recordset based on the value of the session variable

    Then it works fine.

    Each test returned correct results.  We checked one) your session variable is set correctly, b) the SQL statement is properly filtered by email, and c) the returned results are as expected.

  • How to set the output of the report to the session variable

    Hello
    Is it possible to output report to the session variable value. If my report returns 1 row and 1 column.

    I have a dashboard command prompt where I select name, but I want to find the ID of the same name.
    This ID I want to move to a Fx column, to achieve this, I created an interim report and I got the code. Now my problem is how do I put this ID in the session variable.

    Please help if anyone knows...

    Have you read this:
    How to set the session / presentation in the repository variable variable

    Dashboard invites on Month Name but the report on the ID of the month filter:
    Re: Guest dashboard on the name of the month but the report on the necessary month ID filter

    If you have dashboard guest (name), then you can have that one report that is filtered by a name but present card to display or not id but use id in the service. Or two reports as in the solution in the second link above and the second report has id in the function and filter by the id of the first report. You need not define this ID in the session for this example variable.

    Please close your previous discussions, if they are treated.

    Concerning
    Goran
    http://108obiee.blogspot.com

Maybe you are looking for