Reset Page on redirect

Hello Friends,
I have different pages in my application.. I have a hyper link to Page 97 on page 1 and page 15 , Also Page 97 has some select on Submits [ redirects to same page]. My concern is, I want to reset the page only when I am taking the link from a different page [page 9,15] but not when I am redirected from page 97 itself.
I have created a 'RESET PROCESS' to reset Page 97 on Page 1 that should fire 'On Submit', but it did not help. am I missing some thing..
Thanks

Chaitu,
I am experimenting with using a "called from" mechanism where I would keep track apex page I came from. I created an application item named CALLED_FROM and created the following computation on page header. This way I can change logic on a page based on where I came from without having to clutter the URL with more parameters.
declare
  l_url    varchar2(1000);
  l_tokens wwv_flow_global.vc_arr2;
  l_index  pls_integer := 1;
begin
  l_url := owa_util.get_cgi_env('HTTP_REFERER');      -- gets the url which referred us to the current page.
  l_url := substr(l_url,instr(l_url,'f?p=') + 4);     -- gets the colon delimited list of APEX parameters from the url         
  l_tokens := htmldb_util.string_to_table(l_url,':'); -- parses the list into an array.
  if l_tokens(2) is null then                         -- if there is no page id
    return 1;                                         -- return the home page id
  else
    if l_tokens(2) != :app_page_id then               -- if we changed pages
      return l_tokens(2);                             -- assign the new page id
    else
      return :CALLED_FROM;                            -- retain the old page id
    end if;
  end if;
exception
  when others then
    return 1;
end;Basically all this does is it verifies if the referring page is an apex url and if it is then check to see that the referring page is not the current page you are on (some pages refer to themselves for refreshing data). If it is not then the CALLED_FROM application item is set to the referring page id. I have not tested this with page aliases and this is just some code I was experimenting with.
Cheers,
Tyson Jouglet.

Similar Messages

  • Password reset page problem after sso integration

    Dear all,
    We've integrated ERP 12.0.4 with SSO. Integration is fine
    the url http://hostname:8010/ is redirecting to
    the portal login page ( as per the design)
    if any user password is reset,before SSO integration the above redirects to a new password reset page, where the user can reset his password. Now after integration, the SSO page redirects directly to the home page of the user.We need to have the password reset page also.IS there any option to do this ?
    Thanks
    Yoosuf

    Hi,
    Please verify that you have completed all the steps in these docs.
    Enabling Register Here Link in Login Page in 11i and 12+ [ID 874373.1]
    Reset Password Functionality FAQ [ID 399766.1]
    Thanks,
    Hussein

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Issue with normal page link redirecting to SSO page / forbidden page

    Hi,
    I am having an issue with a number of pages within my portal.
    I have a 'List of Objects' that has been working for some time, each link in the list linked to another page.
    Just lately a number of pages that are linked to within this list are not loading correctly.
    When one of the items is selected, the correct page is initially displayed, but then after a couple of seconds the page is redirected to the 'Single Sign-On' page, or alternatively the page is redirected to a 'Forbidden' page with this error:
    Forbidden
    You don't have permission to access /pls/orasso/orasso.wwsso_app_admin.ls_login on this server.
    (This page will also show up after the user tries to login when the page is redirected to the SSO page).
    As well as this issue occuring at the front end, the same issue is happening when the pages are loaded from the back end, in the Navigator.
    This issue is even happening when the page is opened up in 'edit' mode using the ORCLADMIN user.
    Any help is greatly appreciated!!
    Amanda.

    Figured it out...

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • How can I reset Pages after a failed update attempt?

    I tried to download an update to Pages while away from home and my WiFi network. The updater instructed me to either download the update from a WiFi connection or to use my MacBook to download the update and sync my iPad afterward. Home is 700 miles away, and I don't have access to either my MacBook or to my home network. The problem is that the Pages icon is sitting on the desktop waiting for the update to start. I can't launch Pages until I either go home or find a WiFi connection that will permit downloading the update. Is there a way to reset Pages right now so I can use the application without updating it? I've tried powering down the iPad and restarting it, but that has not helped.

    noelfrombaltimore wrote:
    Jack,
    I agree with you totally! Obviously, there's something terribly wrong with Apple's latest iTunes version 10.5 and it seems that everyone (including me) is experiencing major problems.
    I don't even have any minor problems with it and neither do millions of others, so "everyone" does not have major problems.
    But...Apple's "Support" people seem to be hiding behind a "firewall" from having to actually respond  to the myriad of problems this new version has created and leaving it up to the "Support Community" (i.e.- that's right...you & me) to resolve these issues.
    So what did Apple Support say when you contacted them?

  • Portal password reset page text changes

    Hello Experts,
    We are using Portal 7.02 SP13. We use the standard password reset tool for allowing users to reset their passwords.
    On the logon page there is a link Get Support which the user clicks to reset his/her password.
    Following this user sees the below where they select the option Password Reset and click Submit button.
    We want to change the text Are you a suuplier having trouble logging in?
    I have tried looking in the portal logon page PAR file to locate this text in some properties file, but a unable to locate it. Where do I find this text? Is it present within the logon page PAR or is there some other component within which I can find this?
    Regards,
    Saurabh

    Hello Experts,
    In the logon page PAR file I am able to find a JSP page umHelpPage.jsp which contains this line
    <div class="urTxtH3" tabindex=0><%=logonLocale.get("HAVE_TROUBLE")%></div>
    and when I do a View Source from the Password Reset page I can see the below line
    <div class="urTxtH3" tabindex=0>Are you a suuplier having trouble logging in?</div>
    I have looked at the logonLabels.properties and logonLabels_en.properties files under the umlogonbase.jar file within the portal logon PAR file, but for the key HAVE_TROUBLE I can see the text "Having trouble logging in?".
    Howevert at runtime I see the text "Are you a suuplier having trouble logging in?", does this mean that this text is not getting picked up from the logon page PAR file?
    Regards,
    Saurabh

  • When attempting to go to my Cox Web Mail account I receive at the top of the page. "Firefox is preventing this page from redirecting to other page, so I have to click on the top right ALLOW for it to redirect to my Cox Webmail sign in page. Why?

    When using my Cox e-mail shortcut to go to the sign in page why does Firefox prevent the current page from redirecting to the Cox web mail sign in page?
    What settings do I change so I don't have to go to the top right of the page and click on ALLOW?

    @Steve_Clairman, if you are looking for the orange Firefox button (abbreviated menus), it will appear if you turn off the classic menu bar:
    View menu > Toolbars > ''uncheck'' Menu Bar

  • I added msn cookies to exceptions in accept cookies. But the list is always empty and page is redirected to msn

    Recently the dreaded msn homepage has returned after signing out of hotmail. I added all the cookies that msn installs to the exceptions in the Accept Cookies in Privacy. However whenever I log in and then out of hotmail the exceptions are removed and the cookies installed. I hate this intrusion and would like to permanently block the page from redirecting to msn on logging out of Hotmail. How can I do this if the exceptions are removed?
    Thank you

    If you run Firefox in Private Browsing then exceptions work just like in normal mode, but all cookies are session cookies and expire at the end of the PB mode session or if you close Firefox (Keep until is grayed).
    Choosing the "Use custom settings for history" setting doesn't make any changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" setting as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".<br />
    Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a check mark.<br />

  • W/ this latest version, getting MANY "the connection was reset" pages, plus VERY VERY VERY slow loading. I'm running Windows 7 on a new Dell. What is up w/ that?

    w/ this latest version, getting MANY "the connection was reset" pages, plus VERY VERY VERY slow loading. I'm running Windows 7 on a new Dell. What is up w/ that?
    I don't know how else to phrase that. I'm a pretty good user, but after defragging, backing up, and getting rid of a bunch of files that "may" slow down performance of firefox, the fact is, "the connection was reset" comes up five or six times a day--AND the browser is going slow as molasses. I haven't had this much trouble since before I got my new dell.

    hello whatagem123, it is never a good idea to stick with outdated versions of firefox just for the sake of addons, as this will put the integrity of your system and your the personal data on it at risk - there are various [https://www.mozilla.org/security/known-vulnerabilities/firefox.html known security vulnerabilities (some of them highly critical)] that were fixed in later versions!
    so please [[Update Firefox to the latest version]] & [https://www.mozilla.org/en-US/plugincheck/ update your plugins] (your java plugin has security vulnerabilities that are actively and widely exploited on the web).
    afterwards i'd recommend resetting firefox - this will keep your bookmarks and passwords but will get rid of most other customizations. this might well fix both the issues you've described in your question...
    [[Reset Firefox – easily fix most problems]]

  • Redirecting Home from DAS Password Reset Page

    Hello,
    My company's portal (10.1.4) uses the standard DASResetPwd functionality for users to reset their own passwords from a customized login page.
    I have read that the URL can be customized with attributes such as doneURL and cancelURL, which controls the page redirect for their respective functions.
    However, I am looking to redirect the Home button back to the portal, and not to the OIM Home Page (/oiddas/ui/oiddashome) which it is doing by default.
    The reason why is we do not want our users to have access to the directory, org charts, etc.
    Is there an attribute that can control the redirecting URL of the Home button? I have tried ?homeURL=http://<myportal> and ?p_home_url=http://<myportal> with no success.
    If not, can this page be customized? I would like to avoid a complete custom solution to this, as the default functionality works fine.

    Hi,
    Please verify that you have completed all the steps in these docs.
    Enabling Register Here Link in Login Page in 11i and 12+ [ID 874373.1]
    Reset Password Functionality FAQ [ID 399766.1]
    Thanks,
    Hussein

  • Connect reset message on redirecting multipart/formdata request

    Hi,
    We have functionality to upload file to the server. However, we have max limit of 4MB file. If user tries to upload file more than that limit, we need to redirect him to another page. This is NOT working. 'sendRedirect' works fine if it is normal request. But not in case of multipart/formdata request. We get an "+The connection to the server was reset while the page was loading.+" message in Mozilla.
    Our application is deployed in Weblogic 9.2 as well as Sun Appserver.Sample code:
    +if (MultipartRequest.isMultipart(request)) {+
    +
    int length = request.getContentLength();+
    +
    int maxSize = Web.getWeb().getMaxUploadSize();+
    + if (length > maxSize) {+                   
    + throw new WebMsgException(...);+
    + }+
    +}+
    Later on, we are catching this exception and calling 'response.sendRedirect'. After that we get error in browser as mentioned above. I have already checked that we have not committed response before calling redirect. Please suggest.
    Thanks,
    Amit

    Looks like you are using Sun's Application server post this question in forums given in http://forum.java.sun.com/category.jspa?categoryID=109

  • Portal Logon page repeating/ redirecting to itself on first attempt

    All,
    Apologies in advance if this is not the appropriate forum.  We are in the process of migrating a NW7.0SPS13/EP7.0SPS13 installation from a remote site to a local site with a database only UME and SSO to an ECC6.0 backend.  The new target installation has picked up a rather odd behavior.  When loggin onto the portal, the logon page repeats/refreshes/redirects to itself with valid ID and password with no error message.  The only apparent action is the clearing of the password field.
    My only clue so far is the absence of this script in the http trace on the initial logon attempt which shows up on the second attempt:
    http://<host>:51100/irj/portalapps/com.sap.portal.httpconnectivity.httpauthentication/scripts/CAManagerScript.js
    I did find this related thread and attempted the suggestions with no luck:
    Re: portal logon page coming again
    I felt this might be the best place to post question since this may be an authentication/connectivity issue.
    Thanks in advance,
    Lee

    You are correct, we are not implementing SPNego but at this point I will take any suggestions that might be conceptually related...
    We are attempting to migrate/clone the entire server (OS,J2EE,MSSQL05...) from a remote hosted environment to a local network environment.
    I checked the Everyone, Authenticated, and Anonymous groups for the correct roles/Java permissions and all seems to be in-line with the correctly functioning remote system with correct user assignment.
    With some further log filtering I was able to where find this error:
    The default keystore view [TicketKeystore] does not exist. Authentication stack: [ticket]. The possible reasons for that problem are: keystore does not exist or the user has no permission to read from the keystore view. You can delete the TicketKeystore and restart the engine so that the engine automatically re-creates it.
    I suspect the SAPLogonTicketKeystore was recreated incorrectly...  I will have the migration team recreate it again.  FWIW, I am unfamiliar with the process of assigning user access to this object as the error suggests.
    Thanks for the suggestions...

  • After Firefox update, pages are redirected whenever I type a letter or try to enter url, different redirects based on letter I type. Opens a windows explorer window, goes to original login, opens Start/Run window with cmd in box etc.

    Please send some advice if you have any ideas of how to solve this issue.
    The info that is shown about my computer is not accurate. The machine with the problems below is running 64 bit Vista but I cannot access a site like this one due to the constraints listed below.
    I fell for what I thought was a Firefox update but since installing it, when entering a URL, I am redirected back to original computer log in / password entry box. If I use my browser window drop down list I can get into something like Facebook and move around but as soon as I try to type any letter into a 'comment' box, I am redirected to both a Windows Explorer type page showing my various drives and another Window from my Start/Run with the dialog box open with cmd entered in it already. Certain typed letters don't show up at all when trying to enter a 'comment' on Facebook while various letters get various different responses. It is impossible to enter any URL or use my browser other than the items in my drop down. Once there, say to my bank account, I cannot enter any password as I am immediately redirected to someplace else upon trying to type a letter or character. I don't know how to get my browser working. I have tried IE as well and the same thing happens. All started after the supposed upgrade of Firefox. Your help would be appreciated. Thank you.

    Please send some advice if you have any ideas of how to solve this issue.
    The info that is shown about my computer is not accurate. The machine with the problems below is running 64 bit Vista but I cannot access a site like this one due to the constraints listed below.
    I fell for what I thought was a Firefox update but since installing it, when entering a URL, I am redirected back to original computer log in / password entry box. If I use my browser window drop down list I can get into something like Facebook and move around but as soon as I try to type any letter into a 'comment' box, I am redirected to both a Windows Explorer type page showing my various drives and another Window from my Start/Run with the dialog box open with cmd entered in it already. Certain typed letters don't show up at all when trying to enter a 'comment' on Facebook while various letters get various different responses. It is impossible to enter any URL or use my browser other than the items in my drop down. Once there, say to my bank account, I cannot enter any password as I am immediately redirected to someplace else upon trying to type a letter or character. I don't know how to get my browser working. I have tried IE as well and the same thing happens. All started after the supposed upgrade of Firefox. Your help would be appreciated. Thank you.

  • Print statement in JSP page after redirection

    Hi,
    I have written a JSP page and in that i am redirecting it to another page. Now after redirection i am printing a statement on the console. It is getting printed whereas when i am printing the same on the browser i am not able to print that. Please can any one tell me the difference between printing the same on the console and browser.
    My first JSP page(one.jsp)
    <%
         response.sendRedirect("two.jsp");
         out.println("After redirect");
         System.out.println("After out");
    %>
    My second JSP(two.jsp)
    <%
         out.println("In two.jsp");
    %>
    Thanks in advance
    regards
    Prashanth

    The sendRedirect sets a code in the HTTP response being sent to the client (I believe it is a 302 code but I am not sure off hand) and then proceeds to process the rest of the JSP on the server which is why the print statement shows up in the console.
    The out.println writes to the HTTP response output stream. The client gets the response and sees the HTTP Header code telling it to make a new request so it stops processing the response message and sends a new request message which is why the out.println message is not seen in the browser.

Maybe you are looking for

  • Where do i get mac os x 10.5.6?

    I have an ibook G4 that is currently running 10.4 and i cannot sync my iphone or ipad to it because 10.4 isn't compatible with itunes 10 so i need to upgrade to 10.5.6 and i don't feel like paying $200 for a used install DVD on eBay or Amazon. any id

  • IPTC data in Bridge not linked to Lightroom 2.7...

    I have found that including data in the IPTC fields of metadata that I add in Bridge (CS5) does not update the IPTC information in Lightroom 2.7 and I can not find anything that will allow me to link that information from bridge to Lightroom. Am I mi

  • Average function in HFM returning error

    Hi I have written the following script in HFM calculate routine for calculation of averages. But it gives me an error. Has anyone used this function and can point out the error in this please? SUB SUBSaVG HS.EXP "A#AverageSales = " &Average ("A#Sales

  • Creating Folders on BT Yahoo Mail

    I am unable to create folders or sub folders opn BT Yahoo Mail. The correct box for creating new folders appears with no issue, but after typing in the name of the folder I get the following message. "Sorry, an unknown error has occurred. Please try

  • NOKIA E-MAIL NOT WORKING ON NOKIA ASHA 303

    So, I had my Nokia Asha 303 working perfectly with no bugs, no lag and good internet speed until I got this message asking me if I wanted to update my cellphone software to the v14.53. I accepted and left my phone on, with full battery, on a stable w