Sharing a DB connection

Hi,
I have created a Database connection for a single page in my
site but now I need to use that same connection for other pages.
When I open the page I want to use it on it is not listed in the
Database tab of the Application panel. How can I share or copy this
connection across the entire site.
Thanks

Well right now I would prefer to keep only one
connection open, reason being this is not a high
volume app. Your second question is exactly what I
need answered. Would it be a problem if two threads
try to call a function that uses a db connection?If you are just selecting and not doing anything to the connection I think it is fine.
Also, in general I don't think you should hold a connection open the entire time. Instead open it when you need it and close it when you are done. Especially if this is not a high volume app.

Similar Messages

  • Sharing problems - internet connection

    Hi, I can't share my script. It tells me that I have some problems with my internet connection, but it's impossible.
    Help me
    Thanks
    Fabio

    I'd like to share both. By for now I need to share just a script, not the whole project. I tried to share both, but it's the same, same problem.
    My Adobe ID is [email protected]
    Thanks
    Fabio
    Date: Thu, 26 Jan 2012 20:39:28 -0700
    From: [email protected]
    To: [email protected]
    Subject: sharing problems - internet connection
        Re: sharing problems - internet connection
        created by Ratnesh(Adobe Story Team) in Adobe Story - View the full discussion
    Hi, Are you attempting to share a document or a project ?Please send me your AdobeId (story username) so that I can take a deeper look. Thanksratnesh
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4168072#4168072
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4168072#4168072. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Story by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • HT4352 I have done all the above but when I turn on the TV & go to computer the movies it still saying that the home sharing is not connected.

    I have follow all the settings for the home sharing but when I turn on the TV & go to computer then movies it still saying that the home sharing is not connected.

    See
    http://support.apple.com/kb/ts2972

  • Sharing my Internet Connection

    I have a MacBook and have a connected a USB modem. I have shared the interject connection via airport. I have then been able connect to the shared Internet using my iPad. When I attempt to connect to the same shared connection using my iMac, I get a "Connection Timeout" and it won't connect.
    Can anyone give me any suggestions?
    Thanks
    Daniel

    HI Daniel,
    If your iMac is running v10.5.6 as your profile states, you need to update your system software.
    Click your Apple Menu (top left in your screen) then click: Software Updates.
    After you are updated to v10.5.8, repair disk permissions.
    Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    You may also need to change the Airport Channel on the iMac.
    Open AirPort Utility, located in the Utilities folder in the Applications folder on a computer using Mac OS X.
    Select the device you’re setting up, and then click Manual Setup. Enter the base station password if necessary
    Click AirPort in the toolbar, and then click Wireless.
    Choose a new channel from the Channel pop-up menu. Quit Airport Utility and restart your iMac.
    Carolyn

  • Shared versus dedicated connections in the fragmentation of shared pool mem

    Hi,
    I have a old Oracle 8.1.7 database server.
    I have a legacy application with no source code. This application don't use memory efficiently (no bind variables, etc.) , ie memory becomes fragmented.
    I know that exists two ways to connect the database (dedicated and shared)
    Based on this, I want to know which of the two options creates more fragmentation. I know that recommendation is to use dedicated connection, but I'm not sure if this is recomendation is applicable in this particular environment.
    Thanks in advance.

    Whether you use shared or dedicated connections makes no difference for fragmentation in the shared pool. Whether your hard parse or do not hard parse does matter.
    Measures you can take
    - make sure often used packages like dbms_standard are pinned in the shared pool using a startup trigger
    - set session_cached_cursors to 50 or 100. This will reduce parsing.
    Sybrand Bakker
    Senior Oracle DBA

  • HT1433 Hi, my internet sharing was working perfectly in 10.6.8, sharing my vpn connection to my apple tv with no problems. I then upgraded to 10.7 etc and internet sharing stopped. I have since reverted my computer back to 10.6.8 but no luck still, though

    Hi, my internet sharing was working perfectly in 10.6.8, sharing my vpn connection to my apple tv with no problems. I then upgraded to 10.7 etc and internet sharing stopped. I have since reverted my computer back to 10.6.8 but no luck still, thoughts?

    Hi, my internet sharing was working perfectly in 10.6.8, sharing my vpn connection to my apple tv with no problems. I then upgraded to 10.7 etc and internet sharing stopped. I have since reverted my computer back to 10.6.8 but no luck still, thoughts?

  • Sharing Airport Internet connection Over Ethernet

    Hi
    I've read various things about this on the forums here, but none of them seem to make a considerable amount of sense seeing as the person just magically works out the problem. So I'll attempt to describe my problem.
    I'm trying to share my Intel iMac's Airport connection to another mac running 10.4.6 over ethernet. I'm using crossover cable, and so far I've got the two computers to recognise each other in Network tab of the Finder, so I can mount the other's HD on my desktop if i wanted. BUT, I am having no luck with sharing my internet connection, I have the 'Share my Airport connection over Ethernet' settings ticked in System Preferences on the iMac with airport, but the "light" on the network overview page is orange on both computers, and the one connected with ethernet does not connect to the internet.
    Any idea what I may be doing wrong?
    Thanks a lot
    Mo

    You are sharing one connection from the main unit to a secondary unit. The secondary unit only has access through the main unit, so the system doesn't see a personal web connection, just a web connection. In order to share that connection, it must be seen as a "personal" or directly connected form of network. This is so that somebody can't just steal your connection and then filter it to a billion computers and hack you and really mess up your system. If you want to share that connection, I suggest you invest in a wireless router. Then you can share all peripherals from the main unit and other units in any configuration you wish, and then use your secondary(wireless) unit to share directly to the third unit(crossover cable) without having to set a bunch of manual controls and troubleshoot. Printers, some scanners, and sometimes even dvd burners can be shared across a router. And because the system reads two connections(comp-to-comp and comp-to-web) through the router, you can actually fully network all peripherals to work across each unit, so long as they all run the same versions of OS and software. Just remember, you get what you pay for with routers. $100-$200 should get you something decent and a USB speed-booster card wouldn't hurt if you can get it as part of the whole router package. I've used the same type of configuration and it has saved me days, even weeks of trying to move data onto cds and dvds to move between computers for using with different programs and tasks.
    good luck

  • File sharing/AFP skips "connect as"

    I have a Mac-Lion and several accounts, both user and admin.  I turned file sharing on and selected AFP.  I can connect from another Mac-Yosemite as expected - to any account on Mac-Lion by entering the password when prompted.  With one exception.
    I have an admin account xyz on Mac-Lion and an admin account xyz on Mac-Yosemite, different passwords. On Mac-Yosemite, in the account xyz when "connect to server", it skips the "connect as" prompt.  Connects straight to xyz on MBP-Lion. However, this does happen vice-versa. I also tested other accounts, say abc on Mac-Lion and abc on Mac-Yosemite, admin or standard user. No problem, always goes to the "connect as" window and asks for a password.
    I also changed the password of xyz on MBP Lion many times, and delete the keychain, restarted, etc.  Also, MBP-Lion is off-cloud.  Still thee is this mysterious one-way password-free connection between the two accounts. What could that be and how can I reset it?
    Thanks in advance.

    It turns out the iCloud causes this behavior. If I sign off iCloud in the account xyz on Mac-Yosemite, then I am prompted with the regular login window when I connect to Mac-Lion.  So some setting on Mac-Lion grants password fee access to connections from account xyz on Mac-Yosemite as long as that account is logged in iCloud. (xyz on Mac-Lion used to be signed in the same iCloud account, but I signed out and reset the keychain).  Any idea where that could be so that i can reset it?

  • SharePoint 2010 Report using a Shared Data Source Connection file (.rsds) is forcibly closed.

    Hi -
    When attempting to render a report (.rdl) in a SharePoint 2010 document library that has a
    Connection Type specified as a Shared data source (the connection succeeds when tested in the SharedDataSource.aspx page), the following error message is displayed in the report:
    The data source that I'm using passes the test when tested in isolation but when used in the report it yields to the error message above. Below are some of the details of the .rsds file:
    For this particular Web Application, Kerberos has been enabled. I couldn't spot any traces in ULS nor in the Security Windows logs.
    Any feedback on how to fix this issue is appreciated.
    Thanks.

    Hi
    There are multiple resolution found for the same issue, please refer 
    http://www.marc-lognoul.me/itblog-en/an-existing-connection-was-forcibly-closed-by-the-remote-host/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/4ad2a302-8a77-44f3-91ce-803d36efc9c5/sharepoint-2010-an-existing-connection-was-forcibly-closed-by-the-remote-host-when-log-in-using?forum=sharepointadminprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/235ca863-f540-4fa0-9688-0b0b46c2d75d/sharepoint-2010-an-existing-connection-was-forcibly-closed-by-the-remote-host-when-log-in-using?forum=sharepointadminprevious 
    Let us know if this helps, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Sharing a WiFi Connection in OSX

    Lets say your in a hotel that has wifi and you have to pay $10 a day for the connection.  You don't want to have to pay $10 again for your iPad and iPhone to connect as well.
    I would like to share the WiFi connection on my MAC with other devices.  I know how to do this with two WiFi cards but can this be done with a single WiFi Card? 
    I know technicialy it is possible to do this with one card because I have see apps for Windows and even an iPhone using the Jailbroken MyFi App that used a bridge tethered mode to share a WiFi (not 3G) connection to a number of devices. 
    Anyone know of a way to do this on a MAC? 
    All the best,
    Joe

    Hi Sig,
    If only life was that simple.  The basic Mac XOS Internet Sharing will allows you to share a wired internet connection over wireless or a wireless internet connection over wire.  Or if you have two wireless cards you can share the connection on one wireless card with users onanother card.
    What I wanted to do was share the Wireless Internet connectionon the same wireless card.  It looks like you have to pick a different interface for sharing then the one your wish to share using the approach you are recommending.
    All the best,
    Joe

  • How do I find out who is sharing my internet connection?

    I have enabled Internet Sharing on my ethernet-connected PowerMac G4 (running Tiger) through its Airport card.  What utility do I use to see who is actually using the connection?

    That has nothing to do with OS X or your iMac, if you think someone has been using your Internet connection then you need to turn on the security on your WI-FI router. Please look in the owners manual of your router for instructions.

  • TS2972 Home Sharing no longer connects to PC

    Home Sharing is no longer connecting, I have tried rebooting Apple TV, I have tried turning off home sharing and turning back on, rebooting my PC, and updating both PC and ATV to latest verison - both indicate they are up to date. 
    I have tried turning off my firewall, etc.  ATV can connect to iTunes so I know it is on my network.

    sometimes with network changes it takes a while before they really kick in
    which can cause one troubleshooting to change a lot of things too fast and change them back again before
    they kick in

  • Personal File Sharing - Who is Connected to Me?

    Getting a message now when I shut down my computer at work that says a user is connected to me through apple file sharing. Is there a way for me to figure out which user on our network that is?

    Open Terminal, then type...
    w
    or type...
    who
    Enter after either.

  • HT4557 Selecting a shared library starts connecting and gets to what looks to be 50% of the time circle and stops without connecting to the shared library..... Has anyone experience this before and knows how to overcome it?

    I have an iphone 5 with the current operating system and an up to date itunes as of 01.04.13. The strange thing about this problem is that I have the "remote" app also installed and the Iphone can access the shared library and control what is played on itunes on the PC but not the other way around. What I want to do is play from my library through my Iphone but it is not connecting through the music application???

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

  • Sharing an Internet Connection from Mac to PC

    I have the following setup,
    MacBook Pro 15'' connected to the internet using an external modem connected to a USB port. I went to system preferences and shared internet in this connection to computers using built in ethernet. I used a croosover cable and connected this mac to a PC windows XP SP2. It recognizes the network, have an ip assigned (192.168.2.2) but when i try to browse the web it doesnt work. Any suggestions?
    Thanks in advance.

    bcool, Welcome to the discussion area!
    Usually this situation is encountered when the firewall is enabled on the Mac sharing the connection. The frequent solution is to enable Web Sharing on the Mac and this will open the appropriate ports on the firewall.

  • MOSS 2010 Shared Review Not Connecting For All Reviewers (Acrobat 9 and X (Std and Pro) and Reader9)

    I am using SharePoint 2010 for Shared Review.  Most of the testing has been successful with a few minor problems.  The biggest has been that some are not getting the connection request.  The document for review opens immediately either in the user's browser or Adobe Acrobat or Reader.  We have not been able to nail down the reason yet.  But, it has happened on systems running Acrobat 9 Pro and Acrobat X Pro.  We have had success with others using Acrobat X Pro and Reader 9.
    What I am most confused on is why some of our users are not getting the request to connect to the SharePoint workspace to do their review.  If they go through Windows Explorer to where the file is located to open it directly, it asks the user to Check Out the file and then Save & Continue.  If they do this, they seem to lose the ability to publish their comments directly to the server.  They don't even get the options to check for new comments.  The file is opened and they are able to work with it like a normal file.
    What could we have done wrong that caused this?  Each the users has the appropriate permissions to the SharePoint site.  I have noticed in the tracker that the two that had the issues don't have their name or title appear.  I checked both of them in the Identiy section of the Preferences and their name, title, organization and email are all missing.  Only their UserID is shown.  Could this be part of it?  We were all using the same intranet wireless system.  All users were able to open the review file.  When someone receives the link for review through the email, does the link verify through the email address listed in the prefences?
    Jason Lopez

    Hello Vikas,
    To answer your questions:
    1. Do all reviewers have a local copy of the review file, or is it kept at a shared location and everyone is commenting on it.
    - I have tried it both ways with the same results. Our preference is to keep the PDF in a shared location so that all reviewers can see each others' comments. (Since the problem began, we have lost that capability, and the "semi-workaround" is to email each reviewer the PDF, each reviewer makes comments locally, and emails it back to the writer. This is less than ideal as each review cannot see each other's comments... However, I was able to publish them "on behalf".
    2. Are you only having trouble with publishing new comments or is it that you cannot see earlier added comments also.
    Reviewers are unable to publish their newly-added comments as there is no Publish button/icon. If I have published another's comments on their behalf, they can see them. However, they cannot Reply - as the Reply button is disabled.
    3. Are there some specific files with which you are having trouble or is it a generic problem.
    It happens with all files, so it is generic. Anyone who has Reader 9 has no Publish button when opening a shared review generated from Acrobat 8.
    Thanks for any help you can provide. We are hoping the problem resolves when we upgrade to Acrobat 9 but that alas will not be until sometime in the new year, hopefully.

Maybe you are looking for