After the connection to connect to a page depending on the user - cache problem?

Hello

In my application I want to have the branching page after login: according to the user and registration data must load another page.

Is what I did in the login page 101:
-J' created a hidden element P101_GOTO_PAGE.
-J' created an after submit processes Login_page_switch (Seq.Nr. 15) with source code:
DECLARE
 v_bestand_rec apex_bestand_v%ROWTYPE; -- Datensatz Bestand

BEGIN
 SELECT * INTO v_bestand_rec
 FROM apex_bestand_v
 WHERE id = (SELECT max(id)
     FROM apex_bestand_v
     WHERE kstyp = 'Einwohnergemeinde');
 
 IF (lower(:P101_USERNAME) = 'fstberts') THEN
      :P101_GOTO_PAGE := '3';
 ELSE
      IF v_bestand_rec.retyp = 'Voranschlag' THEN
           :P101_GOTO_PAGE := '1';
      ELSIF v_bestand_rec.retyp = 'Rechnung' THEN
           :P101_GOTO_PAGE := '11';
      END IF;
 END IF;

END;
-J' changed the source builtin login process (Seq.Nr 20) code, to:
wwv_flow_custom_auth_std.login(
    P_UNAME       => :P101_USERNAME,
    P_PASSWORD    => :P101_PASSWORD,
    P_SESSION_ID  => v('APP_SESSION'),
    --P_FLOW_PAGE   => :APP_ID||':1'
    P_FLOW_PAGE   => :APP_ID||':'|| :P101_GOTO_PAGE
    );
In general, it seems to work. But the behavior is erratic, branching seems to be influenced of the last logged-on user. So I assumed a cache problem.

I have created a process clear page (s) Cache (Seq.Nr. 20) for the 101 page, which did not help. This process before others (e.g. Seq.Nr. 20) I can not connect more of the school (invalid credentials).

Someone has any idea how to solve this problem?

Thanks in advance,
Roger

To disable the links deep (to ignore the page requested by the user), that in the process of connection before calling the API of connection:

apex_util.set_session_state ('FSP_AFTER_LOGIN_URL', null);

Scott

Tags: Database

Similar Questions

  • Unable to connect even after the user password reset

    Hai all,

    10.2.0.3 on Linux

    Reset a user password and the user is unable to connect as you can see below


    [oracle@testdb 10.2.0] $ sqlplus sys/Manager as sysdba

    SQL * more: release 10.2.0.3.0 - Production on Tue Nov 27 16:20:21 2012

    Copyright (c) 1982, 2006, Oracle. All rights reserved.


    Connected to:
    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
    With partitioning, OLAP and Data Mining options

    SQL > alter user sysman identified by oracle.

    Modified user.

    SQL > disconnected from Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
    With partitioning, OLAP and Data Mining options

    [oracle@testdb 10.2.0] $ sqlplus sysman/oracle

    SQL * more: release 10.2.0.3.0 - Production on Tue Nov 27 16:20:32 2012

    Copyright (c) 1982, 2006, Oracle. All rights reserved.

    ERROR:
    ORA-01017: name of user and password invalid. connection refused



    Unable to connect even after the user password reset

    Check
    How to change the password of the database user Sysman (DB control repository schema) [ID 259379.1]
    EMCA 11 g fails with the error "ORA-01017: name of user and password invalid; connection refused"and" username/password invalid name; For DBSNMP or user SYSMAN"[ID 741530.1]

  • Do independent myRIO after the user has defined guidelines

    Greetings,

    I have a labVIEW VI that I write instructions in a text file on the myRIO and then the myRIO executes these instructions.

    I have seen tutorials that start the myRIO as a standalone application. But I need only become independent once the user writes information in the text file.

    Currently the user written instructions, and then click send to myRIO running then all tasks, even if the USB is still attached. After the user sets the instuctions, when they click on the instructions for sending, a message should then say rather unplug the USB of myRIO (this could be set to 10 seconds or something), then the myRIO performs the tasks as a standalone application.

    My project is the starter kit OR using the myRIO. I write instructions in the text file then the robot performs the tasks. The user never interfere with tasks, that the robot made, so the instructions are only sent once.

    Please note that I have a face before poster, I don't know how these screens still work?

    Thanks in advance for your help.

    Hello

    What you have said I think exactly as you want to do is not quite possible but you should be able to achieve the same thing by doing something like the following:

    A start-up executable running on the myRIO would allow him to run separate to the computer. You could then open communication to the myRIO of a separate VI on the PC to send instructions, and then close the communication for you to unplug the myRIO

    These links may help with some other reading on the executables to start on real-time targets:

    http://zone.NI.com/reference/en-XX/help/370622N-01/lvrthowto/rt_building_rt_app/

    http://digital.NI.com/public.nsf/allkb/E2F8C8D4270CCC62862574440054E894?OpenDocument

    Best regards

  • 404 after the user is inactive on logged in page

    Hello

    I think it should be a common problem.

    I have, in my application poral webcenter, login and home page.

    login page is available for the anonymous user.

    Homepage is available for the user.

    After the connection, when the user is inactive on the homepage for a while, it gives a warning message - something like "your session has expired, click ok to continue.

    After clicked ok, he's trying to refresh the page- but the home page is the page "private" and user session has expired, it gives a 404 page.

    in this case, I wanted to redirect to the login page.

    any suggestions?

    Thank you.

    Check this please

    http://andrejusb.blogspot.com/2011/07/Oracle-WebCenter-11g-ps3ps4-workaround.html

    Thank you

    Manish

  • Default dashboard does not work after the user login

    Hi all

    We have one issue in 11.1.1.7.1 where CHEMINPORTAIL does not work for users. Thus, the user lands on the home page / recent rather than the default dashboard after login.

    I followed Doc-ID 1576576.1 and Bug 17071629 - CHEMINPORTAIL SESSION VARIABLE IS INEFFICIENT is reported. I applied patch 17071629 on top of 7.1. I tried and checked that

    • ·     The URL we use to login is "http://machinename:9704/analytics/saw.dll?bieehome & startPage = 1".
    • ·         There is no set start page in my account to user other than default.
    • ·         In the responses, the session CHEMINPORTAIL variable retrieves the correct path of dashboard.
    • ·         I removed the space in the name of the dashboard and tried with the following path ' / shared/table of edge/_portal/PortalPathTest. In addition, assigned the same default value in the session variable. I also tried "/ Shared Folders/table of edge/edge/PortalPathTest ' and '% 2fshared % 2fDashboard % 2f_portal % 2fPortalPathTest' but nothing works.
    • ·         lsinventory watch the patch has been applied successfully.

    One thing to notice-

    1. connection url is: "http://machinename:9704/analytics/saw.dll?bieehome& page = 1"

    2 after the connection URL in the browser is changed into "http://http://scoreboard-sit.wellsfargo.com:9704/analytics/saw.dll?bieehomemachinename:9704/analytics/saw.dll?bieehome" and displays the homepage instead of default dashboard.

    3. now at this point, if I add "& startPage = 1" to the URL from step 2 above in the browser, it navigates automatically to the correct dashboard by default.

    In addition, this fix has fixed dashboard by default in acting. This means that if I act as a user, I have ask on correct dashboard by default. But if the same user actually connects, it lands on the home page.

    I suspect that if the URL redirect after login is the real problem. Please suggest if someone has an idea.

    Thank you

    Séverine

    I think it was the question-

    There was an error in java script associated with an undefined object, "mode" in logon.js.  This is related to the access or Section 508 (checked by developer tools for IE).  We have deleted this code from the logon page that was causing the error. We had personalized the page quite a bit ago. When I ignore the error and not through, I go to the correct page of portal access road. So, let's replace the file logon.js with backup and I hope that it will solve the problem.

    See you soon!

    Séverine

  • How to execute a method after the user login

    Hello
    I have an application with a public and non-public part. When a connection from the user to the application, I want to execute a method in a session bean to load default data in certain properties in the session bean. How can I execute a method after a connection/disconnection from the user of the application using the ADF security? Is the only Posibility to write a custom plug-in? If so,... How can I easily extend an existing connection module?

    Kind regards
    André

    Hello

    How is that you are relying on the login? You can connect to WLS FRO m backing bean (see this ) and if everything is ok, call your session bean method.
    You just need the reference of session bean in your backing bean (@EJB injection (yet?) does not work for the safeguarding of the beans, so either do the JNDI research or expose the method in the pageDef and then solve / execute it in the bean to support).

    Another possibility would be to place - the method call activity after your login to the adfc - config.xml, but this page depends on how you set up logging. So, the first solution should work.

    Pedja

  • Black screen after the user logon in Windows 7

    Hello
    I use Windows 7 ultimate x 64 on my desktop. Recently, I just turned on my PC and when I tried to connect to my account after the Welcome screen, a black screen came up with the cursor and nothing else has been demonstrated. He just hung there.
    There is another account in which I can start but it freezes and does not respond. I can boot into safe mode but no icons, programs do not start which is pinned to the taskbar and I must run firefox.exe via the Task Manager... System Restore does nothing. I do not have the disc to install windows 7. All other patches? Please say.

    Also, the black screen goes after 40 minutes or more and I'm able to use my pc.

    Help, please.
    Thank you.

    Hello

    It looks like certainly there is some sort of virus on the computer. If this is the case, your files will not be deleted but they could have been hidden. So, please run a full scan the system for viruses.


    Method 1: Microsoft Safety Scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again. The Microsoft Safety Scanner is not a replacement for the use of antivirus software that offers continuous protection. For a real-time protection that helps you keep your home or small office PC against viruses, spyware and other malicious software, download Microsoft Security Essentials.

     

    Method 2: Clean boot

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: Follow step 7 of section of boot KB929135 to the computer in normal mode.

     
     
    I hope this information helps you!

    Thanks for trying to help me but I used Unhide.exe available on the website of Brian and my files are back.

    Thanks Brian. : D
  • Information of the logged-on user does not appear after the user updates their information

    I created 2 pages. Page 1 has a recordset that only displays the users username and password, I made a filter on the recordset as username = var = MM_Username session. When he clicks on update, which is just a link to page 2, they go to page 2 which has a Recordset which filters their modules in the same way and allows them to update their username and password. I used a behavior to update this page as well. Thus, when the user updates their information it modifies the database information and works very well.

    The problem: when the user returns to the page 1 to see their update of username and the password that they have just updated, it is EMPTY. No info displays on the screen, even when I refresh the page. There if MM_Username var isn't refreshing while connected. Because when the user disconnects and connects, it displays new user name and password on page 1.

    It DOES not work when I take the filter out of the 1 Recordset page, but that doesn't make me all good b/c the user must of course only to see their information.

    I'm under DW CS3, php and mysql.

    Help, please! Thank you.

    I know a little php and takes care of everything.

    Great, because this will save my gibberish long habit ;-)

    I m attaching a screenshot of the login page updated the PHP code, which has only three new lines to take custody of.

    Line 1: Add the primary key to the 'users' table to the query

    Line 2: Add function mysql_fetch_row whose resource is the existing variable in $LoginRS

    Line 3: Add the Session Variable MM_user_id and assign the $row variable [0] (see line 2).

    Well, that s, and on other pages, you can define a query such as...

    "SELECT username, password FROM users WHERE id" is equal to the Session Variable MM_user_id

  • SBS2003 deleted files back after the user logs off and logs on again

    This symptom started the first time, the user connects to the server using RDP but continues even when the user is connected to AD locally. The profile is growing in size. Someone have a solution?

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public to Server Small Business SERVER 2003 on the TechNet site. Please post your question in the forum TechNet Small Business Server. You can follow the link below to ask your question: http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/threads

  • ADF Mobile: contact is created on the device that, after the user selects the button AUTHORIZE

    My app allows users to quickly and easily add contacts on their IOS phone.  I need help capturing the "do not ALLOW" button click.

    Background:

    When you add a contact to the users device phoneGap prompts the user "Allow PAP to access Contacts?".  After that this alert is displayed, the user must select "Allow" or "Disallow".  Of course if the user selects "Allow" my code works perfectly.

    However, if the user selects "Do not allow" I'm not able to capture this selection and process accordingly.

    Here's the line of code that treats the newContact for this user to the application.

    Contact newContact = device.createContact (contact);

    where the 'contact' has been resolved with the user data

    You would offer your expert opinion on how to do it please?

    Thank you very much!

    Tree Strepek

    The permissions for iOS in the config.xml file.

    https://github.com/Apache/Cordova-plugin-contacts/BLOB/master/src/iOS/CDVContacts.h

  • Start another task process after the user complete

    I would like to have a process task trigger after the task of process 'User' successfully completed.

    For example, scenario

    A user currently has a disability resource. When I allow the user, the task of user process

    is called, and allows the user. After that, I would have my custom process triggered after that task.

    I tried to add my task of custom process in the task of the user as a dependent task, but it is never called.

    Also, I tried to add the custom task to generate task, but it does not work.

    What am I doing wrong or am I missing a step?

    Directions for use:

    Goal: When 1st job process is triggered, the task of 2nd process will be kickoff.

    1. Select the task in process 1

    2. in the task of the process task dependencies tab 1, add the 2nd task in process in the section of the task of the person in charge.

    3. in the task of the 1st task of process responses, select the SUCCESS response and add the task of 2nd process tasks in section generate.

    IMPORTANT: Every answer has its own task to generate. So make sure that you add to the answer that you want the task to process 2 to trigger by.

  • How can I make the submit button that is activated after the user enters a digital signature?

    I have a form that contains a digital signature field. Once the user enters their digital signature, my "submit" button is disabled. I wanted that this remains activated for the user can submit the form with their digital signature and the form (in PDF format) as an attachment.

    I'd appreciate any help.

    Kind regards

    Fanny

    You can configure the fields of lock after the signing of the digital signature. In Livecycle Designer across this field properties: object-> TAB Signature properties. Here can exclude the button submit or any other field, if necessary, do not lock after signing.

    -Rambeau.

  • Box AD - 9.1.1.4 adapter - adding after the user from this group is created

    Dear all,
    Is it possible to add the group to the user using the adapter box AD after it has been in service to the announcement?

    Thank you

    There are a couple of different alternatives:

    1. use one (or more) access policies to fill the child form with the groups you want
    2. If you do a direct supply simply fill out the child form as you wish
    3. If you do not ask the basis of provisioning, according to me, you have a child form on the shape of the object for groups

    Hope this helps
    / Martin

  • Provide a list of applications after the user credentials are validated

    Is it possible to display a screen to logon to a user, the user inputs their name of user and password, when the credentials are validated as ok another screen is launched with a choice of one-to-many applications that the user can run?  I'm new on the Blackberry Java development, simple code examples would be appreciated.  Thank you.

    See this Article.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800639/How_To _...

    If you are new, go through this sticky thread.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=13264

  • To change the user password problem

    Hello

    I'm with some problems when you try to change an oracle user password. After using the alter command, it gives the message "Change user", but when I try to connect with, it throws the error ORA-01017...
    The strange part is... it works fine on my XE 11 g!

    Anyone have an idea on this issue? :)

    Thank you.

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

    Oracle@Arc02:~ > sqlplus mybase/mypass@myinstance

    SQL * more: Release 10.2.0.4.0 - Production on Tue Jan 15 11:52:48 2013

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - Production 64-bit
    With the Real Application Clusters option

    SQL > alter user z48829 identified by Telemar $0n;

    Modified user.

    SQL > quit
    Disconnected from the database to Oracle 10 g Release 10.2.0.4.0 - Production 64-bit
    With the Real Application Clusters option
    Oracle@dtcdbarc02:~ > sqlplus z48829/Telemar$0n@myinstance

    SQL * more: Release 10.2.0.4.0 - Production on Tue Jan 15 11:53:14 2013

    Copyright (c) 1982, 2007, Oracle. All rights reserved.

    ERROR:
    ORA-01017: name of user and password invalid. connection refused


    Enter the user name:
    ERROR:
    ORA-01017: name of user and password invalid. connection refused

    Hello

    Use sqlplus z48829/'Telemar$0n'@myinstance

    [ora10g@pos-uat-2:/home/ora10g>]sqlplus ajay/Telemar$0n@EBPSUATN
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Feb 28 13:29:17 2013
    Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name: ^C
    [ora10g@pos-uat-2:/home/ora10g>]sqlplus ajay/'Telemar$0n'@EBPSUATN
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Feb 28 13:29:22 2013
    Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning and Data Mining options
    13:29:22 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    

    Thank you
    Ajay more
    http://www.moreajays.com

Maybe you are looking for