Redirect the user to the previous page after login

Hello

The login process on page 101 of the application redirects the user to page 1 after successful login. If the user is currently on page 9 of the application, the session expires and the user is redirected to the login page. Now when the user connects again, can redirect us the user to the page 9 instead of page 1?

Thank you
Machaan

Tony, when the session expires after idling, wouldn't the point of application is invalid and so no point of application of the new session value any?

Machaan,
My suggestion would be to save the current page to a variable preference of the user (by saving it to an application process that is running on the page of each page load). Extract the value of this preference after connection and redirect to this page (owa_util.redirect_url) if it is not null. On logout, delete this preference, so that you are not redirected to this page in the next connection.

Note that the implementation of your condition (using any approach) could lead to problems that you might want to consider.
For instance if the user was in a page that has a dependent process/calculations onload on some elements of the page (another page set) as would be the case with a child page/edit record of pages; It can generate many unforeseen errors when you connect and redirect to this page without setting any of these elements.
Another case would be when these pages were opened in pop-up windows or the content of the iframe (and which should be called in a different page) and the parent page has expired without any submission (so once again is the child page last page)

Tags: Database

Similar Questions

  • Navigate to the correct page after login

    Hi Ben
    I have a list of links that navigate on different pages. Some of the pages that links navigate to be approved, so page 101 is presented to the user. When the user connects, page 101 ordered them on page 1 (at home). How can I make the experience smoother users taking them on the page that they have planned to go to. A few times this page will be in another application.

    Thank you
    Ben

    Ben,

    When you use this format first (P_FLOW_PAGE =>: APP_ID |) (': 1'), the result should be that the login page after is the originally requested page (deep link). If no page has been requested, say just specified the application in the connection of execution ID, then the login page after page of the current application 1 will be.

    When you use this second format (P_FLOW_PAGE =>: APP_ID), the result should be that the login page after is the originally requested page (deep link). If no page was requested, say that you have specified just what ID application in the connection of execution, then the attribute of the application homepage link would be used for the connection URL after-service.

    Scott

  • Redirect to the original page after login

    Hello, I'm new in the Fusion of the ADF, I'm trying to get my program to do the redirection, submitted by the user, after logging, page example: otherwise

    the user is connected to the session, and someone is trying to access a path in the browser (... faces/protected/admin/page.js) JAAS (Yes, I use JAAS, JAAS not ADF security, so I tried that before JAA redirect to the login screen, he kept the URL TO which the user has tried to do that when connecting the user to the system, it redirected to this page) not a standard page...

    I tried to recover using this url PhaseListener, filter using the filter applications (/ *) and using the < f: event > someone at - it suggestions?

    OBS: authorization and authentication with JAAS is ok, I wanted to just implement this dynamic redirect

    I create the hidden entrance and a button to test the parameter:

    public class test {}

    @ManagedProperty(value="#{param.from")

    private String

    I don't know if the injection with @ManagedProperty will work.

    So, first make sure that hidden field a correct value (you can check this in the source of the page, or you can add a component any visible...)

    If this value is correct, you can try to evaluate EL inside your connection method with:

    public static String evalAsString(String p_expression){
        FacesContext context = FacesContext.getCurrentInstance();
        ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory();
        ELContext elContext = context.getELContext();
        ValueExpression vex = expressionFactory.createValueExpression(elContext, p_expression, String.class);
        String result = (String) vex.getValue(elContext);
        return result;
    }
    
    and then:
    String from = evalAsString("#{param.from}");
    

    Dario

  • After update to go to the previous page

    I have a database update link on several pages.

    How to redirect to the previous page after update?

    Hi all!

    Thank you for your kind reply. Because javascript isn't the best solution, I found a solution using the session variable. This method works simply to redirect the page or an echo to the link on the previous page.

    (1) Include on each page with insert or update link (redirect page)

    (2) in insert or update page by default Dreamweaver insert or update of the server behavior, set the $insertGoTo value to $_SESSION ['tout_nom'], for example, in this case $insertGoTo = $_SESSION ["tout_nom"];

    (3) in addition, to add go to the link to the previous page, ">[back to the previous page].

    See you soon!

  • How to redirect to the previous page

    Hello

    I call you a personalized page of standard OA page when I click back to my custom page

    I want to go to the previous page

    I used pageContext.forwardImmediately ();

    but the page id is not valid error can someone suggest how to return to the original page

    page custom

    The example of tutorial wont support the situation go back to the previous page

    Concerning

    Krishna

    Hello

    Give the URL of the page and the page on the previous page function in the pageContext.forwardImmediately or pageContext.setForwardURL methods.

    Thank you
    Kumar

  • Anchor to return to the same line on the previous page

    Hello

    I saw 4 or 5 posts on this subject, but none of them does not seem to work for me.

    Here's what I would do:

    I use an interactive report that contains an overview of the tasks and the information about these tasks. In the report, there is a column "Edit task" where users can click to change several fields for the task.

    When the user clicks on the 'Edit' task - link, another page (of type 'Dynamic Form') is opened where the user can make adjustments and then save them.

    When the user clicks 'Save' (or 'Cancel', by the way) on the edit page, I want to redirect them to the previous page with the overview of all the tasks, but I want the page to move in roughly the same place as when the line where users you click on 'Special Edition' is located. So if I change a task that is in the middle of the report, I want to return to the middle of the report when the user has finished its adjustments.

    I have seen that it is possible using the anchors, but have not found a position that has worked for me.

    I think that there are three elements to make something with to operate:

    -The "Edit job" - link in relation to the overview of all tasks

    -The button 'Cancel' or 'Save' on the edit page

    -The page with the overview of the tasks that he knows which row to access

    Our end-users really want this feature, so any help would be appreciated.

    I run on APEX 4.2.

    Thanks in advance for your answers.

    Kind regards

    NDG

    Was the solution after several hours and it is actually not as difficult as it seemed during these hours.

    So for those looking for the way to do it, here it is:

    Make an anchor point in the query of your report which shows the overview of the tasks (or whatever the report will show to you, I use tasks for example) like this:

    Select..., task_code, '', 'Special Edition' task_id of task

    To the page with the overview of the tasks, change the Page attributes-online display attributes-online update of the slider to "don't focus of cursor.

    View the type of the column with the anchor: Standard report column

    It will not work if the column type is 'hidden' or if the column is not in the "selected columns" in your report ("Actions"-online "Select columns").

    'Special edition' is the link that I created to go to the edit form, this link goes task_code as an attribute to identify the unique tasks (do not know if the task_id column will work, I do not use it as ID to go to the edit page, I use the task_code.) It probably won't work with this task_id-column, but if not, create an another task_id column without the anchor and use that one to pass it as an attribute).

    To the page containing your form for editing tasks create the buttons/send-Cancel:

    -"Action when the user clicks on the button ' value 'redirect to the URL."

    -the "target URL" value: f? p = & APP_ID.: 11: & SESSION. : & DEBUG. #& P16_TASK_ID. (include the '. ' at the end)

    Where 11 there is the page you want to link to, and #& P16_TASK_ID. is the item that you will use to access the respective line in your report.

    There might be other ways to do it, but it works for me on APEX 4.2.

    Good luck.

  • When I click on a lot. He goes to the previous page.

    I am a new user of Mozilla FireFox.And I have a problem when I click my mouse a lot it's always go to the previous page, this isn't my mouse because Internet explorer doesn't have this problem.

    What do you mean ' when I click my mouse a lot? What you're clicking on?

  • YouTube I have to press the button "back" twice to return to the previous page

    Hello!

    FF constantly and across operating systems (I use many for most Linux distributions) fails to simply go back to the previous page when I press the button 'back' of the browser. He did it for months. Completely reset FF does not work, or not to empty the cache then restarting it manually.

    It is a very irritating problem, especially since I prefer FF so strongly on another browser and do not want to hit back twice whenever I want to go to a play list/etc. To clarify, it reloads the page/video, I am currently on, then finally doing what I want to after 2 clicks the 'back' button For someone who needs YouTube to work, as well as for reasons a many great tutorials that needs resolution as soon as POSSIBLE.

    Thanks in advance for any help! In my opinion, I've isolated probably the question enough that it is very likely to be a problem with my OS or malicious software.

    What is the most likely culprit here?

    I should also mention that this is happening not only across operating systems, but also on a laptop Lenovo G770 and an AMD FX - 8350 16 GB RAM PC desktop I built very recently.

    If it works in Mode safe mode and normal mode with all extensions (Firefox/tools > Modules > Extensions) off and then try to find which extension is the cause by allowing an extension at a time until the problem reappears.

    Close and restart Firefox after each change via "Firefox > Exit ' (Windows: Firefox/file > quit;) Mac: Firefox > quit Firefox. Linux: Firefox/file > exit)

  • How to stop Firefox 18 to restore the previous Session after a Crash

    Firefox 18.0.1 running on Windows 7

    When Firefox crashes, the next time it opens it tries to restore the previous session. I don't want Firefox to restore the previous session after a crash. How can I stop Firefox restore the previous session after an accident?

    Please note:
    1 - my homepage is set to 'white page '.
    2. I configured Firefox does NOT remember my browsing history, download history, form fields, and passwords.
    3 - even in Safe Mode (with all disabled add-ons), Firefox ALWAYS restores the previous session after a crash.

    Thanks a lot for your help. I hope that my vote immerses you in the category "TOP 9".

  • The back button brings back me to the top of the previous page instead of the place in the previous page, where I was before. How does it evolve?

    On a list as Craiglists which has 100s of lists on a page, you click on the link to access the item description page, after the ad, I then click on the back button & instead of back to where I was on the previous page, I went back to the top of the page. It's a lot of time, because I then locate the list I was before so I can continue my review of the list of others.

    Maybe it's a problem of compatibility add-on or extension.
    I had the same problem and I seem to have solved by uninstalling APTURE HIGHLIGHTS 1.6. following the standard diagnostic test not more white flashes and now my scroll position is known.
    It also cleared up a bad freeze/hang up, I had after waking from sleep/hibernate.

  • Windows Update has encountered an error and cannot display the requested page after that I click on express update.

    Original title: page Web update always comes back also cannot display the Web page after that I click on express update.

    Page Web I cannot update. Obviolsy I have access to the internet. I tried this several times. I have reintalled windows and I need update Inorder for programs work. Help. I have IE8. XP pro74 free concerts on drive c 400gigs e and d

    Is this the same computer as in this thread previous & abandoned of yours? -Online http://answers.microsoft.com/en-us/windows/forum/windows_xp-networking/remote-desktop-wont-connect-win-7-to-win-xp-pro/d0995287-356b-4e1f-aa51-1813625b4014

  • Unable to return to the previous page

    I have to click many times back key to return to the previous level when you navigate.  Sometimes I can't go at all and have to start over. Others have the same problem?

    OT:browing problem

    Hi Ron,

    From your problem description, I understand that you must click several times to return to the previous page in the navigation. Please let me know if you do not experience this problem.

    1. what web browser do you use?
    2. the problem occurs with any particular web page or Web pages?
    3. do you have your software antivirus installed on the computer?
    4. If you are using Internet Explorer, then you use Modern user Interface Internet Explorer or office internet explore?

    The information is not sufficient to answer your question. Please provide us with more information to answer your question better.

  • Return to the previous page

    Hi guys,.

    Wondering if there is a way to return the user to a previous page in Director using lingo? The reason for this is to use an output page, asking the user if they really want to close the application. However, I want the user to be able to go back to the page they were viewing when they pressed out if possible?

    Thank you very much!

    Rich

    You must save the page, they are on a global, then use registered
    location to go back.

    -Add this to your exit button

    global gBackPage
    on mouseUp me
    gBackPage = the framework
    -the rest of your code goes here
    end

    -then add this code where you have to go back

    global gBackPage

    on mouseUp me - or everywhere where it should be
    go gBackPage
    end

  • Go to the previous page?

    I want to create a text link that returns the user to the previous page. "Click here to return to the previous page.
    The reason is that I have links to news on different pages and also with an ex-General 'latest news' page.

    In golive, there is an action you want to add text or image links. Is it possible to do this DW in?

    Thank you.

    I use this snippet:

    Return

    Me_PLC wrote:
    > I want to create a text link that returns the user to the previous page. Click on «»
    ' > here to return to the previous page.
    > The reason for this is that I have links to news about the various pages and
    > also with an ex-General 'latest news' page.
    >
    > In golive, there is an action you want to add text or image links. Is
    > there a way to do this in DW?
    >
    > Thank you.
    >

  • Firefox reloads the previous page that it than itself over and over again at random.

    Firefox goes on its recharge on the last page as if I hit the back button, it does in itself... sometimes go back more than one page. Sometimes I will open the browser, go to a page and Firefox goes back to the start page on its own. On the pages that ask you if you are sure you want to leave, he will try to leave again and again... sometimes even if I click on stay on page 4 times, the previous page still loads on its own.

    I tried to start firefox in safe mode, it still happens... I uninstalled firefox completely and reinstalled and the problem persists.

    Someone knows about it... I need to use the internet for work and it drives me crazy!

    Hi, please try with another keyboard and/or mouse (in which case there are special buttons like front/back), since it looks a bit like a hardware problem...

Maybe you are looking for

  • Pavilion dv7t-2200: SATA 1, 2 or 3 in the Pavilion dv7t-2200 Model # FV280AV?

    How to find which version of my Model 2200 dv7t SATA # FV280AV supports, for example SATA (1), SATA-2 or SATA-3?I'm hoping to upgrade to an SSD (Solid State Drive) and want to ensure that it will support the increase of the speed. Thank you.

  • a1230n windows desktop display driver councils 8

    ATI Express 200 on the motherboard - turns out there is no pilot available so I'm running a generic driver windows - problem is I can run in 760 1200 which is terrible, or 1400 x 1050, which has a 1/2 inch overscan. Any ideas if there is a driver or

  • driver hpdeskjet6122

    has old printer driver needed

  • Reinstall the lan driver

    I reformat my hp mini 110-3001tu, and I was now clean. the driver and the program to my laptop like realtek gbe & fe ethernet driver NIC pci - e, hp quick, webcam hp web and I don't know where to find the driver. My OS is Windows vista. Please help m

  • Help in the management of the field events

    Hi all I have a form that contains a list field and a set of navigation on top buttons. I replaced the navigationClick method to handle the click on the trackpad / touch events as shown in the method below: protected boolean navigationClick (int stat