Public pages and session = 0

Hi,
Just so I understand correctly the usage of session 0 for public pages.
In order to see the "0" in the app_session , we have to call the public page with ... :0: .... in the url ? ex:(f?p=877:1:0)
Does that mean that everywhere in my menus (and reports) , I have to change the &APP_SESSION. by 0 for all my public pages ?
If so , it seems that when I am connected, I than loose my session state if I call a page with session 0 .
How can I use that feature for my public pages that changes when I am connected ?
I tough that when a page was public, the session in the URL would show 0 but the session id would be kept in a cookie or something ?
Thanks
Francis.

Hi Scott,
I'm sorry , but there is something that I don't understand.
For some pages , when I use the session 0 , all the links in that page contains 0
and for other pages , even if I use session 0 , all the links contains a session id.
Here are some examples :
Not working with session 0 : http://apex1.insum.ca/pls/apex/f?p=105:34:0
(you will see that the links in the region "Communiqués" uses session id) (Even in the navbar, some links have 0 some others don't ??)
Working with session 0 : http://apex1.insum.ca/pls/apex/f?p=105:44:0
(links in the region "Petites annonces" uses 0 in session id)
Both are pages from the same application with select 'f?p...'||:APP_SESSION
Many Thanks
Francis.

Similar Messages

  • Webcenter Spaces internal error page and session timeout page customization

    Hi
    On what basis is an internal error page shown in webcenter spaces? What triggers it?
    Is it possible to customize the internal error page that shows up on webcenter spaces?
    Or atleast redirect to a custom error page on any exception occured?
    Is there any other way to handle it?
    Also, how to customize the session timeout page? Is it possible?
    There seems to be a servlet being called for session timeout display i dont see any page being redirected to.
    Environment details: Webcenter Spaces 11.1.1.6
    Help needed on this asap please.
    Thanks

    Hi,
    I was experiencing the same problem with customizing the session timeout page. I found out that you can set a custom webcenter attribute in the webcenter-config.xml called "wcSessionTimeoutURL" which overrides the default servlet response and redirects the the specified path.
    In my example, I created a business role page, set it to be publically accessible, then used the Red Samurai MDS Cleaner taskflow to modify the custom attributes in webcenter-config.xml in the following way:
    <webcenter:custom-attributes>
    <attribute name="wcSessionTimeoutPeriod">
    <description/>
    <type>java.lang.String</type>
    <value>45</value>
    <visible/>
    </attribute>
    *<attribute name="wcSessionTimeoutURL">*
    *<description/>*
    *<type>java.lang.String</type>*
    *<value>/faces/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/businessRolePages/Page1.jspx</value>*
    *<visible/>*
    *</attribute>*
    </webcenter:custom-attributes>
    Hope that helps!

  • Session 0 (Zero) and public pages

    Hi APEX gurus,
    I have some difficulties with public pages and session 0 in combination with Tabs.
    The problem occur when i click on some of my Tabs. For some reason the session 0 is replaces with the proper session id. This only happens for some Tabs. When i go back to the previous Tab, session 0 i back i the URL...
    I have tried to replicate this problem in a new application but I'm not able to reproduse this behavior :(
    I use APEX version 3.2.1.00.12 and I only use one level of Tabs.
    Can anybody give me a hint or clue to how I can debug this problem?
    Best Regards
    Trond

    Some time ago, probably at the time of apex version 3.0 or even before, i had a similar issue.
    Session zero makes sense if you are trying to get a stable URL that can be indexed optimally by search bots.
    If you have a similar requirement, then it makes sense to change tab templates and replace javascript doSubmits with links containing session zero, because that will enable spiders to drill down your application, which would be impossible in the other way, unless there are additional links somewhere else in the page.
    You will achieve the twofold result of stabilizing the indexed URLs and also make session zero more persistent for the user.
    Flavio
    http://oraclequirks.blogspot.com

  • Public pages in authenticated application (NTLM)

    I've been using a custome authentication method based on the NTLM Authentication method documented in the [white paper|http://www.oracle.com/technology/products/database/application_express/pdf/apex_ntlm_authentication_wp.pdf] for a while now with no problems.
    This basically does the following 2 steps:
    1) Standard NTLM Auth
    2) Check returned user ID exists in a seperate table containing valid users
    I've recently been working on an application where the bulk of the application is restricted to users with relevant permissions to edit the data. However there needs to be a public search facility open to anyone.
    I was assuming that I'd be able to do this by just setting the authentication of the relevant page to "Page is Public", however this has presented a problem.
    When I run the app as a user which passes both steps above (ie. auth succeeds), everything works fine.
    However when I run as a user which fails step 2 above (auth fails) the public page loads fine, but whenever anything is posted I get an error like
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7621 Could not determine workspace for application (:) on application accept. Also this problem only rears it's head in IE (tried in 7&8), everything works fine in Firefox.
    Also I've created a seperate application with just the public page (and the application set to use the DATABASE auth (i.e. no auth)) and this works fine.
    This is fine as a workaround in this one instance, but i suspect there is likely to be call for similar public pages in other applications, and I don't want to have to create seperate apps for these unless I really have to.
    Anyone any ideas about what the cause of the problem may be, or even pointers about where to look?

    Try Page properties, Security tab, Authentication setting. It has values: Page requires authentication (default) / page is public. Havent tried though..
    Just tried. it works. i manually changed page address in address line like http://something.lt:7777/pls/htmldb/f?p=103:19:3411287399936455. The user connected is "nobody". Public page is page 19.
    Simas
    Message was edited by:
    SimAkas

  • Public page asking for authentication

    Hi there,
    I have three pages in my application (aside from the login page) that are publicly accessible; ie, they have the 'Authentication' field in the page attributes set to 'Page Is Public'. Two of the pages work fine; they are accessible to unauthenticated users and display without hindrance. However, the third page always displays the login page instead of the page itself.
    There are differences between the way the pages are referred to. For example, setting pages' caches to be cleared, so I have tried using URLs with these components being the same and still get different behaviour. Also, they differ in setting variables in the URL so again, I have tried both setting variables and not in both the working and non-working pages and always get different behaviour.
    This is most strange behaviour; I have, within the same application, pages which should work the same way but don't. I would create a test case but the test case already exists within the application (the working public pages) and doesn't cause a problem.
    What reason could there be that one page set to be publicly accessible works fine with unauthenticated users but another page asks for authentication?
    Thanks,
    Robert

    Hi Dimitri,
    There's been a misunderstanding here. I don't use caching. What I mentioned was regarding the ClearCache component of Apex URLs (the 6th component.) Any pages listed in this component will have their item values cleared. This is distinct from Apex's rendering cache which appears to be what you're referring to.
    The issue is to do with different authentication behaviour in pages with the same settings.
    Regards,
    Robert

  • How To Make A Public Page Parameter (similar to session)

    Hi, I'm new to Oracle Portal
    I wonder how to make a public parameter that can be accessed from any page (similar to session).
    So the portlets can use the public parameter.
    Case:
    when user logged in, I pass the employee_ID to the session.
    Portal pages, which contains employee portlet, and some other portlet depends on employee_ID.
    So I think, may be there's a way to set the parameter for once, but the value is accessible until the user log off.
    Any suggestion or help?
    Thx before,
    Chris

    Let me explain the problem once again:
    Page 1 Portlet 1 contains employee table
    ID, Name, Address
    When I click the employee ID (using event), it will be pass the value to page parameter EMPID
    And i want this EMPID can be accessed by
    Portlet 2 - Showing sales report
    Portlet 3 - Showing report
    Portlet 4 - Showing chart
    Portlet 5
    and so on
    Portlet 2, 3 4, 5, and so on is using EMPID as the parameter too,
    but these portlets are located in different page
    Portlet 2 is in page 2
    Portlet 3 is in page 3
    Portlet 4 is in page 4
    Portlet 5 is in page 5
    and so on
    First I think about using Package wwpro_api_parameters
    but after read further, this package can get and retrieve only
    I wonder can this (public page parameter) be done by using default Oracle Portal Tools / API, or I should do some java coding, or something else?
    Please help me...
    Thanx before,
    Chris

  • My problem is that I am working on a page and then I receive ....Error saving the journal. Perhaps your session has expired-try reloading the page".

    My problem is that I am working on a page and then I receive ....Error saving the journal. Perhaps your session has expired-try reloading the page". I used to receive from Firefox when reloading page...To display this page, Firefox must send information that will repeat any action'. Now I don't receive this message and I lose info that was entered. How do I get this to pop up again so I can save my messages.
    Using Firefox 22.0 u to date

    This can be caused by corrupted cookies or cookies that are blocked (check the permissions on the about:permissions page).
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    You get an alert about resending POST data if you go back to a page or refresh a page that was previously requested from the server by submitting form data via a (hidden) POST form.<br />
    Firefox can only make sure to get the same page by resending that POST form.<br />
    Firefox doesn't know what that form data means, so Firefox asks for confirmation before resending that form data as such an action can cause you to repeat an action and buy another item or post a message another time.<br />
    A way to prevent this pop-up about resending POST data is not to use the Back button, but to open links on a page requested from a server by sending a form with POST date in a new tab (window) with a middle-click or a Ctrl + left-click.

  • New session started with an advertizing page and all my tabs are lost

    New session started with an advertizing page and all my tabs are lost. Restore the previous session is not active. How can I restore my tabs?

    This advice might come too late, but, don't exit Firefox! Or if you already did, don't start it back up again!
    ''If Firefox is running:'' Open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This should launch a new window listed various files and folders. For best results, change the view to "Details".
    (''If Firefox not running, get to this folder by pasting the following in the Run box on the start menu and pressing Enter: %APPDATA%\Mozilla\Firefox\Profiles and then double-click into the most recently updated semi-randomly-named folder you find there.'')
    In the window that launches, scroll down and double-click into the '''sessionstore-backups''' folder. Save all files here to a safe location, such as your Documents folder, so Firefox doesn't overwrite them. We may be able to use them to recover your lost tabs.
    Also, if you return to the main level of the profile folder, you may find some sessionstore files. Copy those to the safe location as well.
    Could you report back on what you found?
    Note: If Windows hides the .js file extension from you, you can change a setting so that you can see all file extensions (this helps when renaming files). This support article has the steps: http://support.microsoft.com/kb/865219 or http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions
    The kinds of files you may find among your sessionstore-backup files are:
    * recovery.js: the windows and tabs in your currently live Firefox session (or, if Firefox is closed, your last session)
    * recovery.bak: a backup copy of recovery.js
    * previous.js: the windows and tabs in your last Firefox session
    * upgrade.js-''build_id'': the windows and tabs in the Firefox session that was live at the time of your last update

  • TS1398 I can see the public network and it show the the conected bars at the top, but it doesn't prompt me to the main page to log in

    I can see the public network and it show the the conected bars at the top, but it doesn't prompt me to the main page to log in

    I tried that, I am staying at a hotel and it shows the network and it shows the conectivity bar at the top, generally it sends me to the main wifi page and asks me to type a password... but it doesn't even send me to that page at all, I did a network reset and still not working

  • Just installed Firefox 9.0.1. When opening a new browser session, two tabs will open. One is my home page and the other is a Firefox welcome page. I just want my homepage to open. How do I achieve this? Thanks.

    Just installed Firefox 9.0.1. When opening a new browser session, two tabs will open. One is my home page and the other is a Firefox welcome page. I just want my homepage to open. How do I achieve this? Thanks.

    See these articles for some suggestions:
    *https://support.mozilla.org/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.org/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved

  • Page Views and Sessions/Users for web tests

    It seems that when you have a URL ping test that the sessions and users count increases but the page views do not counted. Is this correct? I have 10k sessions/users over the last week but ~150 page views. If I look at the server requests I also have around
    50K server requests (around 5 requests on the home page).
    Why is App Insights not tracking page views for the web tests but it is tracking everything else?

    Currently this is a correct behavior. Page Views are sent by javascript snippet which is not executed when you use web tests. User and session are counted by server side logic (AI Web SDK) which is executed. We will add a feature that detects synthetic
    traffic very soon. When implemented charts will filter out users and sessions created for web test pings.
    Anastasia

  • How to parse a web page and use same session(?) to post ?

    hi,
    lets say there a web page requesting:
    -username
    -password
    -sequence of letters ( assume its not an image, it is just plain text)
    i can get the source of page and parse and find the sequence.
    however i couldnt manage to post it. (the sequence changes)
    any help would be great, thx..
            try {
                int statusCode;
                String urlAddress =  "mywebpage";
                HttpClient client = new org.apache.commons.httpclient.HttpClient();
                String key ="";
                URL url = new URL(urlAddress);
                URLConnection conn = url.openConnection();
                DataInputStream in = new DataInputStream ( conn.getInputStream (  )  ) ;
                BufferedReader d = new BufferedReader(new InputStreamReader(in));
                StringBuffer buffer = new StringBuffer();
                while(d.ready())
                   buffer.append(d.readLine());
                int index = -1;
                String contents =buffer.toString();
                index = contents.indexOf("operation");
                while (index  > -1) {
                    key  = key + contents.substring(index+10,index+11);
                    index = contents.indexOf("operator", index+11);
                System.out.println(contents);
                System.out.println(key);
                /*GetMethod getMethod = new GetMethod(urlAddress);
                getMethod.getParams().setCookiePolicy(CookiePolicy.RFC_2109);
                statusCode = client.executeMethod(getMethod);
                if (statusCode != -1) {
                    contents = getMethod.getResponseBodyAsString();
                    index = -1;
                    index = contents.indexOf("mp3sesler");
                    while (index  > -1) {
                        key  = key + contents.substring(index+10,index+11);
                        index = contents.indexOf("operation", index+11);
                    System.out.println(contents);
                    System.out.println(key);
                PostMethod method = new PostMethod(urlAddress);
                // Configure the form parameters
                method.addParameter("user", "test");
                method.addParameter("pwd", key);
                // Execute the POST method
                statusCode = client.executeMethod(method);
                if (statusCode != -1) {
                    contents = method.getResponseBodyAsString();
                    method.releaseConnection();
                    System.out.println(contents);
            } catch (Exception e) {
                e.printStackTrace();
            }

    perhaps the website checks its source? What HTTP response do you get back?

  • HT2589 I keep on trying to buy the pages and numbers apps and every time I put in my payment info the window comes up saying 'session timed out''?

    Can someone please tell me what I need to do? I've tried putting the date back a month? Is there anything else I can do?
    Thanks

    On iPhone 4, 4s and 5 and Ipads IOS6,  go to settings, and locate Store.  Click your Apple ID and sign out on Store and then re-sign in your Apple ID, and session timed out issue will be fixed. I tried this myself and confirmed working =) Good Luck.

  • GetParameter, setAttribute and session values

    I am having a problem forwarding values to a jsp from my servlet.
    This problem only occurs when multiple users are accessing the same pages to make a payment.
    The value is passed from the page to the servlet.
    The servlet gets the value using a getParameter.
    //Get the value from the previous page
    String DocTotal = request.getParameter("DocTotal");
    logger.debug("DocTotal: " + DocTotal);
    //set the value to pass to next page
    request.setAttribute("payAmount", DocTotal);
    displayTemplate(CREDITCARDPAYMENT);
    displayTemplate code follows.
    RequestDispatcher rd = getServletContext().getRequestDispatcher(template);
    rd.forward(req, res);
    I then set the value in the request object to pass to the next page.
    This all seems to work fine for a single user but when I I have more than one user, one user will get a null for value being passed on the next page and the other user will not get the page displayed.
    It is like my session values are getting stomped on by the other user.

    The changes that you have suggested seem to work, but I still have a problem.
    One user seems to be able to get the data passed successfully to the next jsp, but the other just gets a blank screen. If the user with the blank screen refreshes they get the screen with the data. It is as if the servlet hangs up when calling the page. I am not sure.
    Here is the code that is being accessed with formatting.
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    req = request;
    res = response;
    HttpSession session = req.getSession(true);
    logger.debug("Made it to the doPost method of DownloadUtilServlet!");
    logger.debug("session: " + session);
    String cmd = req.getParameter("cmd");
    logger.debug("cmd equals: " + cmd);
    if ((cmd != null) && cmd.equalsIgnoreCase("forwardPaymentInfo")){
    XCBillerCenterItem bci = null;
    try{
    logger.debug("XCConfig.CCUSER: " + XCConfig.CCUSER);
    bci = new XCBillerCenterItem(XCConfig.CCUSER);
    catch(Exception e) {
    logger.debug("XCBillerCenterItem Create: " + e);
    String ccList = bci.getCCTypes();
    req.setAttribute("ccList", ccList);
    logger.debug("cmd equals: " + cmd);
    String DocTotal = req.getParameter("DocTotal");
    logger.debug("DocTotal: " + DocTotal);
    req.setAttribute("payAmount", DocTotal);
    displayTemplate(CREDITCARDPAYMENT);
    }//User has paid, proceed to download
    else if ((cmd != null) && cmd.equalsIgnoreCase("downloadreportfilter")){
    displayTemplate(DOWNLOADREPORTFILTER);
    else{       
    GetParameters(req, res, session);
    public void displayTemplate(String template)
    try
    RequestDispatcher rd = getServletContext().getRequestDispatcher(template);
    rd.forward(req, res);
    catch(Exception e)
    e.printStackTrace();

  • Form based login, iframes and session time out

    Hi all,
    I'm trying to create a site using form based login.
    The site contains a page protected page, default.jsp that have a logout button/link (clicking it invalidates the session), and a navigation bar with links linking opening them in iframes inside the default.jsp page:
    I have also a login.jsp page and and a error.jsp page
    Everything works fine I can login, I can logout. My problem occurs when the session times out and the user tries to access protected contents in the internal frames. He then is promted for a new login. The problem is that the login,jsp page now turns up inside the jframe designatet for my contents.
    I woud have liked the login page to turn up at the top level i.e. filling the entire browser window (i.e on the same level as the default.jsp page). Is this somehow possible?
    Regards
    Uno Engborg

    Easy answer: use JS to jump out iframe.
    Best answer: don't use iframes, but use server side includes like jsp:include. Iframes have too much disadvangages, topping the extremely bad SEO and UX.

Maybe you are looking for

  • The problem about http proxy.

    Dear all, I am trying develop a java program by following the SAP NetWaver Library. http://help.sap.com/saphelp_nw04s/helpdata/en/c4/e1343e8c7f6329e10000000a114084/frameset.htm But it always catches the IllegalArgumentException because XI server isn'

  • Music format. URGENT HELP NEEDED....

    can any1 help me in answering is it possible to covert an mp4 file back to an mp3... i ahve burnt music off a mates computer in mp4 format onto a cd. i ahve now loaded it onto my i tunes but i need the cd in the computer for it to play.... there take

  • FB70: User exit when the save button (for posting) has been click

    Hi ABAP Gurus, With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked? Thanks! <b> Best Regards. Brando</b>

  • LSO Configuration

    Hi pals, please help in configuring LSO in the portal end... we are using EP 7.0. Send me any cook books you have for that to my mail id. [email protected] Help will be highly rewarded since its very urgent... regards, vijay

  • OS X 10.6.8 and missing plugin for videos despite latest version of Adobe flash player. Any suggestions please?

    I have OS X 10.6.8. Despite downloaded latest version of Adobe flash player and VLC 2.0.4 I`m in trouble with `missing plugin` for videos. Any suggestion please?