Session 0 (zero) and public pages

Hi gurus of the APEX.

I have some difficulties with public pages and the session 0, in combination with tabs.
The problem occurs when I click on some of my tabs. For some reason any session 0 is replaced by the id of the session itself. This only happens for some tabs. When I go back to the previous tab, session 0 I I return the URL...

I tried to reproduce this problem in a new application, but I am not able to reproduse this behavior :(

I use APEX version 3.2.1.00.12 and I use only one level of tabs.

Can anyone give me a tip or an idea how I can debug this problem?


Best regards
Trond

you need to 'engineer' a little your tabs and pages:

<a href="f?p=APP_ALIAS:#TAB_NAME#:0" class="current" title="#TAB_LABEL#" #TAB_INLINE_EDIT#>#TAB_LABEL#</a>

Tab names must match alias of page otherwise it will not work.

Flavio

------
http://oraclequirks.blogspot.com

Published by: flavioc on March 12, 2010 14:39

Tags: Database

Similar Questions

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

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

    Great work!

    Sessionstore.bak files are ancient, probably autour time that you have installed Firefox 33 when the sessionstore-backup folder has been added.

    To try using one or more files in the sessionstore-backup folder, here is the process:

    (1) exit Firefox and it must create a sessionstore.js from the main level of the profile folder file.

    (2) rename sessionstore.js to sessionstore.old file, or if you think that you will ever need, delete it.

    (3) copy in recovery.js or previous.js and rename sessionstore.js.

    (4) start Firefox then try to restore previous Session. Those are the tabs you want? If this isn't the case, you can try one of the other files in your backup sessionstore-backup.

    If none of the files has the missing tabs, you could try a recent Windows restore point. It's more complicated on Windows 8 on Windows 7, and you could benefit from using a third-party utility. These have been mentioned in another thread:

    Or... I read on a roundabout way to get previous Versions on the Properties dialog box in Windows 8. I can't test it myself, but here's what you do:

    In the address bar of your Windows Explorer dialog box, replace the current path with the following and press ENTER:

    \\localhost\c$

    Then click at the end and nail on the following (with your user name) and press ENTER:

    \Users\username\AppData\Roaming\Mozilla\Firefox\Profiles

    That should help you in the vicinity of your profile folder. Then you can right-click sessionstore.js > properties > Previous Versions, or try one of the files in sessionstore-backups.

  • Share the attribute Scope Session between Bean and Servlet

    Hello

    I use jdeveloper 11.1.1.3.0

    Before I created a post on java.util.Map page jspx parameter sent to a servlet. pass to the parameter java.util.Map to Servlet

    The proposed solution was the setting of the card to the session scope attribute and use this parameter in the servlet.

    I created a bean with a session scope and defined an attribute (MapParam) in this bean and set the value to him.

    But when I want to get the value of this attribute (MapParam) in a servlet doGet method via the below code, it returns null

    public void doGet(HttpServletRequest request,  HttpServletResponse response) throws ServletException,
                                                               IOException {
    
                     HashMap param = (HashMap)request.getSession().getAttribute("MapParam"); // returns null
    
    }
    

    I want to know how to fix this?

    Habib

    Habib,

    The SessionScope and an extended session bean are two different things. SessionScope is a map interface to the set of objects that are directly related to the HttpSession (via the HttpSession.setAttribute () method. A scope of session bean is one of those objects that are related to the HttpSession. Setting a property of a range session bean does not mean that you add this property directly to the SessionScope, so you cannot directly search the SessionScope for this property. You can search however for the purpose of bean in the SessionScope and then take the value of the property of the bean object.

    Assuming that your level of the session bean is mapped under the name of "uiStateBean" and its class is screen. UiState, you can get the MapParam in the servlet in the following way:

    public void doGet(HttpServletRequest request,  HttpServletResponse response) throws ServletException,  IOException {
      UiState bean = (UiState)request.getSession().getAttribute("uiStateBean"); // Get the uiStateBean instance from the HttpSession
      HashMap param = (bean==null) ? null : bean.getMapParam(); // Get the MapParam value from the bean instance
      ...
    

    Dimitar

    P.S. The naming convention you use is misleading and it is causing a lot of vagueness. You use the name of "_sessionScope" for a range of session bean, which is not the same thing as SessionScope himself. You also use the name of "MapParam" for a member variable, which is inconsistent with the conventions of Java where the Member variables names must not start with a capital letter. Class and interface names must start with an uppercase letter instead.

  • I opened Firefox accidentally cancel such a rush, but it still opened but did not restore my last session (I needed) and cannot find how to restore - help!

    I opened Firefox accidentally then cancel pressed, thinking that it does not open Firefox if I did it, but it opens it in any case, but does not restore my last session (I needed) and now I can't find how to restore - help!

    This has happened

    Just once or twice

    == I accidentally opened Firefox and clicked on cancel thinking that it does not open Firefox if I did.

    You will find this bookmarking a page (by clicking the star next to the address, or to go in bookmarks > bookmark this page is precisely what we must remember the pages.) This is a feature common in web browsers, and it's very very useful in many situations, including the memory of the location of the pages that you want to see later, allowing access to the pages that you use frequently and other things too.

    If you want to know about session restore, there is a helpful support article here which I think also has information on version 3.0. However, I invite you, once more, update, since older versions (including 3.0) are is more sustained and have known security flaws. In addition, you will not lose any no matter what functionality at all (unless you use modules that are no longer usable by the newer versions, in which case you must contact the authors of Add-ons for support and ask them to update their software), is free and very easy to do.

    If you need other help at all, whatever it is, tips, troubleshooting, step-by-step procedures, feel free to ask here.

  • correct the page id and the page id application id and the id of the sensitivity of the other developer then

    Hi all

    I use apex 4.2 on windows World Bank on internet explore

    I followed the following link

    Oracle - button apex to call a page in another application - Stack Overflow

    at the end of the page, solution provider says

    It seems that your application id and the page id resemble developer links for your pages. You can't share a session as well. It could even be your problem: If you want to bind the user to the page of an application, use the ID correct and not the developer.

    what it means?

    How do I Unlike id and the real id of the developer?

    Please guide me because I think I'm also give the URL of developer which I just copy the URL of the web browser.

    Kind regards.

    Maahjoor wrote:

    I use apex 4.2 on windows World Bank on internet explore

    I followed the following link

    Oracle - button apex to call a page in another application - Stack Overflow

    at the end of the page, solution provider says

    It seems that your application id and the page id resemble developer links for your pages. You can't share a session as well. It could even be your problem: If you want to bind the user to the page of an application, use the ID correct and not the developer.

    what it means?

    This means that, following the structure of the URL of the APEX, in the example

    f?p=4000:4150:&APP_SESSION.

    the application ID is 4000, and the page ID is 4150. 4000 is actually the ID of the application that provides the APEX Builder Application development environment, and page 4150 is the definition of the pages it contains. Application between 3000 and 8999 ID are reserved for internal use of the APEX, so any application ID share you will be outside this range.

    How do I Unlike id and the real id of the developer?

    Please guide me because I think I'm also give the URL of developer which I just copy the URL of the web browser.

    There is no such thing as 'developer id' and 'real id '. Developers and end users run applications using the same ID.

    Note that published URL of permanent demand within applications should use alphanumeric calls and page aliases, ID not digital. This allows a fixed URL to provide to end users while allowing developers and administrators flexibility in how applications are deployed and maintained over time.

    If you have any remaining doubts, provide all the details of what you are doing, including the URL that you create.

  • apex_util.get_blob_file_src ('P21_PHOTO', c.resource_id) public Page

    Hello

    I have a region of the page that is based on pl/sql. This region is actually the recovery picture stored in the table as a BLOB.
    Now, when the user has not logged on the photo does not appear, but if the user then connects the photo appears.
    Could you please help me understand what is happening?

    My setup is as follows
    Version: APEX 4.2
    OS: Windows Server 2008 R2
    DB: 11G XE
    Web tier: Apex listener with Glassfish Server Open Source Edition 3.1.2 run behind apache

    Thank you
    Mehabub

    Sheikh Mehabub wrote:
    I solved this problem, but this isn't what I wanted.
    In fact, I show that is Public image (X) page and there is a page (Y) where the images are downloaded. This page is was not public.
    In the public page of picture show I mentioned the question of the download page page (Y) and that's why the image was not be displayed.
    So what I did - make page load as public page also.

    But it is a breach of security because anyone can then manipulate the data, if I can avoid unwanted manipulation of data by creating some process. Certainly, this increases the coding effort.

    Are there other ways?

    See Patrick of the post that a solution here: + {message identifier: = 10183115} +.

  • public page is not available to the public - access instead of the error.

    I have a work request. actually, I have the same copy of the work plan WITH SSO application and the other using the scheme of authentication and authorization of apex. Both work very well. With the exception of the logout page. I create a page(#62), without tab. Just a simple HTML form that has a disconnect message. I do the authentication of the page the value "Page is public" and save. I did this (try to diag) in two of these applications and in 2 different installations of the apex.

    However, when I'm not connected in the app, and I'm on this page, I get an "error: access denied by Application security control" message.

    I'm just trying to go to the URL http://xxxxxxx:8090/apex/f direct? p = 110:62:0:, or just http://xxxxxxx:8090/apex/f? p = 110:62 (page 62 is the page I created and defined as public.)

    It is in the apex 4.1.1. I think it should be very obvious as to why it does not, however, I'm puzzled.

    Thanks in advance.

    Hey 12602240 - the problem I think you touch is not at the level of the page but on your level of app. If you go to the properties of the application, it seems that you have a system of authorisation required at the level of the app. If the page you are trying to do is after they log out, you may need to allow ANYONE to access your application to get the public pages (or take off clearance at the level of the app).

    Rgds/Mark M.

  • public page with "connect" button

    Hi all

    I created an authentication scheme that is customized in my app that works very well (when I navigate to the login page and submit my login and my password, I can see a text "Welcome TDUIN (logout)" at the top right of a page). When I navigate to a page public when not connected to this place there is a text "logout". Is it possible to change this to a text "identifier" on a public page available with a link to the page of connection and then, being connected, it says 'Welcome TDUIN (logout)'?

    I tried searching how do on the forum, but couldn't find how do. Can someone help me? I'm on 4.0.2 Apex.

    Hi Tom (?)
    The "Logout" link, you mentioned is usually a navigation bar entry.

    You will find all entries in the Navigation bar to "* components shared-> entries * Navigation bar.

  • Inorder to get what you asked for, you can condition the entry of the navigation bar to "Disconnect", choose "* the user is authenticated *" option for that.
  • Create a new Navigation entry (or copy the entry Logout and edit the new it) with a label "Login" and leave the point of URL link to the Login Page. Subordinate this entry too with option as ' * user is the user Public. " Then one of these entries appear at the same time as the terms are mutually exclusive.

    Hope that was clear enough.

  • strange behivor on public pages with automatically filled the field

    Hello

    I created a page (APEX 3.0) where I have two field, name/wwid, name is a LOV, when I choose the LOV NAME, the page is automatically populated with wwid field, I followed this thread (used AJAX...) and it works fine as LONG AS I'm not the public page, but when I make it PUBLIC, it no longer works, the field wwid always returns null it

    Re: AutoFill fields

    Does anyone have a similar experience or ideas/suggestions?


    Thanks in advance

    Mike

    Of course

    In your javascript, you have something like this:

    get var = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);

    The value 0 is the page number. You can edit your public page, and then it would be pointless to have a public page 0.

    Try and tell me if it worked.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Firefox cannot download addons, and Web pages may not load correctly. Safe mode, reinstall clean do NOT help

    So, basically, I've upgraded to windows 10. Everything works great, except firefox. When I loaded the first Win10 I was unable to access the settings of firefox at all. Homepage has been giving an error message, all the sites of firefox support gave error messages and I couldn't solve this problem. I thought that a simple reinstallation would work. First time around, I just installed on it. Here parameters and firefox pages working again, but now I get only half of the page to load. I am also unable to install addons. Since I reinstalled firefox several times by deleting files in the temp, the app data, registry files, you name it. If it is a related file from firefox, it was removed as a result of the pick up and other sites.

    Nothing works... I am degraded using Chrome, which as I recently discovered didn't even flashgot...

    Problem 1) Firefox Web pages not loading properly. Settings, support, addons, etc..
    Problem 2) I can not install addons, probably because of problem 1.

    PS. I searched the site and went through all the tips for safe uninstall mode, but I can't seem to find anything about it. Thank you for your help.

    in case you're an avast user, please try to disable https scanning in avast:

    1. Open the Avast dashboard on an affected system.
    2. Select settings in the left side menu.
    3. Adopt a Protection Active.
    4. Click on customize next to the Web Shield.
    5. Uncheck the option "Enable HTTPS analysis", and then click ok.

    http://www.gHacks.NET/2014/10/31/avasts-HTTPS-scanning-interferes-with-Firefox-and-other-programs/

  • Safari and home pages

    What is with Safari Version 9.1.1 (11601.6.17) and home pages? I am running OS X El Capitan (10.11.5) and I have a home page set, but suddenly Safari opens to the last page, I worked in. I can't find a way to disable this option. In contrast to the responses I've seen to similar Qs by users running Lion, I see no option for this in the preferences. Is there a way to disable this feature for my home page works like the opener?

    Oops! Never mind. Found. The solution is in the SYSTEM preferences under general, not the SAFARI preferences under general. Need to check "Close windows when you exit an application.

  • I've erased on my Mac and lost Pages, Keynote, and Numbers.

    I bought an air of book mac in 2014 and there pages, keynote, and numbers above. I recently wiped everything off of my mac that I take it to school to start again and I lost Pages, Keynote and numbers, how to bring them back.

    < object edited by host >

    If you their partner at an Apple ID, log in to the Mac App Store with it and click the purchases tab.

    If not, click here , or contact Apple.

    (143171)

  • How to move conveniently "No. Style" and "Basic Page Style" in firefox30?

    Hello

    I need to frequently change the web pages between 'No. Style' and 'Basic Page Style'.

    In firefox 28, it's simple, View-> Page Style-> No Style.

    But in firefox 30, because I hide the menu bar to save more vertical space, it's quite boring, I need to click on 'menu open', then 'Customize', 'menu bar', 'view', 'page style' and 'no style '.

    So, is it possible to put these two options in a single button next to the address bar?

    Thank you.

    Hello, the extension of https://addons.mozilla.org/firefox/addon/quickjava/ offers various buttons quick toggle - which one for style sheets...

  • Open recent in figures and empty Pages all of a sudden.

    Just today, when I opened the command of numbers and Pages open recent is empty. I've used both for several years and it started today. I saved and closed several files that had changes in them and in numbers it remains empty. Again, this is new. I used the numbers a week ago and there files then. No change of os

    Execution of Mac BOOK pro with os 10.11.5 numbers 3.6.2 Pages 5.6.2

    Hello junglejim,.

    Welcome to the communities of Apple Support!

    It seems that you are having problems to open recent documents in Pages and Numbers because the lists 'Open the recent item' are now empty. I know how it is to use the option "Open the recent item" for quick access to the documents you have worked on so I can understand why the suddenly empty menu would cause concern it.

    If you are unsure that you have accidentally selected the "Clear Menu" option at the bottom of the "Open recent item" list, there are a few other things we can explore to refine the why this happened. The first would be bound to an external hard drive. If you have a hard drive connected to your Mac where you saved your number and documents Pages and you disconnected the disk, it can cause the "Open recent item" list is more to show those who record the items.

    Another possible cause can be the settings of your Mac. Follow these steps:

    1. Open on your Mac System Preferences by clicking the  logo in the upper left corner of your screen.
    2. Select 'General '.
    3. Down, select the drop down beside where it says "recent items". If the "recent items" are defined as 'none' instead of the number, it can cause you to display more recent documents in number and Pages.

    Although your documents to appear in 'open the recent item"currently, you can still locate these documents if you have backed up on your Mac, an external hard drive or iCloud drive. If you do not save your documents as you work on it, I highly recommend that you start doing so to proceed in order to avoid data loss. In case you are not familiar with iCloud drive, here are some great resources for her:

    iCloud drive. Any type of file. On all your devices.

    iCloud Drive FAQ - Apple Support

    Once you have made sure that the "recent items" in the preferences system is not set to 'none', your next step would be to open or to create a few documents in number and in Pages, close and reopen the number and Pages, and check if these documents, you have just opened, created are showing in 'Open recent' to ensure it works as expected today.

    Thank you for using communities of Apple Support.

    Have an awesome rest of your day!

  • How can I change the formats for left and right pages?

    First timer here in the Apple community so forgive my mistakes.

    Works with Apple Pages 5.6.1 on a MacBook Air, try to format a book for automatic printing. I want to do different for left and right pages headers and footers, and margins so that, for example, the page numbers appear outside of the page rather than all the beings in the lower right.

    Is it possible? I googled around and it seems page was once able to do, but the feature was removed thereafter. I have reviewed in the Document and Format menus and sought help, but no joy so far.

    Any help much appreciated.

    Not possible on Pages 5.6.1 which is absent from the reams of features.

    Use instead the Pages ' 09.

    Peter

Maybe you are looking for

  • Download iOS 10 update once for installation on multiple devices via iTunes?

    I think remember me that it was possible and it was the best way. When I Googled it I am surprised to find there is no recent information on this (last year, although there are responses from 2012). I think this means 'no', but have not found the ans

  • Satellite A660-10W does not not after recovery

    Hello! I just picked up my phone to default factory settings. all is ok so far... After you install the utilities 55 pilots and other things (automatically after the first start) it restarted and today when it starts normal or in all other modes exce

  • The space bar issues

    HELP, always pressing the SPACEBAR opens the file search application, which allows you to type a real pain.

  • Task bar icons gone

    My taskbar no longer displays the volume icon or power, and when I go into my control panel to add it allows me to check the boxes. Any ideas?

  • The MSDT Console program has stopped working

    I get this error whenever I start up vista. How can I fix this so I don't see anymore. Please notify