[SOLVED] Â select DataBase over URL |
10/19/2015 11:18:23 AM |
ASPRunnerPro General questions | |
G
gonzalosb author
Q: I have created a script that works, but it is assigned to just one database. I have a number of identical databases on same server, and would like to assign each one when they login. Is there a way to do that? table names are all the same. if($_GET["dbname"])
|
|
G
|
gonzalosb author 10/27/2015 |
I modify DBCONNECTION.ASP in a way that can be variable base on a SESSION <%
<%
www.mypage.com/login.asp?dbname=database2
Microsoft Office Access Database Engine error '80004005'
|
admin 10/28/2015 | |
Your logic needs to be adjusted. If session variable is populated - use database name from session variable. If session variable is not populated, read database name from the URL, save it to session variable and then proceed as usually. |
G
|
gonzalosb author 10/28/2015 |
thank you admin for your guide and is there where i'm stock. |
G
|
gonzalosb author 10/28/2015 |
found it !!
|