Save and reuse the ldap session

Hello!

I have an app with the LDAP authentication scheme custom - I wrote custom authentication and it works very well.
After authentication, on a button click I have need to do a few other requests to my Active Directory (dbms_ldap.search_s). AD do not accept anonymous requests, so I need new initialization of ldap_session and then do simple_bind_s - but apex does not save the password to the user after authorization!

My question is: can I save the ldap_session value returned by dbms_ldap.init in my authentication and use it later?
I tried to put the function of authentication in the package, and then save ldap_session value in a public variable to the package, but I found that this package initialized twice: authentication, and once again, when I try to use this value. And I get nothing in the second.

Sorry for my English.
Thank you, nail.

NoGot wrote:
My question is: can I save the ldap_session value returned by dbms_ldap.init in my authentication and use it later?
I tried to put the function of authentication in the package, and then save ldap_session value in a public variable to the package, but I found that this package initialized twice: authentication, and once again, when I try to use this value. And I get nothing in the second.

Why not try these other options variable public instead of package:
1. use an application using: SAMPLE_APP_ITEM or & SAMPLE_APP_ITEM.
2 use a custom table to store the value from the id of the session of the Summit and recover when you want to reuse

Vikram

Tags: Database

Similar Questions

  • Save and reuse a sequence of effect

    I would like to save and reuse a sequence effect in FCPX. Can I do it?

    mnstudio wrote:

    I would like to save and reuse a sequence effect in FCPX. …

    something like disucssed here?

    Registration of composite clip - how?

    Alternatively, use

    cmd + c to copy the effects to a clip

    cmd-shift-v to paste it all / or a selection of these effects of other clips.

  • I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    Trying to convert to the. WMV format:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup295.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

  • I opened a word from Windows Mail document, changed using Word 2007, you press on save and close the document. Now I can not find where he saved.

    original title: Windows Mail ate my file

    I opened a word from Windows Mail document, changed using Word 2007, you press on save and close the document.  Now I can not find where he saved.  I tried the search function in Vista, but it can not find the file either.  I tried to re - open the file in the email, but I just get the original version.  Can anyone suggest where it might be?

    Thank you very much

    Eamonn

    Once you open a Word attachment in an email, you must save it to your HARD drive until you make changes. If you do not, the changes are lost, but the original attachment is still with the e-mail.

  • should which product I buy to be able to save and send the data entered in a form?

    Hello, should what product I buy to be able to save and send the data entered in a form?

    Hi clarka14179614,

    If you are referring to record and send after filling out a form, you can either use an Adobe Reader or Acrobat application.

    Adobe Reader is a free service and you can install it here: Adobe - Adobe Acrobat Reader DC Distribution

    Let us know if you need additional assistance.

    Kind regards

    Meenakshi

  • SAVE AND EXIT THE PARTY

    Hello
    I have how I regret the update! (to 32.0.3)
    Where is my 'save and exit' (at closure) option gone?

    I followed all the advice on the forums to pick up this function... but nothing helps.

    Yes, I can get the warning that I'm closing multiple tabs. (Thanks for telling me what I know,  instead of offering something useful!)
    

    To be precise on the subject: config... browser.showQuitWarning is set to true

                                                             browser.warnonquit is true
                                                             browser.tabs.warnonclose is true
    

    And in Tools/Options/general/start "show my windows and tabs from last time is selected.

    What am I supposed to do?

    If I go back to the last version will be the OPTION (to save a session OR let it lapse) IE "SAVE and EXIT" restore?
    I have to stop in future updates

    You will get the warning that "show my windows and tabs from last time" is selected as who will restore open tabs automatically, so you will not lose them.
    To get this warning, you must select another parameter of start (home page or blank tab).

  • Why is able to save and update the passwords for sites other than those of Blackboard FF?

    I am able to save and update passwords on other sites, but not on the Blackboard learn for my University. They force us to change our pw is from time to time, and I think I noticed it after that Blackboard did some updates to their site. It will always load autofill with my old account and password, but not update it. I deleted the password stored and tried to get FF to remember once again on my laptop, but it has not yet asked to save him. I'm guessing that there is a new code or a script for the journal in the procedure? Is there a manual way to enter and update the credentials stored?

    Hello, sites can specify that passwords should not be stored (however I do know that if this is the case on the page you are having problems with, since you did not specify which University it affects). as a way to get around this, you can use an addon like this: https://addons.mozilla.org/firefox/addon/remember-passwords

  • Save and load the string table

    Hello

    is possible except an array of channel with multiple line of text file and load new file to table with the same size of array?

    Because when I use the code in the picture, initialized array is 3 x 3 but after save and load file is table 5 x 3.

    If is an option how to save this table in the file into 3 x 3 table and charge back of file as a 3 x 3 table?

    Thank your for any suggestion,.

    Petr

    Your code is loaded in 5 x 3 is because two of your cells have newline characters (\n). The reading of the worksheet VI use return or line break characters and your delimiter to figure out how to split the string into an array.

    A solution might be to replace all characters from end of line with something else, and then reinsert it after reading of the worksheet.

    It can do what you want, even if it's a bit bulky. It's a little confusing if you don't understand "------" string formatting, but it essntially replaces all '\r' and '\n' with '\\r' and '\\n', including the conversion of the worksheet does not read as an end of line character.

  • Cant't save and clear the event logs to a folder on the hard disk

    I have a new hp laptop under windows7. When I try to erase and save the event logs to a folder on the hard drive, I get a message saying that it cannot save the file to the network location despite the fact that I'm not saving to a network location.  I can record the events first and then to clear the logs.  But can not use the option "save and clear."  What could cause this problem?

    Hello

    1 when was the last time save and clear option has worked?
    2 have you made any changes to the computer before the show?

    Run the System File Checker and check if it helps.

    Follow the steps in this link: http://support.microsoft.com/kb/929833

  • Modification of metadata in a re exported jpg - save and degrade the jpg?

    In the choice of photos for my PhotoShelter site, I do the following:

    • I do a collection that contains possible choices, modify the collection in the final choice.
    • I then export the final selection in jpg format to PhotoShelter. export sends them to a specified folder recognized by LR. LR recognize jpg files in the folder and retains the metadata associated with the original raw file.
    • I go to the library Module and to rework the metadata within this folder. in other words, I re - write the metadata title and legend, which makes them appropriate for my site.
    • When I check 'Show in Finder' I don't see the jpg, not an xmp file. This suggests that the metadata are incorporated in the jpg and metadata change caused a jpg re - write and register again. Is this the case?

    I would like to avoid re - save a jpg file.

    Thank you for your help - melody

    I just tested and confirmed the metadata record in file with JPEG's lossless (i.e. without recompression of image data). You will need to manually update the JPEG file with the new keywords using CTRL + S.

  • Script in VMWare Server to stop, save and reboot the virtual machine

    Hello!

    I want to create a script from windows vista Pro (which is my vmware server host) this judgment of a virtual machine before you save it and restart the virtual machine after.

    Does anyone know how to do this? This is my first script, so I don't know how to start...

    I saw this link:

    http://www.Petri.co.il/virtual_script_startup_shutdown_vmware_servers.htm

    But it seems to be for VMware Server 1.X because I can't found the vmware-cmd in the server vmware 2.0 folder.

    Thanks for your help!

    I don't know if you are receving notifications to your PMs, just I have sent you a PM >

  • Save and load the game

    Hi, how are you guys? I hope you all well...

    I just have a question about the SWF...

    I mean that, i.ve made flash game, but there is a small problem that is (load game) and (except the game)

    orders, because when the player close the SWF the game will restart

    This my only question and I hope you guys can help with this problem

    Thank you

    If you want a game to be able to be registered in order to open it later can resume playback, then you must store the data relating to the game somewhere so that it can be retrieved when requested.  If you create a game online, your options are either save game data to a server-side file usng script server to write the data file, or save it in a database-side server-side, or save it as a SharedObject (the Flash version of a cookie).

    If you make an AIR application, so you can have the data stored in the ApplicationStorageDirectory or some other designated locale ApplicationDirectory.

  • DW CS6 file save and open the Question

    I noticed this glitch in DWCS6 and also Flash CS6, for example, if I crop an image in Photshop and save in a folder, open the folder and see the file inside. Now, I open Dreamwever and go to add the file (which is a jpg file) to an html page. But when I open and navigate to the folder that the file is located in he's not here.

    I tried a few times and have no idea why this is.

    I'm a Lion as mentioned 10.7 DWCS6 running

    any help that slows me down.

    RD

    Permissions of suffocating, resolved!

  • Save and reuse adjustment layers

    Hi, I feel that I am doing should be easy, but I can't understand it.

    I have a set of files that I want to apply the same set of adjustment layers for.  I opened one of the images, created adjustment layers and tweaked the settings until I was happy.  Now, I would like to create an action that would apply to this set of layers of multiple files in batch mode.  I understand that if I save my creation of adjustment layer, I could play again it, but I did not save - I have a set of layers (I even saved them in a separate file), but no way to retrace my steps.  I could do all of this by hand by duplicating my group of adjustment layers for files that I opened, but I can't find a way to automate this.  Any help?

    Thank you

    Vladimir

    Without script, is to record down the settings in the form of files. Adjustment settings can be saved to the bottom of in any adjustment dialog box or Panel using "Save Preset". Your Action then must load in these adjustments, one at a time from your drive. Another way is just to record step by step the creation of all settings. But it is not as easily adaptable.

    This lack of capacity is a huge problem in Photoshop actually. The process of batch adjust images, or combining images in general should be MUCH easier than it is in stocks.

  • Save and read the value of control using xml

    I need to read and update the controls with the values they have the previous time the vi has been run. Joined a vi that I come up with. I can record control values; When I apply the section which should read and update control values, I get this error "the XML tag describing the type of data does not match the wired type". Do we know why? Attachment: test vi and xml control file.

    As far I can tell it seems that you have found a bug. The XML Unflatten handles not properly cluster in a chain, and a variant of something. The Get All method returns an array of clusters, with each group being a string and a Variant.

    If you follow these steps:

    no error is generated.

    But, if you do this:

    you get an error.

    Looks like a bug to me.

Maybe you are looking for

  • App won't delete

    Enforcement myidol will not erase from my phone. I touched several times to "confirm" to remove the application and all of its data. I also restarted my phone several times.

  • Where are my files deleted on iCloud passed to? I can't get back them.

    I accidentally deleted my storage iCloud, not knowing that my files would be removed from the computer as well. I tried to pass on advanced, then retrieve files on iCloud.com, but the only files that appear are old and virtually empty. On the site, h

  • Satellite P70-A-104 - cannot find webcam driver for Win 8.1

    Hello I installed a 2nd HDD with Win 8 Pro 8.1.I've also downloaded all the drivers available for my model P70-A-104, but there is no driver available for the built-in WebCam FHD Toshiba. I also checked the other models from Toshiba with camera of 2

  • How can I include a search page on the web in an E-mail?

    I have a desktop HP TouchSmart 610-1147c. running Windows 7 64 bit.  I should answer that question years ago, but I did not... terrible huh?  Anyway, how can I include a page from a web search I did in an E-mail?  Believe it or not, I have never had

  • Divided HP x 2 bypass admin password

    Hello, I have a hp splitx 2. At the start, it's Nicole for administration or power on password. We never had these. When the erroneous entry of 3rd 51568780 code comes. Any ideas how to reset or bypass this? Thank you dennis