presentation of session variables and presentation

Is it possible to know the current values of my session variables and presentation?

I tried to add report on my dashboard, where I set the column for my variables.
I created column such as @{myPresentationVariable} and VALUEOF (NQ_SESSION.mySessionVariable).

What of the variables, I put in the blocks of initialization as initialization of the horizontal, as GÖRÜŞ?
What variable I defined in the initialization to block such as: USER: EMAIL, etc. '?

[http://gerardnico.com/wiki/dat/OBIEE/presentation_variable_system?s] = session

Please refer.

Tags: Business Intelligence

Similar Questions

  • Session variables and presentation. Examples?

    Could someone provide me with some info and examples on how I can display the contents of the session variables and presentation?

    I read the manual, I can use @{presentation.variable} - as of the statements, but they do not seem to work. Anyone have an example?

    Thank you very much in advance

    Fabio,
    It is interesting to read the presentation services administration guide familiarize themselves with these, it is one of the best pieces of documentation.

    To reference a variable use of presentation @{VariableName}, if you write this in an expression you can set a default value using @{VariableName} {defaultvalue}

    concerning
    Ed

  • Helps the guest of session variable and dashboard

    Hi, I ran into soemthing that I can't understand.

    In the administration tool, I defined a CURR_MONTH session variable and set the query to find month max in the date dimension. It's all works fine - if I test the variable in OBIEE administration tool, it currently returns "January 2010".»

    In addition, in the responses, I can create a query that moves back calendar information and then put a filter on it so the specific columns is equal to the session variable. It works perfectly - I get the 3 lines of return data that correspond to the 3 days of data we loaded for January 2010.


    However, now that I'm trying to do is set a dashboard with the dimension command prompt date in it. I want the default to months / year equal to the value of CURR_MONTH. However, when I do this, instead of getting the correct value, for some reason some, it becomes the default value I put in place for this variable.

    Any ideas on what I am doing wrong or if it is a bug?

    Thanks in advance,
    Scott

    p.s. using OBIEE 10.1.3.4, with no applied patches. I'll upload pictures when I get home... is not a way to their work stations.

    Hi Scott,.

    I just tested and it works fine for me.

    (1) in your DB guest pass by default to
    (2) select the Server Variable
    (3) NQ_SESSION. CURR_MONTH
    (4) save and test

    Well, that should work for you. Here is a link to a jpg file that you should probably keep for future reference. She'll show you the proper syntax to use in different situations.

    http://shivabizint.files.WordPress.com/2008/10/OBIEE-variables-overview.jpg

    -Joe

  • Error of session variable and script

    Hello;
    I even wrote this script which turns on a bg and aff for throughout the site to remember. I have a good start on this code, but I'm running into issues.

    1. I am using a checkbox to make the selection and when clicked on, it will not work without using a button "submit", java script that I use does not do the work allowing the box to act as a link so to speak.

    2. I need to make this script in a session variable. So that when the decision is taken, the site will remember.

    3. There could be a problem in my IF statement.

    Can someone help me please? I enclose the code. It uses a database that has a Yes / No box of the table accesses this beep code.

    Thank you.

    Phoenix

    A Quess...

    Remove the OnClick in the form

    Place it in the type of entry?

  • store session variables and retrieve the

    A few months ago, I wrote a web application that uses the session to store user entries that move from one page to another. It was very successful. Then I tried to recover the data in the fromt the database field when the user connects after disconnection, but I was unssuccessful. This is my script. All I want to know who is there at - it a way to store and retrieve my session or fill my entry complete with data from the database.

    I use cf9 and mysql on a window7

    < cfset numberofSteps = 5 >

    <! - the session.registration structure contains the user input - >

    <!-who move in the wizard, make sure that there is->

    < cfif not isdefined ("session.registration") >

    <!-if structures are not create / initialize it->

    < cfset session.registration = structNew() >

    <!-start current wizard step represent one - >

    < cfset session.registration.stepNum = 1 >

    <!-we will collect these user; departure at one->

    <!-we will collect these user; departure at one->

    < cfset session.registration.firstname = "" >

    < cfset session.registration.lastname = "" >

    < isDefined ("form.fname") cfif >

    < cfset session.registration.firstname = form.fname >

    < cfset session.registration.lastname = form.lname >

    < action = 'action =' index.cfm cfform? "" StepNum = #URLEncodedFormat (session.registration.stepNum) method # ' = 'post' preservedata = "yes" ' method = "post" >

    < cfswitch expression = "#session.registration.stepNum #" >

    < cfcase value = "1" >

    < cfinput name = "Pnom" type = "text" VALUE = "" #session.registration.firstname # "onChange =" javascript:this.value=this.value.toUpperCase(); "class ="EGIT-txt"required ="true"validateat ="onSubmit"message ="You must enter a first name."/ >

    < cfinput name = "lname" type = "text" VALUE = "" #session.registration.lastname # "class ="EGIT-txt"required ="true"validateat ="onSubmit"message ="You must enter a name last."onChange =" javascript:this.value=this.value.toUpperCase(); "/ >

    < / cfcase >

    < / cfform >

    You can do it

    #firstname #.

    OR

    #queryname.firstname #.

    NOTE: in the first option if there are more then a line in the database (from inegrity of data) they will be more hten a table (since it will loop through lines in the cfoutput)

    in the option sec., it will take the value of the FIRST record in the QUERY, regadless of the number of rows contained in the query.

    Hope that this clear things for you...

  • FLex: Creation and access to session variables

    Hi all

    Good morning people.
    Am new on SDS and using Flex 2.0

    I have hotel_list in the collection. and have a mapped datagrid which has a "Book now" button on each row (hotel).
    Then click on the 'book now' button, I want to spend the more information in the same row to the next page.
    Can I create the session variable and access session variables in the next page side server.
    How do I do... ?


    Pls any one advice me on creating session variables and access even in another page?
    Can one after the code example?


    My code is as follows...

    < mx:Script >

    <! [CDATA]

    import flash.net.navigateToURL;
    public void OnBook_click(hcode:String):void {}
    ("var request: URLRequest = new URLRequest("/quick_search/booking.mxml ");
    var uv:URLVariables = new URLVariables();
    UV.hotelcode = hcode;
    Request.Data = UV;
    navigateToURL (request, "_self");
    }
    < / mx:Script >


    < mx:DataGrid id = "dg" width = '100% ', rowHeight = styleName "38" = "GridColumnText."
    "dataProvider ="{hotel_details}"enabled =" {! ds.commitRequired} "creationComplete =" fill_hotelDetails () ".
    verticalScrollPolicy = "{mx.core.ScrollPolicy.OFF}" rowCount = "10" height = "404" > ""
    < mx:columns >
    < mx:DataGridColumn dataField = "hotel_address" headerText = "name of the hotel.
    headerStyleName = "DynamicLabel" width = "300" wordWrap = "true" editable = "false" / >

    < mx:DataGridColumn id = "pr_rate" dataField = "prdt_rate" headerText = "rate."
    headerStyleName = "DynamicLabel" paddingRight = "10" editable = "false" width = "50" / >

    < mx:DataGridColumn dataField = "hotel_status" headerText = "availability".
    headerStyleName = "DynamicLabel" editable = "false" width = "75" / >

    < mx:DataGridColumn headerText = "book now" editable = "false" dataField = "hotel_code."
    headerStyleName = "DynamicLabel" width = "75" sortable = "false" >
    < mx:itemRenderer >
    < mx:Component >
    < mx:HBox width = "25%" horizontalCenter = "0" horizontalAlign = "center".
    styleName = paddingTop "GridColumnText" = "5" >
    < mx:Button id = "book" label = "book now" click = "outerDocument.OnBook_click (data.hotel_code)" / > "
    < / mx:HBox >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >
    < / mx:columns >
    < / mx:DataGrid >

    Instead of pass... is the values to booking.mxml as request parameters possible to define session variables?
    pls someone help me...


    THX in advance
    Raphael alboury

    Take a look at the shared objects, I think these are the kind of thing you're after. In my view, that the subtopic "By specifying a path" must be particularly pertinent for sharing variables/objects between two swf files.

    LiveDocs - shared objects

  • Urgent about the session variable

    Hello world

    I have a guest fromdate (calendar ctrl) and to this day (calendar control) and an orderID (here is multiple selection). Now my requirement is I should choose an order ID multiple selection and when I hit between the date should be invited for the fromdate and to this day, and they must spend in the report.
    Please help me how can I go to the 'view' Fordate session variables and 'day' based on orderid select multiple selection.

    Thank you very much for your help.

    Thank you
    Chakr

    Question - Ids come straight from shape is talbe. If so

    Work around... 2 buttons to go means 2 guests

    1prompt - Fromdate and todate with button variables-Go presentation

    2 guest - use the sql function to get values from fromdate and todate presentation values of variables in the where clause. -Go button

    Means, first you select the dates and and click on go. These variables intialises you will see IDs in the 2nd for the selected dates prompt. You can select from there and click on the 2nd GO button.

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

    Hello

    I want to know is a way of the set/get on oracle sqlplus or vb.net session variable? How?

    Thank you!

    Francis SZE

    Devotee wrote:
    Could you please give me more detail (s) how do I set and get the session on the oracle sqlplus or vb.net database variable?

    Why do you want a session variable and what is the purpose?

    A PL/SQL, once loaded, package remains loaded for the duration of the session (except manual reset). This allows to use a package for the encapsulation of global session variables. For example

    create or replace package SessionVariable as
      sessionID number;
      sessionState varchar2(20) := 'INIT';
      --// etc.
    end;
    

    From an external client, you simply use an anonymous PL/SQL block to set and read these variables via bind variable:

    --// set a state variable
    begin
      SessionVariable.sessionID := :1;
    end;
    
    --// read state variables
    begin
      :1 := SessionVariable.sessionID;
      :2 := SessionVariable.sessionState;
    end;
    

    Another method, as illustrated by Alex, uses an Oracle context aka Namespace. There are 2 types of namespaces. Approved and unapproved.

    Alex shows no reliable context. The customer can create and set session variables.

    A context of trust is one where the procedure that is assigned to acts of context as an autoexec.bat or + .bash_profile script - where this script creates and sets session variables. For example, the procedure could connect to an LDAP server using the existing user identification information, read an additional security and role of the LDAP attribute values and create session for these variables.

    This context confidence means that variables of session (for this context) is reliable because she was not defined by the client (running wild). This customer ran on the contrary this procedure and this procedure containing a code of confidence created the required session variables and assign values (which cannot trust) to these variables.

    A context of trust is often used to implement VPDB (virtual private databases) in Oracle.

    One last comment. The PL/SQL package approach works very well (as a namespace not approved), but does not support the use of SQL. You cannot use static package from SQL variables (unless SQL is inside PL/SQL).

    An appropriate context can be used in PL/SQL and SQL.

  • Session variables change at each request

    Hello

    We have a problem with session variables (jsessionid), is to change a page to another page, and also when we page.code to referesh worked well on other servers. When we moved to problem of production server came.

    In application.cfc, we used the settings below.

    this.applicationTimeout = CreateTimeSpan (4, 0, 0, 0);

    This.clientmanagement = false;

    This.loginstorage = "session";

    This.sessionmanagement = true;

    This.SessionTimeout = CreateTimeSpan (0, 0, 20, 0);

    this.setClientCookies = true;

    this.setDomainCookies = true;

    this.scriptProtect = 'all ';

    In the coldfusion administrator allowed us to use"J2EE session variables", 'application variables',the session variables.and we also added "

    "Dcoldfusion. sessioncookie. HttpOnly= true "in the Java virtual machine.

    Details of the operating system: windowsserver2008R2

    Coldfusionserver: 9.0.1,274733

    Is it related to sessionfixation question? All other things we need to verify or add? Please let me know.

    Thank you

    We have solved the problem, in the jrun.xml configuration file there is the "cookie-config" section that we have removed:


    true
    true

  • 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().

  • Impossible to filter a recordset using a session variable

    I have a voluntary application page, then when volunteers press < Submit > their info is stored in a MySQl db table and a session variable is created containing the primary key of the record in the table, control is passed to a page of 'success' The success page accesses the session variable (I proved this by displaying the session on the success page variable) so my next step was to create a recordset in the success with a filter page using the session variable to select the appropriate line in the table, allowing me to view the volunteer to the info They argued.

    I created a page to pass the test that displays the session variable and a field of the volunteer info. When I test this I can't see the session variable is displayed, but the corresponding volunteer info of the recordset field is not displayed.

    The volunteer application page is here www.hollisterairshow.com/volunteerapp.php and the successpage is here www.hollisterairshow.com/thanksvol.php

    The code that creates the session variable in the voluntary application page is displayed below

    $_SESSION ['volunteer_id'] = mysql_insert_id();

    The code to display the session variable in the success page is shown below

    <? PHP echo $_SESSION ['volunteer_id'];? >

    The code to display the volunteer info is shown below

    Thank you < h1 > <? PHP echo $row_rsVolunteerApp ["FirstName"];? >! < / h1 >

    The recordset definition is shown below

    rsVolunteerApp.jpg

    The result of the test success page is shown below, as you can see the name of the volunteers is not displayed immediately after the "Thank you" message, but the session variable containing the correct primary key (41) is displayed correctly.

    sessiontest.jpg

    Someone has an idea what I am doing wrong?

    Thank you

    Tony

    Where did you put session_start()? It should be before the variable is accessible. This is obviously before the line that displays the value in your page, but that's before the SQL query is generated?

    Also, have you checked in phpMyAdmin to see if volunteernumber 41A all values in the database?

  • How can I activate the values hidden Login form in session variables?

    QUESTION: How can I get form elements hidden for primelang, studylang, country and nationality of the Login form Post table to become the session variables?

    Adobe page at http://kb2.adobe.com/cps/165/tn_16563.html gave me the info that didn't work because the code is old. The first question I asked was answered in useful, but partial and no values are appearing. All this is set out below, and I don't know if I can shorten and still make sense.

    Page 1 has a form of connection with six fields.

    The textfields in form are the user name and password.

    The hidden form fields are: nationality, country, studylang, primelang and their values will be set by incoming was a previous page URL or hard-coded in.

    I am trying to create four hidden fields session variables to avoid having to deploy recordsets on each subsequent page.

    After the "connect" button is pushed, I want that these four form fields hidden, nationality, country, studylang, and primelang and their values, proceed to the next page, as of Session Variables and then be available to all pages so I can use them in the links to other pages and in < img src="folderX/SessionVariableValue/book1.php. > Make sense?

    Each page of support seems to work:
    On the login page, the $MM_redirectLoginSuccess = "yadayada.php"; works very well.

    I used <? PHP if ($_POST) {print_r($_POST) ;}? > to check the post table and it works properly for all areas.

    I created links to the four Session Variables with the same words: primelang, studylang, country, nationality, and them deployed on the recipient page:

    <? PHP echo $_SESSION ['primelang'];? >

    <? PHP echo $_SESSION ['country'];? >

    <? PHP echo $_SESSION ['nationality'];? >

    <? PHP echo $_SESSION ['studylang'];? >

    QUESTION: How can I get the form to primelang items, studylang, country and nationality of the table to enter the head Post code on the recipient page? I have deployed it in the code of the head, but the gentleman who offered assistance previously not a not inform me how to get the hidden field values in the "what".

    <? PHP session_start();
    $_SESSION ['nationality'] = 'whatever ';
    $_SESSION ['studylang'] = 'whatever ';
    $_SESSION ['primelang'] = 'whatever ';
    $_SESSION ['country'] = 'whatever ';

    $nationality = $HTTP_POST_VARS ['nationality'];
    $studylang = $HTTP_POST_VARS ["studylang"];
    $primelang = $HTTP_POST_VARS ["primelang"];
    $country = $HTTP_POST_VARS ['country'];
    ? >

    What is the magic, missing link?

    I tried to use form Variables to pick up the values, but PHP doesn't, or I messed up.  I can't find a FULL explanation of how to create, move, retrieve and deploy the Session Variables anywhere on the web. Thank you for your help.

    What is the magic, missing link?

    You're going to start, but the magic missing link is the realization that "it doesn't matter" is a fictitious string that represents everything you want to assign to the session variable.

    
    

    $HTTP_POST_VARS and $HTTP_GET_VARS are obsolete. You must replace them by $_POST and $_GET respectively.

  • session variables will remain

    Hello
    I have a login page, the application page and the form page. Right now everything is in a test folder and works very well. When I went on the record to display another page and go back to the form page (I think this is the case) he lost the session variables and gave an error could not find a variable. Some pages (forms of update) need password protection and some do not, which is why I put the application.cfc, the login.cfm page file and update in the same folder pages. But I have users need to be able to pull the file and back without losing the variable data. I think that this must be done with the definition of the variables in session in the application.cfc file, but how do I go about it and what it means that the application.cfc file must be moved upwards in the top-level folder and if so it would then require to connect on all pages. I enclose the main code of each page.

    See this thread on session variables. It helped me to solve the problems.

    33750 http://www.Adobe.com/cfusion/webforums/Forum/MessageView.cfm?forumid=1&CATID=7&ThreadId=13 & enterthread = y

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

Maybe you are looking for