How the flow goes when we click login button

Hi everyone,
I am trying to create an application from the scrach, i deleted all the pages including the login and stared creating me own login page, now i face the following problems.
I Created the custom login and is working fine, but once i login the logout button is not present in new page, i'm unable to log out, when i take the page 101 the login button is not visible. Can anyone help me .. attached below the details
My custom login function is
create or replace function validate_users_from_db (
p_username in varchar2,
p_password in varchar2 )
return Boolean is
v_pw_check varchar2(1);
begin
select 'x' into v_pw_check from my_users
where upper(user_name) = upper(p_username)
and user_pwd = p_password;
return true;
exception when no_data_found then
return FALSE;
end validate_users_from_db;
on click of "login" request kept is login
After submit> login has the process as
apex_authentication.login(
p_username => :P101_USERNAME,
p_password => :P101_PASSWORD );
How to pass session ID, how to get logout option , how to set expiry time for session id
pls help me learn ...

Hello 975293,
What APEX version are you on?
Please read 2 Day + Application Express Developer's Guide
Logout links are usually added as a Navigation bar entry. See http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/nav_navbar.htm
Specify Logout_URL - http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/bldwebsheet014.htm#sthref537
http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_sub.htm#sthref177
And consult the documentation first before posting a new question. http://docs.oracle.com/cd/E37097_01/welcome.html
Thanks,
Vikram

Similar Messages

  • My ipad recognizes my home network but will not connect to the internet. When I click on AirPort/preferences at the top of the imac screen it says..."AirPort has a self-assigned ip address and may not connect to the internet".How can I change ip address?

    My ipad recognizes my home network but will not connect to the internet. When I click on AirPort/preferences at the top of the imac screen it says..."AirPort has a self-assigned ip address and may not connect to the internet". If this is the root of the problem,how can I change ip address?
    Ipad will connect no problem to other networks.

    First thing you need I think is to get your iMac connected to the Internet.
    Shut down your iMac and you iPad. Then power off your router. Wait 30 seconds and power up the router.
    After the router indicates that it is connected to the Internet then start up your iMac and see if it connects. If the iMac connects to the Internet then your iPad should too.
    If this power up sequence doesn't work you'll have to dig into the router setup to make sure it is working properly.

  • How do I enable my iTouch? I am trying to update the apps but when I click "Update All", a pop up "Your Apple ID has been disabled." How do I change it so I can enable my iTouch? Thanks.

    How do I enable my iPod? I am trying to update the apps but when I click "Update All", a pop up "Your Apple ID has been disabled." How do I change it so I can enable my iPod? My iPod is not locked (I know my password), but I just can't figure out how to enable it. Thanks.

    This may help:
    http://support.apple.com/kb/ts2446

  • My toolbar is missing and there is a button where it used to be that says "Please re-install the Toolbar" but when I click on it nothing happens? Also when I start Firefox I get a script running error how do I solve these issues?

    My toolbar is missing and there is a button at the top left that asks me to "Please re-install the Toolbar" but when I click on it nothing happens???
    Then when I start Mozilla I get a long delay before it launches and a script running error "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: chrome://tavgp/content/libs/include.js:595"
    How do I solve these issues???

    No idea - and you provide no clues
    what version of iPHoto do you have? Of the OS? is the iPhoto icon you are speaking of in the Dock?
    re-read your post and try to provide information using standard Mac terms since we can not see you or your computer and only have your worrds to let us try to help you
    Somehow my "IPhoto" icon now says "Preview".  When I click on "Preview" nothing opens up except the bar says Preview.  When I click on the Preview on the bar, a box opens up with different items, except when I click on any of them, there is nothing there.  The only thing that work is the "quit preview".  However, it is still there where my IPhoto icon should be.  I can't get into my IPhoto.  How do I get rid of this "Preview" and how did it end up taking over the IPhoto icon???
    If you go to your Applications folder and double click on iPhoto what happen?
    LN

  • I can't burn a dvd using any method, Idvd tells me that my super drive is missing, dvd studio pro quits when i click burn and disk utility keeps spitting the disk out when i click burn and enter the disk??? how do i repair my superdrive for imac

    I can't burn a dvd using any method, idvd tells me that my super drive is missing, dvd studio pro quits when i click burn and disk utility keeps spitting the disk out when I click burn and enter the disk??? how do i repair my superdrive for imac, or how do I do whatever I need to do to get it working: I have already tried using a lens cleaning cd and also restored my nvram or something i forget what it was called but i restarted my computer holding down  command+optoion+p+r and still nothing???
    Free solutions are the best, although if I have to pay I will, I would prefer to not have to buy an external burner if possible and already know that is an option so please don't give me that answer... thank you for any help you can give

    Unless your iMac is still covered by AppleCare, get an external DVD burner.
    You can get perfectly good ones from Amazon for less than $40.

  • I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please help

    I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please help

    Without a link, it's anybody's guess.
    It could be a problem the video rendering itself.  Which software did you use?
    Did you export to the 3 file types -- MP4, OGG and WEBM to support all browsers?
    Does your web server support those 3 MIME file types?
    Nancy O.

  • How to achieve SUBMIT for the current page when I click other tab?

    Problem: How to achieve SUBMIT for the current page when I click other tab?
    Description: I have a two-page application and each page associates with a tab. Say page1 associates tab1 and page2 associates tab2. In each page, I have a submit button, a after submit process associated to the submit button, and a tabular form. For page1, I fill out the fields and hit the button. The page1 will appear again and I can see the data I have insert. However, If I fill out the fields and click the tab2 (page 2) instead. when I come back to page1, the data I filled out are all gone. Is there any way in HTML DB to force the submit in the current page after you click other page. If use JavaScript, what is code looks like.
    Appreciate your time and your answer.
    Mike

    Scott,
    just for clarity, if I understood correctly what you said there are two possibilities:
    1) keep the standard tab branch and give up the possibility of validating page items. Below you can find an example of such cases.
    2) Replace the template substitution string and perform a "custom" button-like submit also adding a branch to the main page associated with the tab. Page items will be validated if the branch firing point is set after the validations.
    I couldn't find an example of the latter, but I found easily an example of the former:
    it's the "Report attributes", page 420 of app 4000.
    If you enter 'aaa' in the "Number of rows" form field and then you press "apply changes", htmldb correctly displays an inline error message saying that the value must be numeric. On the contrary, if you click on the "Region Definition" tab, htmldb takes you to a page showing an oracle exception:
    ORA-20001: Error in DML: p_rowid=4785927011172906402, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value aaa for column PLUG_QUERY_NUM_ROWS
    Bye,
    Flavio

  • How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    You are trying to copy a link, it is most likely in a different color such as the words "Microsoft's own forums" in his post. In Word highlight the word or words, control click on them, select Hyperlink, then Edit Hyperlink, then delete the link from the top box. It will then have a button asking if you want to "Remove Link", click on it.

  • How to make the page expired when user click back

    how to make the page as expired when i click back button on the browser.
    i want a better way.
    actually i have a timer.when it reaches 00.00 then the expired page will be called automaticlly using location.href="expired.jsp" then if the user clicks back it should not show the previous page.this concept is applied with paging concept
    response.setheader is not working ...
    i have redirect when click back using
    <body onunload>....i call another page here.
    but it is not a good way.
    so pls help me to solve this problem
    using session or another good way

    Use this instead.
    Frame.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);

  • I can see the pics but when I click on the event itself a HUGE exclamation mark pops up and not my pic.

    OK..this forum help me locate my iPhoto so HOPEFULLY ya'll can help me w/ 1 another issue. When I open an event in iPhoto...I can see the pics but when I click on the event itself a HUGE exclamation mark pops up and not my pic. Its really weird that I can see the pic but cant open it. Hopefully we can correct this issue. Also, if anyone has the energy....pls tell me how I can export from my iphoto-I want to place all my pics on CDs or my external hard drive and when I try to export it says.."unable to export.." I dunno!
    Help PLZZZZZ!
    Lost again,
    Amanda 

    The two problems are related.
    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    And that's why you can't export as well.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Since trying to update yesterday, my computer won't download any updates and itunes 11.1 says "Internal Error" and gives me the following info when I click on a song or podcast: Exception Name: NSInvalidArgumentException Description: -[_NSConcreteUserNoti

    Since trying to update yesterday, my computer won't download any updates and itunes 11.1 says "Internal Error" and gives me the following info when I click on a song or podcast:
    Exception Name: NSInvalidArgumentException
    Description: -[_NSConcreteUserNotification activationType]: unrecognized selector sent to instance 0x25a06b0
    User Info: (null)
    0   CoreFoundation                      0x922216fb __raiseError + 219
    1   libobjc.A.dylib                     0x920108db objc_exception_throw + 230
    2   CoreFoundation                      0x9222563d -[NSObject(NSObject) doesNotRecognizeSelector:] + 253
    3   CoreFoundation                      0x9216af77 ___forwarding___ + 487
    4   CoreFoundation                      0x9216ad22 _CF_forwarding_prep_0 + 50
    5   iTunes                              0x00df38e2 iTunes + 14624994
    6   iTunes                              0x00df36ae iTunes + 14624430
    7   libobjc.A.dylib                     0x9201c6c5 -[NSObject performSelector:withObject:withObject:] + 77
    8   Foundation                          0x93c12d85 -[_NSConcreteUserNotificationCenter _sendDelegateMessage:sendToAppDelegate:withNotificationFromMessage:] + 335
    9   Foundation                          0x93c12eaf -[_NSConcreteUserNotificationCenter _notificationPresentedMessage:] + 58
    10  Foundation                          0x93c137c2 __block_global_1 + 156
    11  libdispatch.dylib                   0x9371b2cf _dispatch_call_block_and_release + 15
    12  libdispatch.dylib                   0x9371ea80 _dispatch_client_callout + 46
    13  libdispatch.dylib                   0x9371c8e8 _dispatch_main_queue_callback_4CF + 223
    14  CoreFoundation                      0x9211b255 __CFRunLoopRun + 1829
    15  CoreFoundation                      0x9211a7c4 CFRunLoopRunSpecific + 308
    16  CoreFoundation                      0x9211a67b CFRunLoopRunInMode + 123
    17  HIToolbox                           0x90b6fc76 RunCurrentEventLoopInMode + 242
    18  HIToolbox                           0x90b76eb9 ReceiveNextEventCommon + 374
    19  HIToolbox                           0x90b76d34 BlockUntilNextEventMatchingListInMode + 88
    20  AppKit                              0x97621923 _DPSNextEvent + 709
    21  AppKit                              0x97621167 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
    22  AppKit                              0x9761d78c -[NSApplication run] + 855
    23  iTunes                              0x0017a898 iTunes + 1546392
    24  iTunes                              0x0017a709 iTunes + 1545993
    25  ???                                 0x00000002 0x0 + 2

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • I just bought an airport express. i set it up and was able to be detected by my macbook, but i still cant connect wirelessly. the same goes when i tried my iphone. please help!

    i just bought an airport express. i set it up and was able to be detected by my macbook, but i still cant connect wirelessly. the same goes when i tried my iphone. please help!

    Is the status light green?
    Your Airport device may be in Bridge Mode.
    Airport Utility 6:
    Open Airport Utility, select the Airport Express and click Edit. Navigate to the Network tab and change Router Mode to DHCP and NAT. Then click Update on the bottom right.
    Airport Utility 5:
    Open Airport Utility and click Manual Setup. Navigate to the Internet icon and change Connection Sharing to Share a Public IP Address. Then click Update on the bottom right.

  • I deleted firefox because of malware; I want to reload it, windows or explorer blocks it before begins; I tried the forum, but when I click on a link I get spammed: I am using Trend Micro Titatanium, but it doesn't seem to be working, can you help me?

    I deleted firefox because of malware;I want to reload it but windows or explorer blocks it. I tried the forum but when I click on a link I get spammed. Can you help?

    You are not addressing Apple here. We are all just users like yourself
    lost/stolen                                     
    No app on the iOS device is required.                           
    - If you previously turned on FIndMyiPod/iPhone/iPad on the iOS device in Settings>iCloud and wifi is on and connected or cellular data is on and connected for, on a computer browser go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up or continue to show off-line.
    - You can also wipe/erase the iOS device and have the device play a sound via iCloud.
    iCloud: Erase your device
    iCloud: Use Lost Mode
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the device and report to police and carrier if iPhone or cellular iPad
    - There is no way to prevent someone from restoring the erase (it erases it) using it unless you had iOS 7 or later on the device. With iOS 7 or later, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                               
    Reporting a lost or stolen Apple product                                              
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • I am trying to use the brightness adjustment on a grayscale photoshop CS6 file.  The preview shows the adjustment working and changes the brightness, but when you click to apply the change, it does not apply the adjustment.  I have run into this problem b

    I am trying to use the brightness adjustment on a grayscale photoshop CS6 file.  The preview shows the adjustment working and changes the brightness, but when you click to apply the change, it does not apply the adjustment.  I have run into this problem before, although rarely, with some other files over the years and with earlier versions of CS.  I would like to know how to overcome this problem?

    Make sure you are viewing your image at 100%. At smaller views, pixels and layers and the way they interact are approximate interpolations and won't show you the actual pixel-for-pixel changes.

  • I have been using Lightroom 4.4 successfully for over 2 years.  Just tried to import some new photos after a vacation and the application crashes when I click "import" every time.  Tried restarting computer.  Version says it is up to date.

    I have been using Lightroom 4.4 successfully for over 2 years.  Just tried to import some new photos after a vacation and the application crashes when I click "import" every time.  Tried restarting computer.  Version says it is up to date.
    How do I get formal support for this from Adobe?

    Thanks for the response.  The application was crashing.  A Windows message was displayed showing "Lightroom.exe has stopped working", "Windows can check online for a solution the problem.". Etc.
    I just launched Lightroom to check the exact message for this reply - and the Import worked.  It had failed dozens of times before. 

Maybe you are looking for