Dave
Perch
What is the disadvantage in using hard-coded paths in a MS Access connection string when using a DSN-less connection?
I've noticed that in the effort to move my website to JodoHost that using the parent path option is causing a lot of re-work in my pages. I'm using, whenever possible, include files to set up the connections, but when trying to use parent paths I can't just simply change my includes as the parent path is dependent on the directory structure.
i.e. my included parent path connection strings work when the pages are in the root directory, but need to be different if the pages are in sub-directories, and different again if the pages are in sub-directories of sub-directories.
If I was to use hard-code connections, I could just simply change my includes and all the pages would work. I previously used a virtual path, which was always the same regardless of where the page was. I'm not sure why virtual paths (as opposed to parent and hard-coded) don't work on JodoHost.
Is my site subject to being moved to a different server for load rebalancing reasons, which could cause the hard-coded paths to break?
Thanks.
I've noticed that in the effort to move my website to JodoHost that using the parent path option is causing a lot of re-work in my pages. I'm using, whenever possible, include files to set up the connections, but when trying to use parent paths I can't just simply change my includes as the parent path is dependent on the directory structure.
i.e. my included parent path connection strings work when the pages are in the root directory, but need to be different if the pages are in sub-directories, and different again if the pages are in sub-directories of sub-directories.
If I was to use hard-code connections, I could just simply change my includes and all the pages would work. I previously used a virtual path, which was always the same regardless of where the page was. I'm not sure why virtual paths (as opposed to parent and hard-coded) don't work on JodoHost.
Is my site subject to being moved to a different server for load rebalancing reasons, which could cause the hard-coded paths to break?
Thanks.