Session Variable Multiple of the default initializer

Hello

I created a session variable in the RPD to default to a guest of dashboard of Department, for a set of users, to their competent services that they are responsible.

My question is; If the session variable returns no row, is there a way to define initialization by default to select all values in the prompt the Department dashboard? I've been successful by setting default initialization as a value unique Department.

Thank you

WITH tmp AS (
select department
from employee_department
where sup_full_id =UPPER('User1')
)
select department from tmp
union
select department from employee_department
where 0 = (select count(*) from tmp)

Something like that is supposed to work: If you have lines to "User1", it returns a DIFFERENT one on this list, if nothing is there returns you all values (with a separate as well thanks to the UNION).

Tags: Business Intelligence

Similar Questions

  • GROUP session variable needs of several supply initialization values

    Hello

    I have a GROUP session variable that needs to get roles of several tables (example A dept table and table dept B).

    The block of initialization of authorization I created allows the GROUP session variable to receive the value through only 1 table SQL while I need values of 2 tables (which means 2 roles, access dept A dashboard and dashboard dept B once the user connects).

    How to achieve them.

    Thank you

    So give me a few points... ;)

  • Create Unique Session Variable based on the login page

    Hello:

    I'm building a dynamic website with Dreamweaver CS5 with Coldfusion 9.

    My question is how can I set a session variable to read a certain value. It is currently when my clients go to the login page they enter their username and password. I was able to create a session variable that contains the user name as value. So in all their pages read Welcome website "all that was their connection username. Now, I want to get the session variable to read the same table but the different FullName field. This way, that the web pages will say Welcome "FullName (based on their login user name)" I tell myself that I have to configure a query parameter, but after trying and failing for four hours to produce a successful result, I resorted to post my problem here. I appreciate the help and advice.

    My information:

    DataSource = Table 'Access' = 'Logininfo' (current) land (for the session variable) = 'User_name' (desired) field (for the session variable) = "full name".

    Currently using (server behaviors: Variable de Session) MM_Username on each relevant page for the user.

    My sign in page code is as follows:

    Head:

    < IsDefined ("FORM.username") cfif >

    < cfset MM_redirectLoginSuccess = "members_page.cfm" >

    < cfset MM_redirectLoginFailed = "sorry.cfm" >

    < "MM_rsUser" datasource = cfquery name = "Access" >

    "SELECT AccessLevels FROM Logininfo WHERE username, password, username, FullName is < cfqueryparam value =" "#FORM.username #" cfsqltype = "cf_sql_clob" maxlength = "50" > AND password = < cfqueryparam value = "#FORM.password #" cfsqltype = "cf_sql_clob" maxlength = "50" >

    < / cfquery >

    < cfif MM_rsUser.RecordCount NEQ 0 >

    < cftry >

    < cflock scope = "Session" timeout = "30" type = "Exclusive" >

    < cfset Session.MM_Username = FORM.username >

    < cfset Session.MM_UserAuthorization = MM_rsUser.AccessLevels [1] >

    < / cflock >

    < cfif IsDefined ("URL.accessdenied") AND false >

    < cfset MM_redirectLoginSuccess = URL.accessdenied >

    < / cfif >

    < cflocation url = "' #MM_redirectLoginSuccess # ' addtoken ="no">"

    < cfcatch type = 'Lock' >

    <! - the timeout of cflock management code - >

    < / cfcatch >

    < / cftry >

    < / cfif >

    < cflocation url = "' #MM_redirectLoginFailed # ' addtoken ="no">"

    < cfelse >

    < cfset MM_LoginAction = CGI. SCRIPT_NAME >

    < cfif CGI. QUERY_STRING NEQ "" > "".

    < cfset MM_LoginAction = MM_LoginAction & "?" & XMLFormat (CGI. QUERY_STRING) >

    < / cfif >

    < / cfif >

    Body:

    Connection < h1 > < / h1 >

    < p > please enter your login information the registration form in order to access your member account page. < /p >

    < form ACTION = "" < cfoutput > #MM_loginAction # < / cfoutput > "method ="POST"id ="login"> < table width ="auto"border ="0"align ="center">"

    < b >

    < td > < label for = "username3" >

    < div align = "right" > user name: < / div >

    < / label > < table >

    < td > < span id = "sprytextfield1" >

    < input type = "text" name = "user name" id = "NomUtilisateur2" accesskey = "n" tabindex = "10" >

    < span class = "textfieldRequiredMsg" > a value is required. </span > < / span > < table >

    < /tr >

    < b >

    < td > < label for = "password" >

    < div align = "right" > password: < / div >

    < / label > < table >

    < td > < span id = "sprypassword1" >

    < input type = "password" name = "password" id = "password" accesskey = "n" tabindex = "15" >

    < span class = "passwordRequiredMsg" > a value is required. </span > < / span > < table >

    < /tr >

    < b >

    < td colspan = "2" > < div align = "center" >

    < input type = "submit" name = "submit" id = "submit" value = "Login" accesskey = "n" tabindex = "20" >

    < / div > < table >

    < /tr >

    < /table >

    < / make >

    < script type = "text/javascript" >

    var sprytextfield1 = new Spry.Widget.ValidationTextField ("sprytextfield1");

    var sprypassword1 = new Spry.Widget.ValidationPassword ("sprypassword1");

    < /script >

    I'm sure it is something simple and will show my status as a rookie for the asking, but thanks for your help!

    A session variable is also the best route to go? I'll use this to query databases to display and allow them to change contact information, also show their invoices and request services.

    I don't know CF so forgive me, but you can create a session for fullname variable or use a query on your pages to filter the data WHERE username = user session variable. Looking at your code, it looks like you can add a session to the full name variable here:

  • How to add an extra session variable to authenticate the connection

    Hello

    IM totally new to php and dreamweaver develop a web application that uses the user name and password to authenticate the connection, and works very well. My question is, how do I add an extra session variable to capture another field in the users table for example type to redirect some pages based on the value of the type?

    If you're completely new to Dreamweaver and PHP, it sounds as if you're using Dreamweaver server behaviors. Take a friendly piece of advice and stop using the server now behaviors. They have been removed from Dreamweaver CC a couple of years because they use functions that had to be stripped on the next version of PHP. This version (PHP 7) was released in November. If you rely on Dreamweaver server behaviors, you are living on borrowed time. For a person to debut, it makes no sense to learn how to use a dead technology. The server behaviors work only in PHP 5. As soon as your server is upgraded to 7 PHP, you will have to start all over again. To understand the problem, see the following page in the PHP online documentation: PHP: Introduction - manual.

    If you want Dreamweaver to generate the code for you, you will need to use (paid-for) third-party extensions, such as those created by DMXZone or WebAssist. You can also learn how to write PHP code yourself. It is not as difficult as it sounds.

    To create a variable session, just to assign a value to an element in the superglobal array $_SESSION:

    $_SESSION ["$myvariable"] = "value";

    Session variables are available only on the pages that begin with session_start().

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

  • How to persist the session variable by using the template (ADF)

    We have desinged a page template. In the model content in the header, there is a title to be changed dynamically. I did the following in order to implement

    1 created a page jspx using the template.

    2. created a java class with getters and setters for the title in the header.

    3. Add this class as a bean managed with a session scope in faces-config. XML

    4. in the model using EL expresion introduce the value of ADF managed bean

    5. in support of the jspx bean, created object of the class and set the variable


    But while running page doesnot title display. Can someone help me on this issue...

    Try this:
    Create a template with an attribute and set the title in the model to use this attribute.
    In the pages that use the template move the value of the title attribute of the template tag.
    See this tutorial:
    http://www.Oracle.com/technology/OBE/obe11jdev/11/rich_client/adfrichclient.htm#TB

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

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

  • 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

  • How to use a default session variable in SQL

    I want to use a session variable (: PAGE #_VARNAME) by default for a column in a layout table whenever a new record is inserted into the table.

    What is the best way to do it? I tried to set the default value for this column: _VARNAME # PAGE under element in a table, but nothing works.

    Thanks for your comments.
    -Reid

    Try the PAGE #_VARNAME whose Type point (application or page name of the option) assuming that the PAGE #_VARNAME is an application or a name of the default page.

    Scott

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

  • 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

  • Help with the Session Variables

    It has been a long time since I used CF, probably 5 years. I remember a lot, but it seems that I forgot something.

    I have a form that accepts user data. These data are posted and another form appears. Before the CFQUERY in the in the post, I set a session variable, just before the cflocation which brings the following form.

    If I take the scflocation, I can exit the session variable.

    But when the 2nd form appears, the same session variable is not set.

    Any suggestions?

    Thank you.

    I could do this instead:

    [email protected]">

    Add applicationTimeOut to formality, something like

    application.cfm

    Make sure the file name is Application.cfm

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

  • How can I use the Session variable in the repeat region

    I have a session variable assigned to the #(numérotation automatique dans access db) of the posts ID. The variable is set to the recordset object that is displayed first (sort by message ID descending). I would like to find a way to make the variable to assign to all records, if the variable is passed to the delete page. If I use a URL parameter to send the message ID, then someone could change the number in a browser and delete messages not intended for the user.
    If you want to see the example in action goto link at the bottom of the message. Save it and reply links are URL parameters response uses the variable MM_Username to enter the name of the sender for a URL parameter is OK, but click on save and then change the value of msdID in the browser for a different number and you can record and display another message not intended for your login id. The link delete uses a session variable that I posted in the Recordset as the auto access number msdID and the good msdID # do not are they assigned.
    What to hide the URL parameters, it would be simple, but how can I do?
    Thank you
    MikeL7
    PAGE WITH SESSION VARIALBE to DELETE PAGE (save and the response are URL parameters)
    http://www.gohbcc.com/callcenter/EmployeeMessagesVIEW2.asp
    USER name: admin PASSWORD: 1234

    links from other pages of my site will bring to:
    http://www.gohbcc.com/callcenter/EmployeeMessagesVIEW.asp it's the settings of all THE URL enter 2 after VIEW to use session variables

    Your message forced me to find a way to make it work, I put the code to create the variable just before the repeating table in the region and went on to form buttons that post the variable and labeled buttons and it works perfectly. Thank you

Maybe you are looking for

  • will not print that shows superior file size

    I have been successfully print with my HP Officejet Pro 8600 up to our days.  Yesterday, it was very good.  My partner did some Fax and a copy at the end of yesterday. Today, I can't print.   All hard connections are good.  I reinstalled the printer/

  • new 4 TB drive shows 1,678 TB

    I have a HP 2007 d4995t (BIOS Rev 5.08 16/08/07).  I added a new disk Seagate ST4000DM000 (4to).  It shows only 1,678 TB.  I know that the drive is OK (it indicates 4 TB in another cpu).  The controller BIOS SAT1 mode is "RAID".  What is the problem?

  • Missing print head

    I have a hp photosmart 5510 and Hp sent me a replacement due to a different problem.  When I plugged it in for the first time I get an error message saying print head is missing. I tried troubleshooting on their website and nothing has helped. Does a

  • Were there an increase in phone scams lately by people pretending to be windows

    By scams I hear people trying to charge for software licenses, saying they are Windows or Microsoft. I've had people ringing me tonight and he ended up your wanted me to buy a software license. Graeme Robertson

  • Sync on Windows Media Player

    I'm trying to sync in Windows Media Player using an SD memory card and also I tried to use the storage Flash Drive (USB).  I clicked the sync up, but there is no recognition of the other.  I've refreshed but without success.  I've wound up Media Play