Getting Cookie in browser window instead of page (Custom Auth)

Hi,
I'm getting the following in the browser window instead of the application page.
Set-Cookie: WWV_CUSTOM-F_4074120727485002_2057=17402F9E2F6BBDF1; HttpOnly
Location: f?p=2057:1750:103737182614568
Content-length: 25
Location: f?p=2057:1750
I'm using code from: [this tread|https://forums.oracle.com/forums/thread.jspa?threadID=2190458]
It works in test but not in production. Could this be because of https in production?
I'm on Apex 4.1.0.00.32 with the patch for bug 13045147
I make the following call https://my.machine.edu:port/apex/apex_apps.ku_security_pkg.doinitapex?pusername=wcole&pstartpage=1750&pstartapp=2057
Thanks
Wayne
actually code is
Procedure Initapexfromoutside
( I_App_Id In number
, I_Page_Id In Number
, I_Apex_User In Varchar2
Is
V_Cgivar_Name Owa.Vc_Arr;
V_Cgivar_Val Owa.Vc_Arr;
V_Workspace_Id Number;
v_app_id number;
Begin
-- set up cgi environment
Htp.Init;
V_Cgivar_Name(1) := 'REQUEST_PROTOCOL';
V_Cgivar_Val(1) := 'HTTP';
Owa.Init_Cgi_Env
( Num_Params => V_Cgivar_Name.Count
, Param_Name => V_Cgivar_Name
, Param_Val => V_Cgivar_Val
-- load apex IDs by application name
Select Workspace_Id
Into V_Workspace_Id
From Apex_Applications
Where Application_Id=I_App_Id;
-- set up apex workspace
Wwv_Flow_Api.Set_Security_Group_Id(V_Workspace_Id);
-- set up apex session vars
Apex_Application.G_Instance := Wwv_Flow_Custom_Auth.Get_Next_Session_Id;
-- Apex_Application.G_Instance := 1;
apex_application.g_flow_id := i_app_id;
Apex_Application.G_Flow_Step_Id := I_Page_Id;
-- "login"
Apex_Custom_Auth.Define_User_Session
(P_User => I_Apex_User
,P_Session_Id => Apex_Application.G_Instance
Wwv_Flow_Custom_Auth_Std.Post_Login
(P_Uname => Upper(I_Apex_User)
,P_Session_Id => Apex_Application.G_Instance
,P_Flow_Page => Apex_Application.G_Flow_Id
|| ':'
|| Apex_Application.G_Flow_Step_Id
end initApexFromOutside;
Procedure Doinitapex
Pusername In Varchar2
,Pstartpage In Varchar2
,pstartapp in varchar2
Is
Begin
-- If V('APP_ID') Is Null
-- Then
-- init apex environment
Initapexfromoutside
(I_App_Id => to_number(pstartapp)
,I_Page_Id => to_number(pstartpage)
,I_Apex_User => Pusername
-- call show once because it sets additional internal apex parameters
/* Apex_Application.Show
(P_Flow_Id => Apex_Application.G_Flow_Id
,P_Flow_Step_Id => Apex_Application.G_Flow_Step_Id
,P_Instance => Apex_Application.G_Instance
-- show re-sets other parmeters at the end. have to init again...
/* Initapexfromoutside
(I_App_Id => 2057
,I_Page_Id => 1750
,I_Apex_User => Pusername
Owa_Util.Redirect_Url('f?p='||pstartapp||':'||pstartpage );
-- end if;
End Doinitapex;
Edited by: wcoleku on Dec 6, 2011 4:34 PM
Edited by: wcoleku on Dec 6, 2011 4:42 PM

"Upgraded" meaning in this case that - when you log on through that pop-up - SSO between the different Oracle sites doesn't work anymore (OTN, metalink,mix etc.). Almost like a M$ upgrade ;-)

Similar Messages

  • Since updating to 3.6.1 I don't get an empty browser window in my tool bar whe. it opens --- just a list of search engines. I can't find anything in "Help" or the FAQ's that seem to address this. My only choice seems to go back to Safari.

    Since updating to 3.6.1 I don’t get an empty browser window in my tool bar when it opens --- just a list of search engines. I can’t find anything in “Help” or the FAQ’s that seem to address this.
    My only choice seems to go back to Safari.

    I am not sure what your problem is, can you give more details.
    One possibility is you may be in full screen mode, for details on fixing that see the [[menu bar is missing]] article.
    If you are missing various toolbar items, see the [[back and forward or other toolbar items are missing]] article.
    If your problem is something else please give more details.

  • How to duplicate browsing windows, instead of reopening the home page, when opening new windows?

    When any new browser windows are opened in Firefox, it reopens and re-reopens and re-re-reopens the home page instead of opening ANY new copies of ANY of the browser windows from which the command "New Window" was originally made.

    Try this extension:
    Clone window: http://www.pikey.me.uk/mozilla/?extension=cw

  • Firefox not opening a private browsing window instead getting another normal browsing window

    I went through the forum question and found answers and tried that but it does not seem to resolve the problem.
    Tried the steps given before that doesn't resolve it
    tried uninstall completely and reinstall with new setup , still not getting the private browsing
    current software config:
    Windows 7 32 bit
    with Firefox 31 version
    Thanks for your help .

    Hello Philip,
    You are right about the setting and your solution is working but given the option of setting to never remember history and then defaulting to private browsing mode is not given as a note to user while this option is selected,seems to me as a user experience hiderring issue.
    However , I have found out that we can still will be able to open in private browsing mode for window 7 OS system by using ''right click option on pinned firefox from the taskbar is still able to launch the firefox in the private browsing mode.''
    Please try it, its working even when we have set set firefox to "never remember history" in the options>privacy panel
    Thanks philip for sharing your valuable findings for better firefox browsing experience

  • Issue Tracker app closing the browser window on chart page

    Hi!
    I am walking through the Issue tracker tutorial. I have created page 10 (Issues Resolved by Month) which is the chart page. Everything looked fine until I try to run the page. Then it simply closed the browser window after it authenticates me. Anyone else see this? Any ideas?
    Thanks!

    Probably a problem with your SVG viewer installation. Does it happen on other chart pages as well? What browser/svg viewer version combination are you using? There are some known issues with what's labeled as the current svg viewer on Adobe's website and Firefox.
    Earl

  • When I click on link it opens a word document instead of a web page. How do I make it open browser window instead.

    Please give detailed instruction on hat settings I hav to change I make it open to a website instead of a word document file when i click on a link

    Do you mean that you see the HTML code instead of a rendered page?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • No longer opens webpages and links in tabs, but new browser windows instead. I have the check box for tabs selected and have FF 3.6.8 on a MAC?

    Tabbed browsing doesn't work. Opens in a new browser instead

    I want to ask for more information. Does File - New Tab open a new tab? Does the issue happen in [[Safe mode]]?

  • Keeping all pages in one browser window

    I'm trying to figure out how to have all of my pages for my
    site open under one browser window instead of opening up a new
    window when each button is clicked.
    I built Flash buttons for the pages and they work fine...I'm
    new at this and haven't figured out how to get the pages to open up
    in the main (index.html) browser window. I've tired doing it using
    the Add Behaviors, GoToURL selection but it doesn't work...also the
    only selection that appears is Main Window*, and I don't know what
    the * signifies. I'm sure that this is simple...help please!

    > I built Flash buttons for the pages and they work fine
    Does the page use Frames?
    http://livedocs.adobe.com/flash/9.0/main/00001180.html
    note this paragraph:
    Security note: In Flash Player 9 and later, when code in a
    SWF file that is
    running in the local-with-filesystem sandbox calls the
    getURL() function and
    specifies a custom window name for the window parameter, the
    window name is
    transfered into a random name. The name is in the form
    "_flashXXXXXXXX",
    where each X represents a random hexadecimal digit. Within
    the same session
    (until you close the containing browser window), if you call
    the function
    again and specify the same name for the window parameter, the
    same random
    string is used.
    so, targeting named frames is effectively broken when viewing
    local files
    AFAIK.
    They should work as intended when uploaded to a server.
    If that's not it, url address to the uploaded page please.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Linking a page as a browser window from a drop-down menu item

    I have tried to link from a drop-down menu item to link to a small browser window instead of a full page.  I tried using the "behaviors" but I got both the regular page and the browser window.  Is there a way to make it just the browser window.
    Thanks.

    I tried that target=_Blank" but I still got the regular page plus the small browser window .  I got rid of the Behavior for now.  My aim is to would display the page in a simple 450 wide x 450 long browser window with a scroll bar with nothing else.  If you can give me a code hint to do that, It would be appreciated.  I'll figure out the rest.
    My HTML coding skills are limited, as I'm used to using FP.(FP seems to be to the Web circles as the Bard's Scottish Play is to the theatrical world)

  • Browser window gone! Happened when I downloaded bar "partially" to get coupon. cancelled before finished. Deleted it in computer...still no browser

    Made the unwise decision looking for a coupon to download a bar. Canceled before it finished .. went into computer and deleted. Everything there on my page except the browser window/bar My page is I think an AOL Firefox page. When I turn on computer normally I have a big search engine in the middle which I ignore. I go to browser and start www.aol (never have to finish..drop box has log in..click)& Huffington post comes with email available. Have my news & then go to email. I like that! Now NO browser window!! To get to email had to go to history and find past & update! Clicked on browser control...warnings & error! How do I fix this? Not tech y so please easiest fix?!
    Windows 7...apparently Firefox auto took me to 25.0.1.
    Normally have only good things to say...this was my doing...hope you all can help me easily undo!!

    Well now I have lost my Firefox emblem, file, edit, history, etc. & most important can't click on help or settings because all is gone! I was able to get into mail before by going to history and finding AOL.
    Now I can click at top and still have open windows at top and one is AOL...but if lose that & I'm really lost!!
    When on AOL there is only that page...nothing else. At some point yesterday I clicked on settings (I think) & somehow stumbled on page that said the following...
    Config Proxies to access (something) then boxes I'll list not marked but one marked.
    no proxy...auto detect proxy...manual proxy config (Use system proxy was checked) then many many things with boxes not filled in...like HTTP,SSI,FTP, Socks host...below that socks v5 checked.
    Then a box that said above no proxy for...inside said, local host 127.0.0.1
    Below box it said Example: Mozilla.org.net.nz or maybe mz...192.168.l.0/24
    Then an unchecked box saying:proxy config URL:
    I am truly afraid to touch anything but what do I have to lose now...guess nothing. Have read all the problems everyone is having..whats up with all that!! Read somewhere that if I had an AOL proxy setting I have to un-install Firefox & start over. Honestly that is beyond me...my son first installed everything on computer when new. Apparently I had checked for firefox to auto update... knew there were problem's with this...or maybe I just got tired of them telling me & did it myself.
    Where do I, a novice, go from here? I gathered I caused this myself when I tried the d___ bar for coupons. This is when everything happened. Should I go to one of those free places to check for malware? Must go now but will check for response later aft. Thank you for trying to help me!

  • Need Help Centering Page in Browser Window

    I'm designing my pages by creating a graphic framework in
    Photoshop, slicing and exporting images into css using Fireworks to
    a Dreamweaver html page. These pages look great; but they load into
    the upper left corner of the browser window
    I was taking a Dreamweaver class at the Denver Art Institute,
    that was worthless. I dropped the class after the 4th week and am
    now teaching myself. I asked the teacher how to center this kind of
    page in a browser window, so the page would behave like most
    webpages, centering as you change the width of the browser window.
    I also wanted to add a repeating pattern in a background image. She
    told me that she didn't know how, that I would have to build the
    background into my Photoshop file. So, that's what I've been doing.
    However, when people with smaller monitors change pages within a
    site the built-in background requires them to recenter the page
    manually each time.
    Is there a way to center the page and add a background image
    that is not built in? I've tried using Dreamweaver's background
    image and margins in the Page Properties; but that just pushes the
    page to the upper left and adds the background to the right and
    bottom of the page.
    Please visit:
    http://www.livingwater.la,
    http://www.renegadegraphics.biz
    and
    http://www.dentalmatchmakers.net
    for examples.
    Thanks for your help.
    Mary

    >I was taking a Dreamweaver class at the Denver Art
    Institute, that was worthless
    Yes, those classes usually are worthless because they focus
    on using the tool without giving you the proper foundation for
    understanding and managing html and css. Unfortunately, all of the
    example sites you gave you AP Divs (layers) as a primary layout
    method, which is a terrible approach. AP Divs should be used rarely
    if ever, and only when you understand how they work. When the
    visitors font is sized differently than you expected, the site
    falls apart. The correct approach is to learn web
    design/development outside of the context of a specific
    application.
    http://www.w3schools.com/html/
    is a good place to start for a basic understanding of html and css.
    And some basic layout techniques can be found here:
    http://apptools.com/examples/pagelayout101.php

  • Linking to one new browser window?

    Can anyone tell me how to open multiple pdfs from one page in
    the same new browser window instead of opening multiple windows in
    Dreamweaver 8 (MAC)?

    You would not be able to do this by linking directly to the
    PDF. This is
    what I said in an earlier post.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "thephitt" <[email protected]> wrote in
    message
    news:fn31c9$7l4$[email protected]..
    >I am able to get the pdfs displaying in the same window
    and coming to the
    >front
    > by using the OpenBrowser Window behavior EXCEPT the
    first link (any link)
    > I
    > choose gives me a page in IE (PC) stating "The Web page
    can not be
    > displayed".
    > If I choose the same link again it will display on that
    page and all
    > others
    > that have the same behavior. Here is an example of the
    code to open the
    > link.
    >
    > <a href="pdfs/winter_2007.pdf" target="feapdf"
    class="style1"><u
    >
    onclick="MM_openBrWindow('pdf:blank','feapdf','')">Current
    Newsletter
    > </a>
    >
    > URL to display = pdf:blank
    > window name = feapdf
    > target set to feapdf
    >
    > Again, works fine on the MAC but this issue occurs on
    the PC using IE
    >

  • Opening a URL in a new browser window

    Hello Experts,
    I am trying to open a dynamic url in a new browser window from a Portal application (travel and expenses). Basically, when a user clicks on the submit button, Badi IF_EX_TRIP_WEB_CHECK~USER_CHECK_CHANGES is called. In the BaDI, we have added code to concatenate a parameter to a url and then open a new browser window with that url. This works perfectly in r/3 using a tcode (pr_web_1200) but when I use the portal application under ESS, the window does not open and no error message is issued. We are using METHOD cl_gui_html_viewer->detach_url_in_browser. Any idea why this is not working through ESS in Portal? Is there some other method that we need to use? Any help is appreciated.
    Regards,
    Sal

    check....
    Re: Open Portal Transaction iView in new window *without* Browser window
    for iView (page) you probably set the property 'Launch in New Window' to value Display in Separate Window. To tune up the other otions you have the possibility to set the property Window Features, value should contain toolbar=no. These features will be used when Javascript opens up your window - you can apply any option coomonly documented. IMHO for your demands the best option is fullscreen=yes,toolbar=no - you get really the maximum possible size.

  • Firefox will not open. Process runs, but browser window will not open.

    I am unable to get the Firefox browser window to launch. The application will attempt to open, but the browser window will not appear. Task manager indicates that the process is running, it just will not launch the window. No amount of restarts or reboots will make a difference. The strange thing about this is that Firefox has never run. This is a new computer and this issue has been a problem since it was first plugged in.
    Troubleshooting steps attempted thus far:
    1) Attempted to open in safe mode - will not open
    2) Attempted to run in administrator mode- will not open
    3) Completely uninstalled application, including profile info and reinstalled
    4) Uninstalled known conflicts - Skype 4 (do not have Norton)
    5) Even though issues since new, I ran a virus scan just in case-nothing
    6) Uninstalled Chrome which I installed after originally being unsuccesful at getting FF to install (I uninstalled it before I began all of these troubleshooting steps as I have heard of conflicts)
    I am now at a loss and willing to try any other steps that you guys can suggest.
    Computer is running Windows 7 pro 64 bit. Running McAffee virus software. There are three identical computers in my office, purchased at exactly the same time with the same configuration. Mine is the only one that will not run firefox. Sadness. Please help, pleeeease...

    Win 7 with iTunes installed - I was also having problems with that.
    "netsh winsock reset" at the command prompt resolved all issues and Firefox launched normally.
    Check to see if Winsock is corrupted. May prevent FF from communicating with the web and consequently fails to launch properly - for my situation was not a firewall or antivirus block!
    http://support.microsoft.com/kb/936211#LetMeFixItMyselfAlways
    Click Start, and in Start Search, type cmd.
    Right-click the cmd entry that appears in the search results, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
    At the command prompt, type the following, and then press ENTER:
    netsh winsock reset
    Then, you should see the following message:
    Successfully reset the Winsock Catalog. You must restart the computer in order to complete the reset.
    Restart the computer.
    Note If you receive an “Access Denied” error message instead of the message that is mentioned in step 3, the command prompt was not correctly elevated. In this case, close the Command Prompt window, and repeat steps 1 through 3. Make sure that you correctly implement step 2.

  • Behaviors: Open Browser Window

    When I have a link with behaviors to "open browser window" I
    do get the new browser window opening up at the desired dimentions
    that I specified. The problem is the main page too opens up that
    same URL. How do I prevent it from doing so?

    Wait - he removed that (as recommended originally) in later
    posts in the
    thread. Or maybe he didn't.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "David Powers" <[email protected]> wrote in message
    news:gen134$8pe$[email protected]..
    > Edmond4 wrote:
    >> it appears the SmartLink didin't insert or code it
    right.
    >
    > There's nothing wrong with SmartLink. The answer, as
    always, lies in the
    > code:
    >
    > <td valign="top" class="p_videoTitle"
    >
    onmousedown="MM_openBrWindow('/port.html','Portfolio','width=750,height=600')">3D
    > Demo Reel<br />
    > <a href="/port.html"
    >
    onclick="dpSmartLink('/port.html',0,700,525,'c:16','s');return
    > document.MM_returnValue">Watch in 2X
    Size</a></td>
    >
    > The onmousedown attribute triggers MM_openBrWindow
    whenever anyone clicks
    > anywhere in that table cell. SmartLink has been applied
    to a link inside
    > that cell. Consequently, clicking the link triggers both
    SmartLink and
    > MM_openBrWindow. Remove the Open Browser Window behavior
    from the table
    > cell, and it will work the way you intended.
    >
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "The Essential Guide to Dreamweaver CS3"
    (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

Maybe you are looking for

  • Error while executing LUW in SM58 - Mess.No.SY359

    hi, error while executing LUW in SM58 Error. Mess.No.SY359 "Function module does not exist or EXCEPTION raised-sy359" trfc has been configured and try to push the Idoc through SM58 need help on this. Regards Leo

  • Choose what the side switch does

    I have ipad air and i can choose between making the side switch Mute the device or lock the rotation. I also have an iphone 4 and i would like to be able to do the same. can i do that? the software is the same or ios 7.1 My actual problem is that on

  • Multiplexer error in iDvd 09 burn

    How do you fix a multiplexer error that occurs during an iDvd burn process?

  • 10.4.6 is FAST

    Greetings, After 1 day of using 10.4.6, my mac exhibits no problem so far. One thing I'm sure is that my Mac starts up much faster than before. It doesn't even show the startup bar at all. I'm happy.

  • Oracle Server in Windows-ECC5.0 in AIX

    Hello, We have a ECC 5.0 Evaluation Version kit from SAP . The Software Pack contains Oracle server ( 10 g ) for windows and Client Oracle for AIX and ECC is for AIX. Shall I install Oracle server in Windows and Client in AIX ( Where SAP is residing