Spend the session login information

Hello

I use Jdev 11.1.1.7.0_GENERIC_130226.1400.6493.

We create an ADF Application with custom login page (.html). Click to submit a JS function is called, which makes j_security_check synchronous AJAX call with name of user and password and lands at the homepage (.jspx) app after authentication.

The requirement now is to add a local select choice field in the Login Page whose value can be captured in session and used after the connection is successful.

Any ideas on how this can be implemented. I tried to use filters, but, how to chose local I don't get any ideas.

Thanks in advance

-Neha...

Hello

you do not have access to the session of JS and HTML. I had put a cookie to the client, you can do from JavaScript. When the request is then redirected to the JSPX page, you look at the cookie and set the regional settings accordingly. If you set the cookie expires when the browser is closed and there is no State stood on the browser remains

Frank

Tags: Java

Similar Questions

  • How can I get the FTP login information?

    I got the information from someone who used to work on the site.  I didn't write it, or if I did I don't know where I got it.  I need to be able to say to other people and have no idea of what it is.  I am able to use DW to connect to the server.  Is there a way I can get this information from DW?

    The call to the hosting company is the easiest way.

  • The user login information

    Hello

    Could you please provide the request to look up the following details?

    1 users / connections

    2. operations per second

    Oracle - 11.2.0.4.0

    OS - Linux 6.6

    It is HA cluster

    It is approx QA.

    Kind regards

    Bala

    I'm sorry to see that GOOGLE is broken for you.

    Under first URL returned by it

    https://asktom.Oracle.com/pls/asktom/f?p=100%3A11%3A0%3A%3A%3A%3AP11_QUESTION_ID%3A508022052979

    Don't forget to read what Tom has to say on the subject

    When you start with the wrong question, little matter how right answer you get, it will matter a lot.

  • Group Policy to clear the MRU lists and to clear or to prevent the login information of the user for such programs as being registered remote desktop

    Hello

    Please someone can instruct me on how to implement Group Policy to clear the MRU lists and to clear or to prevent the login information of the user for such programs as being registered remote desktop. Your help would be much appreciated.

    Kind regards

    RocknRollTim

    Hi Tim,.

    Please contact Microsoft Community.

    I understand that you want to prevent the user details stored connection and deletes automatically the most recently used (MRU) list. To help you better ask you to answer the following questions:

    Your computer is connected to the domain?

    Please see the configuration group policies section below.

    http://TechNet.Microsoft.com/en-us/library/bb742376.aspx

    If the problem persists, thanks for posting the same question in the Microsoft TechNet forum for assistance.

    https://social.technet.Microsoft.com/forums/en-us/home

    Hope this information helps. Response with status so that we can help you.

  • With the help of the network location and mapped a drive to the server FTP. during the transfer of very large amounts of the login information is always lost.

    With the help of the network location and mapped a drive to the server FTP off site; during the transfer of very large amounts of the login information is always lost.  Computer power settings are configured to not to do no matter what, I'm assuming that the ftp server can publish a scenerio timeout but is there a way for my computer and windows to restart the file transfer?

    Hello

    Thanks for posting your question in the Microsoft Community forums.

    I see from the description of the problem, you have a problem with networking on the FTP server.

    The question you posted would be better suited in the Technet Forums. I would post the query in the link below.

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/threads

    Hope this information helps you. If you need additional help or information on Windows, I'll be happy to help you. We, at tender Microsoft to excellence.
  • I need to edit the existing customer's site, I only have their login information and new photos.

    I need to edit the existing customer's site, I only have their login information and new photos. I can't change it with the editor in the browser as it was exported by using an older version of muse and I have not all the other files of the Web site. Help, please.

    In this case, you will need to ask the client to share the muse file and have the same updated file, and then publish on the customer site. When you are added as an administrator, you will see the option site > site list.

  • Several variables from the session to the login page

    Hey there, I have to point out that I use ASP for several years and am trying to start a transition to PHP. I'm kinda stuck and I don't know that there is a simple solution for this. After a login page, I go to my home page. When you are at the homepage depending on the status you are given i.e. level 1, 2 etc.

    Dreamweaver gives you the code to start a page and I seem to be able to capture the session variable 'MM_Username' on the start page, but in my setup, that's your name. Of course there could be a lot of 'Fred' out there so you need the info from the first name field. How to capture the session password or create a new session for password, so when I'm filtering the session on the page following I can use several variables as what follows must match the user name, password, address, etc?

    In asp is was easy. I started just a session variable capture since the names of the fields username and password. Like this:

    < % session ("NomUtilisateur1") = request ("username") % >

    < % session ("password1") = request ("pass") % >

    My session would be NomUtilisateur1, password1, and I would like to sort out.

    In PHP how would I do a similar thing? Help please!

    Here's the code generated from Dreamweaver.

    <? 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;
    }
    }
    ? >
    <? 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['username'])) {}
    $loginUsername = $_POST ['username'];
    $password = $_POST ["password"];
    $MM_fldUserAuthorization = "";
    $MM_redirectLoginSuccess = "/ support/startpageSQL.php";
    $MM_redirectLoginFailed = ' / test2.php ';
    $MM_redirecttoReferrer = false;
    @mysql_select_db ($database_toyosupport, $toyosupport);

    $LoginRS__query = sprintf ("SELECT name, password AND password entry WHERE name = %s is %s",
    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $toyosupport) 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);
    }
    }
    ? >

    To make this work it turned out to be very simple. at the login page, I simply used:

    <>

    This is to set session values.

    $_SESSION ['username'] = $_POST ['username'];

    $_SESSION ['pass_word'] = $_POST ["password"];

    ?>

    After all the code from Dreamweaver to start a totally different pair of sessions.

    On the home page, I made the Recordset like this:



    <>
    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;
    }
    }

    $pass_word_rsUSERNAME = "-1";
    If (isset($_SESSION['pass_word'])) {}
    $pass_word_rsUSERNAME = $_SESSION ["pass_word"];
    }
    $user_name_rsUSERNAME = "-1";
    If (isset($_SESSION['user_name'])) {}
    $user_name_rsUSERNAME = $_SESSION ['user_name'];
    }
    @mysql_select_db ($database_toyosupport, $toyosupport);
    $query_rsUSERNAME = sprintf ("" SELECT * WHERE the password = name = %s AND %s entry ", GetSQLValueString ($pass_word_rsUSERNAME,"text"), GetSQLValueString ($user_name_rsUSERNAME,"text")");
    $rsUSERNAME = mysql_query ($query_rsUSERNAME, $toyosupport) or die (mysql_error ());
    $row_rsUSERNAME = mysql_fetch_assoc ($rsUSERNAME);
    $totalRows_rsUSERNAME = mysql_num_rows ($rsUSERNAME);
    session_start();? >

    Although Dreamweaver code struggled a bit he works and seems to be stable. Note that I added a session_start to the top of the page, even if the source code for Dreamweaver does not. This helped.

    I hope this helps.

  • Invalidate the session on a login page?

    Hello. I am trying to cancel a session if someone knocks at the login page (he always see them as being registered unless they close their browser) I put the jsp attribute to session = false. I also on a unlimited taskflow on my adfc.config.xml. How can I do this?

    Thank you!

    Hello

    This behavior occurs generally if basic authentication is used, in which case go keeps you loggin. If you are using a form based login form, try to redirect the user after the invalidation of the session, so that authentication is verified again

    Frank

  • How can we find the latest user login information in planning v9.2

    Hi all

    Can someone help me out, how do we know the last connection information from a user in Hyperion planning. We use v9.2.
    What is the name of the Table that stores information in the repository? Thanks in advance for your help

    Last login information is available only from the 11.1.1 system (not available in version 9.2/9.3)

  • The task of the Session information, as follows,

    Hello

    After the execution of any scenario - I want to insert / update the session ID in the target table for each record.

    Let's say 100 records are updated and 50 are now inserted as a result of the execution of any of IKM.
    now I want to update the ID of session on all these inserted and updated the file. What is the best way to do it?

    Secondly - if it was updated / inserted in a time / task of IKM - should I update task ID / or session id?


    See you soon

    Hello
    You have 2 ways:

    1)
    In your target table, create a field that contains the ID of this session.
    You have the choice:
    * only 1 field: it will be updated if necessary
    * 2 fields: 1 for the insert row, 1 for the update

    In your interface, mapp the fields with the following mapping:
    <%=snpRef.getSession( "SESS_NO" )%>
    (if you have 2 fields, beware of the indicators of insert/update)

    2)
    You can also change your IKM to do it automatically:
    * create an option in your IKM who will receive the name of the column
    * in the steps "insert new lines" and "updating a line", adds< %="snpRef.getSession" (« sess_no »)="" %="" >="" à="" la="" fin="" de="">

  • Display users, every day a customer 19:00 error: secure connection timed out (the session has expired, please login again.)

    Hello

    Every day at 19:00 that our employees are disconnected from their virtual desktops, I know that it is because the connection has expired.

    My question is about this delay, the default session out of time (in minutes) is 600. Users log on the connection of the view at 09:00 and they will lunch at 13:30 and return to 15:00.

    600 minutes is the value of minutes between 09:00 and 19:00.

    But time out of session in the VDM global configuration settings is the session limit of when a user opens a session on the server to connect to when the session ends due to INACTIVITY?

    Users are still working at 19:00, so there is no inactivity.

    Why they were disconnected?

    Jorpavon wrote:

    But time out of session in the VDM global configuration settings is the session limit of when a user opens a session on the server to connect to when the session ends due to INACTIVITY?

    No, it isn't. It is the length of the maximum session regardless of the activity, and is necessary to avoid thin clients that never disconnect flooding the broker with the sessions. There is no setting "off". You will simply have to increase it the maximum time that a user will be connected.

  • How to detect the resource (find) information?

    Hi all

    I'm trying to detect programmatically information resource name for devices HSDIO PXI and PXI-4130.   How can I do?    System DAQmx property does not include these devices, and I can't find a way to convert a resource VISA name in name of resource HSDIO or NI DC PS formats.  I enclose a code snippet that detects resource VISA for a device 6552 name, but I can't seem to figure out how to get the name of MAX the device resource.   Both the niHsdio and the properties of 'name of the resource' OR DcPS requires that you spend a session valid in them need valid resource name andI to make...

    And no, asking the operator to launch of MAX and find the name of the resource is not an option

    Thank you

    Hello

    Modular instruments and devices devices use their own set of screws to find devices in the system. The lybrary called NOR-ModInst and i's includedin the palette of the utility with the MID drivers.

    Here is a small example that demonstrates the use of their base.

    Let me know there are questions of the amy

    Kind regards

    JC

  • FireSight/User Agent Error: [2201] - login information from IP to IP report failed after TIME [a call to SSPI failed, see inner exception.]

    We have a system of FireSight with a version 5.4.0.5 Virtual Data Center and several ASA devices. We have set some user Agents for the session and closing of session servers MS AD user logon information and met 2 problems:

    (1) all servers user agent (Windows server 2008R2/64/SP1 and Windows server 2012R2) report error 2201. They can pull the AD server logon information correctly and export the correct user card, can communicate with the virtual data center, but just cannot send data to it. Meanwhile, a user on the Windows 2008 STD/SP2 Server Agent works perfectly. Have you tried 3 other servers, 2 versions of the User Agent, en - us locale and 2 versions of .net. Nothing has changed.

    (2) we prefer to have only 1 User Agent but 1 User Agent supports 5 servers DC Max. We set up a central AD server to register the security logs of all servers of ads with success to his 'Reported events' event log file and set the User Agent to extract data from this central AD server. User Agent shoots the opening session, but only events folder "Windows Logs - security", never "reported events." The User Agent is designed from "Windows Logs - Security" read-only?

    [2201] - report of the login information of the USER-AGENT-SERVER to 10.xx.xx.xx failed after the 14/07/2016 09:08:55. [A call to the SSPI failed, see inner exception.].

    This problem is known.

    Please uninstall the update from Microsoft

    KB3161606 and KB3161608

    After inspection, the question seems to be a specific change to the default Cipher Suites:

    https://support.Microsoft.com/en-us/KB/3161639

    There is created for this bug.

    https://BST.cloudapps.Cisco.com/bugsearch/bug/CSCva32331

    Rate if helps.

    Yogesh

  • 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

  • [ADF, JDev12.1.3] How/where to set the session timeout

    Hallo,

    After a few minutes of inactivity, the browser displays a message to inform that the session is not more active and only OK been must be clicked to refresh the page.

    If a dialog box "btf" has been opened on the left, it becomes...

    I would like to know what is the right place/method to set a deadline.

    If possible I would like that when the timeout checks, the application performs a redirect to a page I like (for example the login page).

    The application of ADF Essentials and is deployed to the GlassFish application server.

    My concern is... what should happen to the open operation / pending when the time-out occurs?

    For example, the user is modifying an af:table but it has not clicked validate or cancel...

    Thank you

    Federico

    I would like to know what is the right place/method to set a deadline.

    For java web applications, you can set the session timeout in the web.xml file. (this is the global settings associated with all sessions)

    If you wish, you can set the timeout of session by program (and this is related only to the current http session).

    If possible I would like that when the timeout checks, the application performs a redirect to a page I like (for example the login page).

    http://fortunefusionminds.blogspot.com/2014/04/how-to-redirect-to-custom-page-whenever.html

    ADF: Session expires management redirect to login page | Bungbutan

    ADF developers World: Detection and handling of user session expiry

    My concern is... what should happen to the open operation / pending when the time-out occurs?

    Well, session is destroyed, it will destroy all instances of AM and do rollback.

    See also: Andrejus Baranovskis Blog: ADF BC Application Module Instance Timeout and reliance Timeout of Session Web

    Dario

Maybe you are looking for