Is there a way to force a new session so my "on new session" code will run?

I'm using apex.oracle.com and I find values of application (global) and page items persisting across logins.
I didn't expect that? I thought they would go away when I logged out of APEX. But I can change the values, logout, and log back in to the same values. And when I login and start an application, it's not running my "shared components > application processes" initialization code which is set "on new session".
I thought each login would be a distinct new session with it's distinct set of items. (see definition below)
So when I run an application, is there a way to force a new session so my "on new session" code will run?
>
What Is a Session?
A session is a logical construct that establishes persistence (or stateful behavior) across page views. Each session is assigned a unique identifier. The Application Express engine uses this identifier (or session ID) to store and retrieve an application's working set of data (or session state) before and after each page view.
Because sessions are entirely independent of one another, any number of sessions can exist in the database at the same time. Also, because sessions persist in the database until purged by an administrator, a user can return to an old session and continue running an application long after first launching it. A user can also run multiple instances of an application simultaneously in different browser sessions.
Sessions are logically and physically distinct from Oracle database sessions used to service page requests. A user runs an application in a single Oracle Application Express session from log in to log out with a typical duration measured in minutes or hours. Each page requested during that session results in the Application Express engine creating or reusing an Oracle database session to access database resources. Often these database sessions last just a fraction of a second.
>
Thanks -- Howard

I cleaned up the copy of the Select List code in APEX 4.1.xxx which was not operating correctly before. Now it matches what I have in APEX 4.2.yyyy. And, drum roll please, the select list seemingly works fine there (4.1) as well. But now, the initialization code--which was working fine(!)--FAILS in 4.1!
<font size="3"><font color="red">•<font face="courier new">
Okay. Maybe this will help. 1) I logged in. Ran the login page but did not login. Opened the "session" window and wrote down the session ID. Logged out and back in. 2) Ran the login page but did not login. Opened the "session" window and .... it has the same session ID? 3) <b>So the session is persisting across logins!! How is that possible?</b>
(More) When I log into 3 different applications, I get a different session ID for each but repeated logins always give the same session ID for any given session. </font>

Similar Messages

  • Is there a way to 'Force all Links to be opened in New Tabs ' like Maxthon browser?

    Is there a way to get Firefox to 'Force all Links to be opened in New Tabs, like Maxthon browser does ? I really like this Maxthon feature but hate Maxthon as it has always has and continues to lock up all the time (what a pain!!)
    Hoping Firefox can do this. By the way I know if you right click a link and ask for it to open in a new tab it will. I want it to be automatic.
    Thank you

    Question already asked and answered.
    I gave an AppleScript and an other helper described a scheme relying upon standard features.
    Yvan KOENIG (VALLAURIS, France) jeudi 21 juillet 2011 23:08:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please :
    Search for questions similar to your own
    before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Is there a way to down grade my Mac Pro 5,1 firmware so it will run Snow Leopard?

    If so will it still run Lion?    I believe this machine is the same hardware that ran Snow Leopard 6 months ago.   Brand new Mac Pro 5,1 two months old. 

    HURRAY!!!  Houston we have Snow Leopard!!
    FatMac your post of the firmware data got me digging deeper....   To sum-up
    Prior to the death of the old Mac Pro1,1.  I was in the process of re-building my emergency boot disks.
    As a result my Snow Leopard Emergency Boot Disk (SL EBD) was a fresh 10.6 install.
    The old MacPro died before I was able to update the SL EBD to 10.6.8.  This I of course forgot.
    The new MacPro would not boot from the old MacPro hard drive (10.6.8).  (It must have gotten taken out in the crash).  And obviously would not boot off of the SL EBD.
    Initially Apple told me that the new MacPro would run SL.  But later conversations with tech support emphasized that it would not and it was standard practice to not make new machines backward compatible.
    I assumed I was done-for.
    Thanks to FatMac's firmware info, I investigated deeper and found my SL EBD was only 10.6. 
    The 10.6.8 combo updater will not run from Lion.
    Now if I could somehow boot into Snow Leopard  so I could do an update.  
    I stumbled across a Carbon Copy Clone sparse image of my old MacPro 10.6.8 start-up disk that I had made DAYS before the crash and burn of the old MacPro.   (Am I lucky or what?)
    CCC'd the old sparse image on to a spare hard drive, restarted & Bingo!  I was running Snow Leopard! 
    Ran the 10.6.8 combo udater and updated my Clean Snow Leopard install.   Now I have a virgin copy of Snow Leopard to boot from. 
    I guess I can toss out my Leopard 10.5.6 Boot disk.
    Now I need to make a sparse image of the virgin Snow Leopard boot disk so I can re-install it at anytime in the future.
    Anyone know how to burn an 8 Gig sparse image onto to several DVD's for archiving? 
    FatMac,  the screen capture was the old fashoned way... I pointed a camera at it. 
    Thanks to everyone for their contributions.  
    Today was a good day!!!    

  • Is there a way to force essbase to use a certain disk?

    We run essbase 9.3.1 most bso databases, but also some ASO.
    Is there a way to force essbase to use a certain disk?
    Our operating system runs on C:\. Essbase is installed on D:\ Our M:\ drive is for data purpose.
    We want to direct essbase to create the *.ind and *pag files on the M:\ drive.
    To do so I added "DISKVOLUMES M C 0k D 0k " to the essbase.cfg, restarted essbasse and created and loaded a new application. But is still creates the ind and pag file soin D:\ With configure application I am able to move the files before a databases is loaded.
    Is there a way to force essbase to use a certain disk?

    ok ok ok (not ok)
    all the answers seems to say that it is NOT posible to force it from start.
    You can only correct it afterwards.
    We want the essbase admins NOT be able to create a application on a certain path.
    All the given answers tell me: let them do it and change it later on.
    To bad.
    But anyhow thanks for all the replies.

  • Is there a way to force close

    Open View Sets are not closing when reports close.
    Is there a way to force close view sets without bouncing the BAM-Server?
    I running v11.1.1.3 on WLS 10.3

    Welcome to the Apple Support Communities
    Hold Sleep and Home buttons until the iPad restarts, so you will be able to use the iPad

  • Is there a way to force the cursor into a string control when a vi is called

    In a .vi I'm wrighting I need to input a new serail number at the beginning of each run. Is there a way to force the cursor into the string control box every time the start screen returns? eliminating the need for the operator to move the mouse around and click.
    I would like to THANK all that have replied to my questions in the past. It has been a big help!
    Thanks
    TeBlues

    ah, problem solved.  what a community.
    Message Edited by Space_Flight on 11-20-2006 10:08 AM
    Attachments:
    keyfocus.jpg ‏83 KB

  • Is there a way to "force-mount" an external drive that doesn't show up on it's own when plugged in with firewire?

    Hi, is there a way to "force-mount" an external drive that doesn't show up on the desktop? I have a new Hitachi SATA III 2 TB Ultrastar that won't show up like all the other drives when plugged in. So I can't partition, repair, format etc with Disk Utility, Disk Drill, Tech Tools etc. How do I make it visible?
    I use the FW 400 to 800 adapter and a FW hub.
    Thanks,
    W.

    ok, I did find the log in Diskutil of what happened, I just can't figure out why it happened and how to start over:
    2014-04-20 13:42:08 -0400: Disk Utility started.
    2014-04-20 13:44:30 -0400: Preparing to erase : “Terra 8”
    2014-04-20 13:44:30 -0400:           Partition Scheme: GUID Partition Table
    2014-04-20 13:44:30 -0400:           1 volume will be created
    2014-04-20 13:44:30 -0400:                     Name                    : “Terra 8”
    2014-04-20 13:44:30 -0400:                     Size                    : 2 TB
    2014-04-20 13:44:30 -0400:                     File system          : Mac OS Extended (Journaled)
    2014-04-20 13:44:30 -0400: Unmounting disk
    2014-04-20 13:45:00 -0400: Creating the partition map
    2014-04-20 13:45:01 -0400: Waiting for the disks to reappear
    2014-04-20 13:45:01 -0400: Formatting disk2s2 as Mac OS Extended (Journaled) with name Terra 8
    2014-04-20 13:45:26 -0400: Initialized /dev/rdisk2s2 as a 2 TB case-insensitive HFS Plus volume with a 155648k journal
    2014-04-20 13:45:26 -0400: Mounting disk
    2014-04-20 13:45:29 -0400: Erase complete.
    2014-04-20 13:45:29 -0400:
    - That was it, gone.....

  • Is there a way to force which wifi network and proxy clients connect to from WGM?

    is there a way to force which wifi network and proxy clients connect to from WGM?

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
     Cheers, Tom

  • Is there any way to force time machine to keep retrying after disk i/o error?

    a little background to my problem:
    i've had a hard drive problem previously, and i managed get all the data off of my mac by trying and retrying to access the same files and also from my working time machine backup. after zeroing out and reformatting my drive and doing a clean install of Mavericks i had everything back up running no problems.
    recently, my macbook pro would be stuck and slow in recently imported iphoto pics so i figured my hard drive is really failing this time around
    i try to get a time machine backup to save what i can, but after a couple of tries time machine would just stop backing up and in console i would see a disk i/o error.
    is there any way to force time machine to keep trying to backup through the disk i/o error so i can save what i can before getting a new drive?
    edit: a little more info, i know i have a harddrive error from looking at the console, but when i do a verify disk in disk utility it comes up clean and even after doing a disk repair it comes up clean i still see disk i/o errors in the console.

    See:
    *http://kb.mozillazine.org/Preferences_not_saved
    Thee can also be a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (extensions.sqlite, extensions.rdf, extensions.cache, extensions.ini) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.<br />
    New files will be created when required.
    See "Corrupt extension files":
    * http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to do a compatibility check or see if there is an update.

  • Is there any way to force purchase an unsupported app?

    I'm currently stuck on OS X 1.7.5 since my MacBook Pro isn't compatible with anything more recent than that.
    However, I'll be upgrading to a new Retina MacBook Pro very soon and I'd like to purchase an OS X app that requires 10.8, since it's currently heavily discounted.
    Is there any way to force purchase it on my 10.7.5 system so that I'll be able to use it when I upgrade to a new Mac?
    Thanks!

    No.
    GB

  • Is there a way to force "desktop view" on my iPad 1 when using Safari?

    Google, in their control frenzy, has now changed iGoogle to default to Tablet view on iPads. Why??? Here is one solution but it does not use Safari:
    Question:
    Is there a secret to getting the old igoogle homepage back, or is it gone for good on the iPad 2?  I still have the homepage on my Mac, so the problem is just with the iPad.  Any help anybody can give to get the home page back would be greatly appreciated.
    Answer:This issue is with the Tablet view. You can switch to Classic view at the bottom, but as soon as you type anything in the url bar you get reverted to Tablet. I have the Atomic Browser installed on my iPad and have set it to identify itself as a desktop. iGoogle loads fine on that. I am not aware of any such setting for Safari on the iPad.
    Google fails to understand that we do not need sub featured pages for our tablets. Tablets work fine with the desktop versions. They have probably concluded that iGoogle pages are too busy for tablets and so have disabled it. Tablet search has been significantly degraded by Goggle with elimination of the pinch and zoom and cached features. It should be possible to make a sticky setting change to Classic view on tablets. Most other settings stick, but not the Classic view. I dont think Google get it anymore.
    Is there a way to force Safari ,on an iPad, to do this?

    The website may alter its page display based on the browser ID that is transmitted to the site from your browser. Some browsers on the iPad like iCab allow you change the browser ID to something desktop-oriented. Safari does not provide this capability.

  • Is there a way to "force" an EFI update?

    Hi all
    I have the Macbook 5,1 with 4GB of RAM. I read [over at OWC|http://blog.macsales.com/9102-secret-firmware-lets-late-08-macbooks-use-8gb ] that this computer supports 8GB provided it has the "updated" version of the MB51.007D.B03 Boot ROM. I would be interested in installing 8GB to extend the life of the computer. It runs really well and is a gem.
    As I understand OWC's text, Apple re-wrote the MB51.007D.B03 to allow addressing memory up to 8GB *but didn't change the version number*. My computer has MB51.007D.B03 but I don't know when this Boot ROM was installed because I bought the computer used in 2010.
    When I try to install the EFI update which OWC links to the computer simply says that it is installed and that it cannot be applied.
    As I live in Europe, it's a bit of a gamble for me to order the OWC RAM upgrade pack without knowing if it will actually work on my Macbook.
    So here are my questions:
    Would the message I get mean that I have the "updated" version of MB51.007D.B03 or would such a message come up also if I have the "old" version of MB51.007D.B03 installed (for instance, would the computer verify some sort of file checksum that differs between the two versions of MB51.007D.B03)?
    Is there a way to "force" install of the MB51.007D.B03 which is on Apple's site (which presumably is the latest version) to ensure that I have the latest version installed so that I can safely order the OWC upgrade pack?
    Thanks for any insight,
    /p

    Both ports having different IP's on the same network is not a recommended configuration. If you're trying to increase network bandwidth instead of multi-home, then the proper way to do it is to port-channel. Your switch will need to support bonded interfaces too.
    If you must do it the way you have it set, then you can insert a static route so certain specific destinations are routed through that card. The correct way to do it is with two route statements. Assuming your IP assignments as above, your destination is 192.168.4.15, and you always want to go through the .10 interface, you would add:
    route add -host 192.168.4.15 10.1.4.10
    I haven't tested this so I might have the syntax slightly wrong. The first approach (bonding the two ports) is a much better solution.

  • Is there a way to force applications to use window opening (and closing) animations?

    I'm not a big fan of the fact that most of the time, when windows open, they don't display any sort of animation, and pretty much nothing has a closing animation.
    Is there any way to force all apps to use some sort of animations, and also, is there a way to enable window closing animations?
    It just kind of bothers me, probably because of that fact that I just abandoned Windows 8 for OS X.

    Hack using spell checker's smart quote feature:
    If the document doesn't use double quotes...
    Edit > Find/Change:
    Change all ( to "
    Change all ) to "
    Those are straight quotes.
    Edit > Spell Check:
    On all instances with "string", click [Correct]
    On all instances with "string, type in (string) and click [Correct].
    Edit > Find/Change:
    Change all \` to (
    Change all \' to )
    Those are left and right double curly quotes.
    Yes, you have to hit each instance, but it will be click-to-continue except on mismatch.

  • Is there a way to force the charset to utf-8 with the IIS plug-in?

    We're using AJAX. The initial request for the HTML has charset=utf-8 set on the HTTP header as seen in this Live HTTP Headers capture:
    http://plper.mysite.com/mysupport/index.jsf
    GET /mysupport/index.jsf HTTP/1.1
    Host: plper.mysite.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Cookie: mysiteSiteUrl=http://www.mysite.com; Amysession=aHR0cDovL3BscGVyLmVtYy5jb206ODAv; JSESSIONID=FN3WLTNJFJCfYhHHVrwKvLHF2gGdnnTb11DrCyZqR9YbGhcG28lK!-1728721171; mysession=AAAAAgABAFBy5LRMDmjSRCN%2FByvfquVwFeKCpmES4x9lReRava35fxKfwcbJimb3YyPhEd0vBq7ZxgJVecL475TFZwQuSphLOwRWAQw2t7PEW%2BrxsfxgnQ%3D%3D
    HTTP/1.x 200 OK
    Date: Tue, 10 Jun 2008 18:53:01 GMT
    Server: Microsoft-IIS/6.0
    Cache-Control: no-store,no-cache,must-revalidate, no-cache="set-cookie"
    Pragma: No-cache
    Transfer-Encoding: chunked
    Content-Type: text/html;charset=UTF-8
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    Set-Cookie: JSESSIONID=09VTLTNWT07LlqnK22jTWwM8y5L9v1rmPf9CTW5TnGGKBvWvjJpP!-1728721171; path=/
    Content-Language: en-US
    X-Powered-By: Servlet/2.5 JSP/2.1
    Subsequent requests do not:
    http://plper.mysite.com/mysupport/index.jsf
    POST /mysupport/index.jsf HTTP/1.1
    Host: plper.mysite.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
    Accept: application/x-backbase+xml,application/xhtml+xml,application/xml,text/xml,application/x-www-form-urlencoded,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Content-Type: application/x-www-form-urlencoded
    Referer: http://plper.mysite.com/mysupport/index.jsf
    Content-Length: 122
    Cookie: mysiteSiteUrl=http://www.mysite.com; Amysession=aHR0cDovL3BscGVyLmVtYy5jb206ODAv; JSESSIONID=09VTLTNWT07LlqnK22jTWwM8y5L9v1rmPf9CTW5TnGGKBvWvjJpP!-1728721171; mysession=AAAAAgABAFBRtE5lAyr85YM0aIap%2Bekf1Qu8FoA6BNh4JVl1JgvDNDQgYrQm5m9W%2FQa4HLK767CtXV5c%2FhtXchbug9%2BE1zoCmqSBqqYmqXE9VG1lXi%2F%2Brg%3D%3D
    Pragma: no-cache
    Cache-Control: no-cache
    BackbaseClientDelta=%5Bevt%3DsrQuery%3AsiteList%7Cevent%7Csubmit%5D%5Bvalue%3DsrQuery%3AsiteList%7Cmultivalue%7C3971957%5D
    HTTP/1.x 200 OK
    Date: Tue, 10 Jun 2008 18:58:17 GMT
    Server: Microsoft-IIS/6.0
    Content-Length: 1720
    Content-Type: text/xml
    X-Powered-By: Servlet/2.5 JSP/2.1
    Is there a way to force requests going through the proxy plug-in to get a charset=utf-8 set in the HTTP header for all requests?
    Thanks!
    Edited by f2racer at 06/10/2008 12:01 PM

    If for some reason you have failed to maintain a backup copy of your computer ( not good), then transfer purchases form your ipod.
    Without syncing, click File>Transfer Purchases

  • Is there a way to force Local Debug

    Hi,
    I can't debug on any oracle 9i server, having this issue :
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '4000' )
    ORA-30683: failure establishing connection to debugger
    ORA-12541: TNS:no listener
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    The reason is, I guess, because the Oracle server can't access my computer because there is a firewall between them that I can't remove ...
    But, I also use some Oracle 8i db, behind the same firewall, and these work great !
    It seems that SQL developper do some local debug on oracle 8i, and some remote debug on oracle 9i.
    Is there a way to force local debug on Oracle 9i db from sql developper ? (it should be possible, because TOAD debug works perfectly, so I guess it's using local debug)
    Thanks !

    Thanks
    but I already tried that
    It seems I need to provide my IP address, so that the server can access my computer.
    But even if I provide it, it's impossible for the server to access my computer because there is a firewall between us that I can't remove ...
    There's no way for me to do some remote debug ..
    That's why I'd like to do some local debug ...

Maybe you are looking for