Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Web.config & ASP?

Posted on 2004-10-07
6
Medium Priority
?
961 Views
Last Modified: 2008-01-09
Hi,

I am almost developed a website which is mixed on ASP.Net and classic ASP. The reason to mix classic ASP is that I have 3 years experience in ASP and just started learning asp.Net.

Ok now let me explain. I have used page level connections throughout my site. I know its bad programming practice but at that time i was facing problems using include files for asp and also was short in time so have to use them in order for less consumption of time. Now the website is complete and I want to now make universal connection for whole website. And also let me tell you that I haven't used VS STudio for the development and so almost no page has codebehind.

- I know that web.config is used for ASP.Net, will it work for Classic ASP also?

Quick help needed... so issuing out 500 points for the first best solution provider.

Thanks,

Khurram.
0
Comment
Question by:khurram007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 28

Accepted Solution

by:
mmarinov earned 2000 total points
ID: 12247029
Hi,

read this short article, it will give you the answer
http://www.c-sharpcorner.com/Code/2003/June/Web.ConfigInASPNet.asp

Regards,
B..M
0
 
LVL 2

Author Comment

by:khurram007
ID: 12247049
Ok...

Very nice article... exactly what I need to know... but am still confused about using web.config with ASP. Can you explain that coding sample for it?

Also can I still use Application variable or include files for ASP pages within the website?

Thanks,
Khurram.
0
 
LVL 28

Expert Comment

by:mmarinov
ID: 12247057
yes you can still use application variables
as for the example - it's just creates an object for reading xml file what exactly web.config is

B..M
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:khurram007
ID: 12247100
Very nice...

The last part of question...

We used application variable to be defined in global.asa file. I know we can define them as following also.

Application("xyz") = xyz

But can you provide me an idea if I have to use the above method, what would be the best place to declare them?

Thanks,
Khurram.
0
 
LVL 28

Expert Comment

by:mmarinov
ID: 12247167
khurram007,

this is totally new question
for the rules in EE you have to ask a new question
also if you post a new question when EE members search they will be provided with a correct results

B..M
0
 
LVL 2

Author Comment

by:khurram007
ID: 12247228
ok no problem...
am posting it as another question...

hope to see u there...

points issued..

Khurram.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question