Login redirects to different pages

Y at - it a way to orient the differnet users to different pages based on a connection to the system. I use a table internal oracle to control the access and safety in our system. In this table, users are designated by 'Job title', I want to be able to do, it's direct a user with a certain title to a certain page.

For example, user 1 has a job of Agent title would go to page 1 and user 2 has a title of Customer Service Rep would go to page 2 after login

Thank you!
Amber

Published by: mtuser on October 28, 2009 10:03

Hi amber,

Create a process page "Before head" PL/SQL on your homepage. Check here the 'employment' user and redirect accordingly :-)

Pseudocode

DECLARE
v_job tbl_user.col_job%TYPE;

BEGIN

select col_job into v_job from tbl_user where col_userid = :APP_USER;

if v_job='Agent' then

-- redirects to page1

OWA_UTIL.redirect_url ('f?p='||:APP_ID||':1:'||:SESSION);

elsif ..
..
end if;

END; 

It may be useful

See you soon,.
Hari

Tags: Database

Similar Questions

  • Redirect to different pages based on the value of linked report table

    Hello

    I wanted to navigate to different pages of a report link based on a value from the table on which the report is based. I was able to link to a particular page without any problem.

    But I wanted to link to different pages depending on the value in the table. Please let me how can know I do this?

    Thank you

    Kaminey wrote:
    I use Apex 4.2 and my report is a classic.

    If I click on empID in a classic report, now it redirects to page 1. Now what I want to do, if I click empID, if his role as MANAGER he should redirect to page 2 and fill out the form on the page with the details of the employee. The role of the employee is ANALYST should redirect to page 3 and fill in the form on the page with its details

    This approach makes maximum use of the APEX has standard and minimizes the extra programming.

    1. If it is not already included as a displayed value, include the role column giving the value of MANAGER/ANALYST as a hidden column in the report.

    2. create the link in the column on the EmpID column, with the target of the link on the same page as the report and ask the role column value (for example #ROLE #).

    3. on the page of the report, create a On Load: front branch to page 2, with an request = Expression 1 condition with 1 Expression defined for the MANAGER.

    4. on the report page, create a On Load: front branch to page 3, with a Request = Expression 1 Expression 1 ANALYSTvalue condition.

  • How to redirect to a different page after logging into APEX 4.1

    Dear all,
    Here is my requirement when the connection of users,.

    When they entered their username and password and press the login button.
    they redirect to different pages depending on the type of user.
    Here's my LOGIN_TABLE has 3 columns, more
    1 user name
    2 password
    3. type.
    The TYPE has 2 values, employee and admin.
    When the type is admin they should be redirected to page 2,
    reaining IE users used must be redirected to page 3.
    How can I do this? Please give some suggestions.

    Thank you.

    Kind regards

    Gurujothi

    Check it out. Guru user lands on Page 1, other land users to Page 2.

    Here's how it was done.

    a. the CustomAuthentication function returns a Boolean, but does not store the username anywhere. So I changed it.
    b. has created a named FUSER element of the Application (you can change the name and code as you wish).
    c. change the CustomAuthentication function to include the following line just before the return statement

    APEX_UTIL.SET_SESSION_STATE('FUSER',upper(p_username));
    

    So now the user name is stored and used in the session state.
    d. added the branch on Page 1, Onload before header that has Page 2 as its target.
    e. does the conditional branch using the lettering element FUSER. The condition is FUSER <> 'GURU', so that other users are directed to the Page 2.

    Kind regards

  • Redirect to a different page after the delete operation in the shape of APEX

    Hello guys,.

    I have a problem with the redirection to another page after a deletion of form data. Here's the scenario. I have a parent page and a model page to change the contents of the data source. Delete the operation works quite well. but once it deletes and it is up to the parent page. I want that redirect to a completely different page. Is there a way that can be used here? I tested the process of branching, it redirects the page, however, it does not remove the record from the table in this case.

    I tested the process of branching, it redirects the page, however, it does not remove the record from the table in this case.

    It should work. Check the properties of the branch. 'Point' should be after treatment when you press the button Delete:

    I forgot to say about it:

    > but once it deletes it and it is up to the parent page

    Remove the dynamic action of dialog closed, or make it conditionally.

  • Redirect to two different pages in the same form

    I'm a little new to this. Hoping someone can guide me on how to do this. I have a simple selection list (below). If they the user chooses the selection in red I want to redirect to one page other than the cfform tag, but I can't understand how to separate options in the form in the same list. Thanks in advance.

    < action = "index2.cfm cfform" method = "POST" > "

    < table align = "center" width = "475" border = "0" cellpadding = "1" cellspacing = "0" >

    < tbody >

    < b >

    < td > < span class = 'label' > select Version: </span > < table >

    < td >

    < name cfselect = "UPVersion" >

    < option value = "" > < / option >

    < option value = "66SP1" > 6.6 SP1x < / option >

    < option value = "66SP2" > 6.6 SP2x < / option >

    < option value = "701" > 7.0.1x < / option >

    < / cfselect >

    < table >

    < /tr >

    < input type = "hidden" name = "gosearch' value ="gosearch">

    < input type = "hidden" name = "Lines" value = "50" >

    < b >

    < td colspan = "3" align = "center" > < input type = "submit" name = "Submit" value = "[search]" > < input type = "reset" name = 'reset' value = '[clear]' > < table >

    < /tr >

    < / tbody >

    < /table >

    < / cfform >

    mostlyconfused wrote:

    I'm a little new to this. Hoping someone can guide me on how to do this. I have a simple selection list (below). If they the user chooses the selection in red I want to redirect to one page other than the cfform tag, but I can't understand how to separate options in the form in the same list. Thanks in advance.

    Select Version:

    It could well be too many moving parts for beginners to follow. Start with something like

    id = onchange = "getVersion ()"UPVersion"" > ""

  • Redirect to 3 different pages based on the value of the Auto complete field.

    Hi friends,

    I use a "Auto complete field" in a page for research (Apex version 4.0). But I need to get the values of the 3 tables and when you click on the redirection of the value to one of the 3 pages based on the value.

    For example, I have 3 tables. 1 customer 2 Sites 3.Employees. When I enter "c" in the search field, I need to get values of 3 tables in this area "AutoComplete". That is to say, if I have a customer with the name "cusotmer1", "customer2" and the location with the names of "cisc1", "cisc2" and employees with the name "cid1", "cid2"; When I enter "c" in the FQDN of the auto all 6 values must be given in the "AutoComplete" box and clicking on "customer1" / "customer2" need to redirect to the 'customer' page When you click on 'cisc1' / 'cisc2' redirect to 'site' when clicking on "cid1" / "cid2" redirect to the page of the employees. Is there a way to do this. Help, please.


    Kind regards
    NAV

    Net asset value,
    Here is a sample page that uses the code I proposed works fine for me with FF and IE (8.0).

    http://Apex.Oracle.com/pls/Apex/f?p=18:3

    Note: I've added a warning message before being submitted

    This page works by your side?

  • connection need be redirect to the page calling instead of the home page

    Hello

    I have connections to access to the different pages in the same application. Login works very well and brings me to the homepage every time. What I need is to redirect the user to the page where the connection was called from, and not to the home page. Is this possible?

    Monpetit

    Published by: user11267485 on July 8, 2009 12:07

    Monfils:

    Try to set FSP_AFTER_LOGIN_URL before redirect you to the login page.

    : FSP_AFTER_LOGIN_URL: = ' f? p =' || : APP_ID | ':'|| : APP_PAGE_ID

    CITY

  • I redirected to different Web sites or see pop-ups on Google Chrome

    I redirected to different Web sites or see pop-ups on Google Chrome. Some pages are sponsored (casinos, etc.) and some are very suspicious that I won't fully charge and open.

    I tried to find a malware from my mac, but can't find.

    I have zero parameters of the Google Chrome browser, but which is not helping either.

    I'm out of options! Can I get help and advice please?

    This only happens in Safari or Chrome?

    If this happens only in Chrome, then check your Chrome Extensions. That's all we offer here. I would be reaching out to Google if this issue is only related to the Chrome.

  • Whenever I click on any button of the trial download on the adobe Web site you I get redirected to a page where the 4 squares are moving to load the page, but never load it, I left my browser on for hours and yet it still doesn't work anyone can help?

    Whenever I click on any button of the trial download on the adobe Web site you I get redirected to a page where the 4 squares are moving to load the page, but never load it, I left my browser on for hours and yet it still doesn't work anyone can help?

    clear your adobe.com cookies or use a different browser.

  • Opening of session and redirecting to a page of all

    I would like to connect to my request and always redirected to a page together within my application.

    I want that to happen, or navigate directly to the login page I try to access a page that requires authentication when I am not logged in.

    The process of connecting to my login page is as follows.
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P1_USERNAME,
        P_PASSWORD    => :P1_PASSWORD,
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':100'
        );
    In fact, after entering my username and password, I want 100 page to load every time.

    Hello

    Leave your page loging process as it is.
    Set point application FSP_AFTER_LOGIN_URL NULL value in the authentication authentication scheme prior process.

    Kind regards
    Jari

  • Redirect to another page with parameter passing using the POST method

    Hello

    I need to redirect to another page and pass parameters to it with the POST (not GET) method. How can I do?

    So far, I tried the 2 options and none of them works very well:
    1. I wrote a pl/sql procedure, but if I run it, then the page runs on my server application instead of actually going to another page in another server (I see the neame of the procedure in the web browser's address bar). Is there a way to work around a bit so that really, it goes to another page and pass the variables?

    procedure do_post)
    p_api_url in varchar2)
    is
    l_http_req utl_http.req;
    l_http_resp utl_http.resp;
    l_response varchar2 (4000);
    l_post varchar2 (4000);
    v_line varchar2 (4000);
    v_wallet varchar2 (100): = "file:/etc/ORACLE/WALLETS/oracle5";
    v_wallet_pwd varchar2 (100): = "test1234".
    Start
    l_post: = ' VK_SERVICE = 1001 & VK_VERSION = 008 & VK_SND_ID = testvpos & VK_STAMP = 88';

    Utl_http.set_Proxy (apex_application.g_proxy_server, NULL);
    Utl_http.set_persistent_conn_support (true);
    Utl_http.set_transfer_timeout (300);
    Utl_http.set_wallet (v_wallet, v_wallet_pwd);
    l_http_req: = utl_http.begin_request (p_api_url, 'POST');
    Utl_http.set_header (l_http_req, "Proxy-Connection ',' Keep-Alive'");
    Utl_http.set_header ("l_http_req, 'Content-Type', ' application/x-www-formulaires-urlencoded; charset = utf-8 ');
    Utl_http.set_header (l_http_req, "Content-Length", length (l_post) ");
    Utl_http.write_text (l_http_req, l_post);
    l_http_resp: = utl_http.get_response (l_http_req);

    LOOP
    Utl_http.read_line (l_http_resp, v_line, TRUE);
    HTP.p (v_line);
    END LOOP;
    Utl_http.end_response (l_http_resp);

    EXCEPTION
    WHEN utl_http.end_of_body THEN
    Utl_http.end_response (l_http_resp);
    end do_post;


    2. the second option, I tried is to put this script to my page of request code:

    < name of the form = 'mounted' action = 'https://www.somekindofurl.com/cgi-bin/dv.sh/un3min.r. '
    method = "POST" target = "_top" >
    < input type = "hidden" name = "VK_SERVICE" value = "1001" >
    < input type = "hidden" name = "VK_VERSION" value = "008" >
    < input type = "hidden" name = "VK_SND_ID" value = "testvpos" >
    < input type = "hidden" name = "VK_STAMP" value = "88" >
    < input type = "submit" value = "Let's's Pay" >
    < / make >

    < / make >

    But it does not work as APEX has its own system of Forms control. Is it possible to play? I tried to delete #FORM # of page templates and it works fine then. The problem is that I have other forms on the page as well (login form + search form) so I can't remove this manipulation of shape native APEX. Is it possible to play with it?


    Thank you much in advance.

    Hi Ibenarobeno,

    Your form can live at the end of the page with all the hidden items.

    You can then control with buttons and fields within the form of the Apex.
    through a bit of javascript.

    Concerning

    Michael

  • I have two different pages on my Facebook account but you can only post photos on my private account.

    I have two different pages on my Facebook account but you can only post photos on my private account. How do you do if you want to share your photos of my other pages.

    < re-titled by host >

    Use the uploader on Facebook to upload photos to your other account. You can open the library of Photos from the web browser using the media browser. In the file selector, when you download image files, scroll down until you see 'Media' in the sidebar. Click on the camera icon, then select your photo library.

  • Firefox opens on a different page.

    Firefox opens on a different page, opens with a football icon and not the normal firefox icon.
    It started just today.

    Were you able to open the topic: config page through the address bar and the pref browser.aboutHomeSnippets.updateUrl the value of an empty string?

    You can use this button to go to the Firefox profile folder currently in use:

    Delete the storage\persistent\moz-safe-about + House in the closed Firefox with Firefox profile folder (Firefox '3-bar' menu button > exit/Quit) remove code snippets stored in IndexedDB and make Firefox to use a default extract value.

    You can reset the pref browser.aboutHomeSnippets.updateUrl through the context menu on the default to reactivate the code snippets and make Firefox recreate the moz-trunk-fort-about + folder.

  • Cropping multiple pictures on different pages at the same time

    Can I culture several images on different pages at the same time. In my french version of software Photos 1.5, this option is called "the photo to the frame adapter". I'm able to select this image of an option at a time, but could not find a way to make the entire book in one click.

    No there is no functionality like this in Photos

    You can ask Apple to add the - http://www.apple.com/feedback/photos.html

    LN

  • Firefox prevented this page from auto redirection to another page

    Firefox prevented this page from auto redirection to another page
    I get this message every time I go to the new search page. I'm if tired after you press the F - ING allow it's not funny. Cannot Fire fox remember the pages of dam that go? Every time freaking that I go to a new page that the accessories and I have to click allow. I would like to get rid of this for good so if you can help me it's cool, if not then bye. I'll explore for browser. I can't take more. In addition, when I read that page moves upward again and I have to click on authorize again.

    Try this: Firefox button > Options > Options (or tools > Options) > advanced > general, uncheck 'warn me when Web sites try to redirect or reload the page'

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    You use obsolete, and is no longer supported version of Firefox (version 3.5.5) which is likely to have many problems of security and stability. Upgrade to the current version.

    Also see-> https://support.mozilla.org/en-US/kb/common-questions-after-upgrading-firefox-36

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

Maybe you are looking for

  • stabilization

    Hi, my name i s Stefano (Italy). I have the FCPX version 10.2.3, but I don't see the option of STABILIZATION... Why? Thank you Concerning Post edited by: stefanolaguzzi

  • Cannot select internal memory on the Vixia HF 600

    I have some videos saved on my 'internal memory '. Now that I've inserted and the external memory card format, I can't go back to the internal memory to download. I followed the "instructions" in the manual, but once I get to recording options, there

  • My DRIVER CD/DVD HL0DT-STDVDRAM GSA-T20N Deriver Windows cannot recognize the Driiver

    I have already submitted the problem but I'll put new retail I was Unistalling Norton Antivirus 360 Vervion 5.0 and after restarting the computer didn't recgnize the K drive (CD-ROM/DVD-ROM) ie Windos cannot load the driver Impatience on your part Co

  • Problems upgrading to Windows 7

    I am trying to upgrade Windows Vista to Windows 7. My laptop is running the 64-bit version of Vista Home premium, which I am having trouble with the upgrade to the same version of Home premium 64-bit version of Windows 7. It is during installation I

  • Multiply fields simple adding of additional calculations.

    I have 11 fields that are set to multiply to field one, the b field. It's a very basic calculation (Dropdowna, Sim1), (Dropdownb, SIM2) and so on. They calculate very well with the seizure data, but when data is modified or added to another part of t