Login page user is null in a globalized application

Request Express 3.1.1.00.09

I have an application that runs in English and French. The translated version works like a charm. Once connect can I switch between English and French using the preference FSP_LANGUAGE_PREFERENCE and HTMLDB_UTIL process. SET_PREFERENCE ("FSP_LANGUAGE_PREFERENCE",: P0_LANG,: APP_USER); where P0_LANG is the language code.

I have two public pages (home page and login page). On the home page is displayed before the user can connect the person and the maplan = en - us (lower-left). Can I change the language on this page and the next line of debug "globalization: FSP_LANGUAGE_PREFERENCE for anyone with browser en maplang language = en" confirms this. However, when I go to connect to page (page 101) the user takes the null value and as such, I can't change the language. Reads the line of debug "globalization: FSP_LANGUAGE_PREFERENCE with browser language en maplang = en.

I have scratched my head over this problem and I can't understand why the user evaluates to null and why, default language is French as the main language of the application and the browser is English. You can visit the site at http://htmldb-hosting.de/pls/htmldb/f?p=microinsurance:1

Any help to solve this problem will be appreciated. Thanking you in advance.

Hazi

Hi samira and Scott,.

From what I understand, you use "preference to Application (use FSP_LANGUAGE_PREFERENCE)" to determine the language of the application.

In our applications, we use "preference from point (point of use container preferably)" and it works like a charm. The thing is that if you want to remember the language for each user, you need to store in a table and create a process once the connection who will pass the language of his choice.

To use 'Élément' preferably all you have to do is create an element of Application called FSP_LANGUAGE_PREFERENCE and set it to the desired language.

Let me know if this could be a workaround. You can contact me directly if you want and I can show you how we do it in our applications.

Scott, I'll try to search for my posts (if I can find how) maybe that we had a discussion about the preferences because I wanted to use something other than the user to determine the preference. Our application is multi-company and the same user can exist for several companies. If I find the thread, I will post it here.

Francis Mignault
blog: http://insum-apex.blogspot.com/

Tags: Database

Similar Questions

  • I can not access my Verizon email on my iPad. I can access the login page, but there is no box to enter the user name. I talked to Verizon support, and they say no problem at their end. Any ideas?

    I can not access my Verizon email on my iPad. I can access the login page, but there is no box to enter the user name. I talked to Verizon support, and they say no problem at their end. Any ideas?

    Macbeth,

    From your description, it appears you are trying to get your mail using Safari to access your e-mail account. Why you do not use the Mail App?

    http://www.Verizon.com/cs/groups/public/documents/adacct/Setup-email-mobile-Devi Ed.pdf

  • I created several users, all have administrator rights, however... that one user appears on the login page. Help...

    New iMac, I created 3 users, all who have administrator access.  However, only one user and the guest user appears in the login page... .in order for me to move on to the other two admins I have to identify you so that a user, and then sign out... at this time I am able to see the other two users to the login page.  How can I fix this?

    Are you using FileVault? If so, you need to allow other users unlock the screen. Or turn off FileVault.

  • 'Another user' login page to fix my computer F8

    I did restore the factory Dell Image several times in the past with no problems. Yesterday I restared my pc and hit F8, I'll repair my computer and I wait to display popups so I can do the factory Dell Image Restore, but need me to this ' another user ' login page and I type my username admin and it says the username cannot be connected.» I tried searching this problem on gooogle, but so far there is no solution. I have not all accounts running on this system. I'm running vista 32-bit. So my question is "How can I get past the other user login page" to get to the system recovery so I can restore my pc to factory conditions?

    Hello

    I suggest you to Dell Factory Image Restore by using Windows Vista installation DVD.

    Try the steps from the following link: http://en.community.dell.com/support-forums/laptop/w/laptop/how-to-perform-dell-factory-image-restore-using-windows-vista-setup-dvd.aspx

    Note: To restore the original factory image erases ALL existing data. This includes files, folders, programs, drivers, e-mails, photos. Before performing a PC Restore, back up all personal files. If you do not back up your personal files, data will be lost.

  • Windows 7, last user in the login screen and 'User', losses other accounts in the login page

    I am running Windows 7, it was a new installation. Since I set up my machine, I created 3 accounts in my system and in the login page I always had the possibility to choose one of these accounts.

    1 user 2 3

    Since last weekend, when I try to change username, I have just the last user who was logged and a "Different user" option (no image that it incidentally) where I need to type the name of the user who wants to go to and the password.

    Last known--> if another user select this--> I need to type the user name and password for the user newactive

    How to restore the possibility of having all my 3 available users in the form of connection with their photos?

    Thank you!!!

    I would like to use system restore to set up Windows in three days.

  • Apex, language of login page set after the connection based on the user pref browser lang and application-based

    Hello

    Request Express 4.2.3.00.08

    I created an application of multi languaguage in which the language is defined by setting: FSP_LANGUAGE_PREFERENCE

    But the login page, I would like to than the login page to be displayed in the browsers language.

    The url of the application connection looks like as shown below but the & BROWSER_LANGUAGE. product always (English).

    f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE: & BROWSER_LANGUAGE.


    LOGIN_DESKTOP is an intermediate page that has one before branch header for the page of real connection if the FSP_LANGUAGE_PREFERENCE is set prior to the loading of the page.

    If I set the language set in this URL, it works as expected:

    f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE:nl - page Login Show in NL

    f? p = & APP_ID.:LOGIN_DESKTOP: & SESSION. : FSP_LANGUAGE_PREFERENCE:-see the login page in EN

    When I put the application to choose the language based on the browser language that it works, but then I am not able to have users to save their preferences for the next time they are connected.

    Any ideas on why & BROWSER_LANGUAGE. translates by "in" even though the language in the browser is different?

    See you soon

    Bottom

    OK, he stares at me

    For all those interested, this is how.

    Create a page additional empy (with alias page LOGIN_FORWARD_PAGE) and set the url to connect to the application of this new page and set the value of the application on BRANCH_TO_PAGE_ACCEPT:

    f? p = & APP_ID.: LOGIN_FORWARD_PAGE: & SESSION. : BRANCH_TO_PAGE_ACCEPT:

    On the page to create a pl/sql process submit before calculations similar to one below which affect the en language, if the browser is not NL (in Dutch):

    If upper (substr (owa_util.get_cgi_env ('HTTP_ACCEPT_LANGUAGE'), 1, 2)) = "NL" then

    : FSP_LANGUAGE_PREFERENCE: = "nl";

    on the other

    : FSP_LANGUAGE_PREFERENCE: = 'en ';

    end if;

    And create a branch to submit before the treatment which redirects to the current login page (the value of FSP_LANGUAGE_PREFERENCE is then already set and the application is configured to use this setting).

    After that loging in you can extract the FSP_LANGUAGE_PREFERENCE based on the user.

    BTW, I had to switch to 4.2.5 there in 4.2.3 is a bug preventing to set session state when you use BRANCH_TO_PAGE_ACCEPT!

  • How to prevent the login page in the same browser when the user is already authenticated

    Hello

    I use Jdev 11.1.1.6 with ADF implemented in my application security.

    I have Login.jspx that redirects the user to Home.jspx on a successful authentication. The user can either enter the URL of the Home Page or Login.

    Please consider the following scenarios:

    (a) the user is not authenticated in the current browser session

    (a.1) if the user enters the URL of the home page and the login page is displayed and redirected to the homepage on authentication

    (a.2) if the user enters the login page URL, then the login page is displayed and redirected to the homepage on authentication

    (b) the user is already authenticated in the current browser session, a new tab opens and

    (b.1) if the user enters the URL of the homepage then it shows directly the (already authenticated) Homepage

    (b.2) if the user enters Login URL then connect a page appears - This is the issue, it should either user to the homepage or invalidate the existing session and let users to proceed again.

    How do I get there? Any help is appreciated.

    Thank you

    JAI

    Hello

    the authentication check must be in a phase listener or servlet filter. If you use a phase listener and the homepage and login have a link associated with the ADF (PageDef file) then in the phase AFTER RESTORE_VIEW, you can use AdfContext.getCurrent () .getSecurityContext () .isAuthenticated () to tell if a user is authenticated or not.

    Frank

  • Beginner question: best way to add users for Secure Login Page ADF

    Hi all

    I developed a custom Login Page and created two users "abc" and "def". I am successfully able to connect, make redirects and disconnection. Now my question is, if I have to add users to applications, should I add in JAZN-"Data.xml". in Jdeveloper. Assuming that I have to add users in JAZN-"Data.xml", here are my questions

    1 it will be through Jdeveloper?. If Yes, what I have to redeploy the application every time I add users.

    2 how the Admins can add users once the development done?

    Please let me know if I understand the concept.

    Thank you

    You can use:
    -DefaultAuthenticator to directly create users on Weblogic,
    -Authenticator SQL or authenticator read-only SQL to retrieve users from DB
    -LDAP or a provider of Windows NT authentication users to retrieve different LDAP or Active Directory MS servers
    or you can combine several authenticators :)

    What you choose depends on your use case.

    Dario

  • A position requiring user login page between 2 or 3 random characters a memorable name

    Hello

    I've successfully created a login page (username + password) that links to a page of account. But I would like to insert an intermediate page (after login) where the user must type 2 or 3 random characters a memorable name.

    No idea how to implement this please in Dreamweaver / PHP/MySQL?

    for example:

    Type of user username and password... login.php... he is sent to login2.php with two or three drop-down box where he needs to enter the respective name memorable character: ("elephant")

    Enter the 1st memorable character of the name of youre
    Enter the 5 characters of your memorable nameh

    Any help or idea how to proceed is appreciated... Thank you.

    Hi, I'm doing a site that simulate a banking application for the last year of it project. So, just a user name and password is not going to be enough, I would like to add a 2nd level of password as you call it. In the United Kingdom, my Bank it call a "memorable" name can be any word about 8 + characters or it will be same not a "pin" 4-digit which is normally found in the table of user information.

    My problem is that after the successful login, the screen asking the user to enter the random characters of his memorable name or PIN. I'm not too good with php coding... only the beginner level, so I rely a lot of dreamweaver to do most of the work for me. but I understand some php and mySQL.

  • Only Oracle EBS R12.0.6 login page shortcut saves the credentials of the user?

    Hello
    Once I have the shortcut on Office Oracle EBS R12.0.6 login page, can it be registered with identification information from the user such as user name and password? Is there any document metalink for reference?

    Concerning

    Needs a reference of document metalink for convincing management.

    I don't think you can find a document Metalink (MOS) which States that clearly - please log an SR to confirm this with the support of the Oracle.

    Thank you
    Hussein

  • Allow the user to change the password on the login page.

    Hello

    How to allow the user to change the password on the login page?

    Thank you

    Gargi

    Elodie:

    The appeal of the procedure should be as below

    apex_util.CHANGE_CURRENT_USER_PW('hello');
    

    CITY

  • Global login page, many areas of work

    Is it still create a global login page, in a workspace that contains only a single application of a page (the page of connection).

    After login, the page to redirect to the correct application: page. Enforcement: page may or may not be in the same workspace.

    The client wishes to not have only one page of connection for all of its applications in all of its areas of work.

    I tried many things and I often get the error "ERR-10768 Application ID and current security group ID do not match."

    I do the connection with
    APEX_CUSTOM_AUTH. CONNECTION)
    : P101_CODE_UTILS,.
    : P101_MOT_PASSE,.
    v ('APP_SESSION'),
    vva_page_after_login)

    When I calculate the front vva_page_after_login.

    Is it possible to somehow or it is impossible anyway!

    Thank you, Bruno-Pierre

    Bruno-Pierre,

    Sessions cannot be shared by applications in multiple workspaces. The best way to solve this problem for the execution environment of the client would be to install all the applications in the same workspace. They could still hold the development of applications that are separated into multiple workspaces, but applications would be deployed in the production database in a common workspace.

    Scott

  • Help me to change user name and password on the login page text

    Hi all

    My requirement is to change the username and password text on the UID and PWD connection page

    I followed the steps in the Guide of Oracle Access Manager Customization Chapter 4

    But he is not having changed in the login page

    Please help me

    Thank you.

    Published by: user10648177 on December 1st, 2008 01:02

    Hello

    What you really need to do is edit the oblix/lang/en-us/msgctlg.xsl file, change the values of the variables MUserName and MPassword as you want and restart the server identity. Of course, if your language is not en - us, you need to interpret the above path accordingly.

    Where did you find the instructions you need to change the oblixbasemsg.xml?

    -Vinod

  • APEX 4.1 Login page kills the existing session cookie

    So far the session cookie enabled us to figure out if the user has already had a session and redirect them to the page they wanted using this session (thanks to a method on the page of connection). Just try APEX 4.1 and it seems that this quick hack will not work, because:
    a. the session cookie has been replaced by the time that the login page is loading
    b. the login page gives no clue as to the destination of the user actually wanted (used to be able to verify OWA_UTIL. GET_CGI_ENV('QUERY_STRING') to see what looked like the URL, but now the URL is simply the login page)

    The problem that I am trying to solve is a job of logging system where users get a lot of e-mail notifications. With the standard behavior of the APEX, they will have to identify each time they click on a link in an e-mail. Because it is a rather unusual behavior for another web application, I used, anyone has any ideas about how to get the APEX to stop killing sessions by substituting the cookie whenever it sees a URL he dislikes? Have tried to use the session 0, but still it beats my cookie.

    Hey Capt egg,

    Nice to see that you studied and found a solution. However, I think that things can be a bit improved. It seems that you already used a custom authentication scheme, it is good, because it allowed to use application session hooks join. However, I think that this does not exactly what you expect.

    During the installation of the session, at the beginning of the Summit "request for treatment, he runs about this code:"

    1 write the session id of the query (parameter to URL or POST) in a global variable
    2 load of metadata application authentication (cookie name, Sentry function, function of invalid session, etc.)

    3. If a global session exists, run "Builtin Cookie Sentry":
    3.1 query the table of the session by the value of the cookie.
    3.2 If the session of the query id matches the overall session id, session information matching.
    3.3. in the case, the session information is incomplete, reset the session variable.

    4. If this is not the login page, run application-specific Sentinel:
    4.1 run the result of the Sentinel session function if a function is defined
    4.2 If the Sentinel returned true function, run the validation function if it is set

    5. "create / reuse Session."
    5.1. If the session variable points to a valid session record, the user to read and other variables of the session save
    5.2 in the case, create a new session not authenticated

    6. write a new cookie in HTTP session if a new session was created

    7. If the sentinels (4) returned false, run 'Invalid Session Manipulation':
    7.1 save deep link in the current page
    7.2 run invalid session function if a function is defined
    7.3 redirect to url "Invalid Session" of authentication

    This is only an overview and implementation details may change. However, I think that it can show major problems with the help of the function of invalid session for Assembly of the session:

    -In (4.1), the engine creates a record of the session and the session id
    -In (6), the engine creates a session cookie
    -Invalid session feature modifies the session global variable id back to the old session, but there is still a newly created session
    -The function of session invalid re-inits the htp buffer and thus cancels (6) high. The connection of the session would create a new session for each request, otherwise.

    My suggestion is that you use a sentinel of session instead. Here is an example:

    function session_joining_sentry return boolean is
      l_cookie_session_id number;
      l_user              APEX_WORKSPACE_SESSIONS.USER_NAME%TYPE;
      l_result            boolean;
      procedure dbg(p_str in varchar2)
      is
      begin
        apex_application.debug('session_joining_sentry: '||p_str);
      end dbg;
    begin
      if APEX_CUSTOM_AUTH.GET_SESSION_ID is not null then
        dbg('apex could already determine session by URL session id and cookie value');
        l_result := true;
      else
        dbg('apex could not determine session by URL session id and cookie value');
        l_cookie_session_id := APEX_CUSTOM_AUTH.GET_SESSION_ID_FROM_COOKIE;
    
        if l_cookie_session_id is not null then
          dbg('apex found session via cookie. we try to re-use this as our current session id');
          begin
            select user_name
              into l_user
              from APEX_WORKSPACE_SESSIONS
             where apex_session_id = l_cookie_session_id;
            l_result := true;
          exception when NO_DATA_FOUND then
            dbg('session could not be found in session table - sentry fails');
            l_result := false;
          end;
    
          if l_result then
            dbg('re-using session for user '||l_user);
            APEX_CUSTOM_AUTH.DEFINE_USER_SESSION (
              p_user       => l_user,
              p_session_id => l_cookie_session_id);
          end if;
        else
          dbg('apex could not find the session cookie. sentry fails');
          l_result := false;
        end if;
      end if;
    
      return l_result;
    end session_joining_sentry;
    

    Also, it should be noted that the session join is precarious. If you plan to implement this, please make sure that you understand the dangers of the cross-site request forgery:

    http://en.Wikipedia.org/wiki/cross-site_request_forgery

    Kind regards
    Christian

    Published by: Christian Neumueller on March 2, 2012 04:24

  • Try to customize login page for ASA 5505 SSL - VPN

    Nice day

    I'm looking for help to customize the login page for the ssl - vpn as mentioned. When the vpn is configured, the default template allows my customers to connect with this: IMAGE 1

    While trying to change the login page, I have to create a new customization without CLIENT SSL VPN ACCESS-> PORTAL-> CUSTOMIZATION file in the ASDM. When I do this and I'm trying to change the login page, it comes up with 2 forms of authentication and a fast internal password like this: IMAGE 2

    How can I change the login page, I created so that users only see the fields username and password for regular as the default template?

    Thank you all for your time and assistance

    Joel

    Hi Joel,

    What you see is just the preview, right?

    Preview displays the purpose of customization, since the password internal and the second authentication controls are the features that are activated in different parts of the configuration.

    WebVPN

    allow outside

    internal-password enable

    !

    attributes global-tunnel-group DefaultWEBVPNGroup

    secondary-authentication-server-group second_authentication_server


    INFO: This command applies only to the SSL VPN - Clientless and AnyConnect.

    So I recommend to assign this object of customization to a group policy and test access to the content of the specific connection profile.

    Thank you.

    Portu.

    Please note all useful posts

Maybe you are looking for

  • Video drivers Tecra M3, causing accidents

    My Toshiba Tecra M3 crashes (freezing screen or blue of death) with 71.14, 71.36 and 76,44 drivers. It uses a NVIDIA GeForce Go 6600 TE 128 M. When I uninstall all video drivers (or boot in safe mode), the laptop works very well, although of course t

  • Satellite A200-1hv - 4 GB of RAM but system see only 3.1 GB

    Hello I have the problem. recently, I bought 4 GB of RAM for my Satellite A200-1hv but system see only 3.1 GB.And yes I have tested also on 64-bit vista 64 and Linux 64 systems. In both cases, it shows only 3.1 GB. Also when I boot my laptop on the B

  • HP 15-p215nl: enter the password administrator or power on password

    I start the bios is displayed which asks me to put a password I never set. Can help you? Thank you.

  • Not available in the blackBerry 10 settings picture password

    Dear users, I can not pass on a picture password - it is not in the settings (Security & Privacy > password device). Now on Z10STL100-2/10.2.1.3175 I tried earlier on 10.2.1.2141 certainly. I wanted to give it an another try on 3175, but I can't turn

  • Reg: The LIST is dynamic

    Hi allAny alternative for this query below. The list of parameters IN is dynamic and I want to merge all of this in a single statement, but the result must be controlled on the basis and only two records for each deptno deptno. SELECT * FROM emp WHER