CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 change the conection using sending variables

Print topic Send  topic

Author Message
alexcos

Posts: 8
Posted: 10/30/2007, 4:08 AM

do I need to change the connection of the database, with a call of type http: // paginaweb.com/index.asp? d=database

To me it me does not work to load the variable in common.asp with
request. QueryString.

Which would be the correct way of doing this?
Thanks
Alejandro
View profile  Send private message
alexcos

Posts: 8
Posted: 10/30/2007, 9:09 AM

Hello
I believe that I have not explained myself correctly.
This is in ASP and access:
I am trying to modify the route of the connection of the database that one finds in the file common.asp for another identical database for another client;
for it I want to change folder of the route with:

http: // site.com/index.asp? C=folder2

where must I locate the request.string?

Dim x
x = request. QueryString ("c")
session ("y") = x
DBconnection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Inetpub\wwwroot\scripts\" & session("y") & "\datos.mdb;persist security info=false"

it does not load the variable

Thanks.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.