Ask a Question related to ASP Database, Design and Development.
-
Neo Chou #1
Where to keep the configuration?
Greetings!
I'm not very good at ASP, but I'm using ASP to design a website. I know
that I can keep some configurable values, such as Server Name, Database Name
and even Login Username and Password in "web.config" under ASP.Net. As to
ASP, is there a way like this? I'm curious about where to keep them.
Thanks in advance.
Neo
Neo Chou Guest
-
COnfiguration
HOW TO: Use the Group Policy Editor to Manage Local Computer Policy in Windows XP Professional... -
RDS Configuration
I'm working on setting up my development CF server. I've found that I can set up Homesite through RDS and it works just peachy when I hit browse on... -
Help with XP/IIS/ASP.NET configuration
I have setup an XP box to run my ASP.NET application. My objective is to run the application on the XP box and have it accessible to the local... -
Web Configuration...
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the... -
Inn configuration
Hi, I want to configure a INN Newsserver 2.3.5 under Solaris 8, but it causes Problems. Does anyone has experience in configuring it. Are there... -
Neo Chou #2
Where to keep the configuration?
Greetings!
I'm not very good at ASP, but I'm using ASP to design a website. I know
that I can keep some configurable values, such as Server Name, Database Name
and even Login Username and Password in "web.config" under ASP.Net. As to
ASP, is there a way like this? I'm curious about where to keep them.
Thanks in advance.
Neo
Neo Chou Guest
-
Ray at #3
Re: Where to keep the configuration?
I typically will keep constants and what not in an include file.
site.asp:
<%
Const APP_NAME = "Ray's Web-Based Application"
''other constants and what not
%>
some page in app:
<!-- #include virtual="/inc/site.asp" -->
<title><%=APP_NAME%></title>
Or something along those lines.
Ray at home
--
Will trade ASP help for SQL Server help
"Neo Chou" <neochou@hotmail.com> wrote in message
news:OFsftVlUDHA.3220@tk2msftngp13.phx.gbl...Name> Greetings!
>
> I'm not very good at ASP, but I'm using ASP to design a website. I know
> that I can keep some configurable values, such as Server Name, Database> and even Login Username and Password in "web.config" under ASP.Net. As to
> ASP, is there a way like this? I'm curious about where to keep them.
>
> Thanks in advance.
>
> Neo
>
>
Ray at Guest
-
Ray at #4
Re: Where to keep the configuration?
I typically will keep constants and what not in an include file.
site.asp:
<%
Const APP_NAME = "Ray's Web-Based Application"
''other constants and what not
%>
some page in app:
<!-- #include virtual="/inc/site.asp" -->
<title><%=APP_NAME%></title>
Or something along those lines.
Ray at home
--
Will trade ASP help for SQL Server help
"Neo Chou" <neochou@hotmail.com> wrote in message
news:OFsftVlUDHA.3220@tk2msftngp13.phx.gbl...Name> Greetings!
>
> I'm not very good at ASP, but I'm using ASP to design a website. I know
> that I can keep some configurable values, such as Server Name, Database> and even Login Username and Password in "web.config" under ASP.Net. As to
> ASP, is there a way like this? I'm curious about where to keep them.
>
> Thanks in advance.
>
> Neo
>
>
Ray at Guest
-
Neo Chou #5
Re: Where to keep the configuration?
Thank you.
Neo
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:e2QRyYlUDHA.656@tk2msftngp13.phx.gbl...to> I typically will keep constants and what not in an include file.
>
>
> site.asp:
> <%
> Const APP_NAME = "Ray's Web-Based Application"
> ''other constants and what not
> %>
>
>
> some page in app:
>
> <!-- #include virtual="/inc/site.asp" -->
>
> <title><%=APP_NAME%></title>
>
>
> Or something along those lines.
>
> Ray at home
>
> --
> Will trade ASP help for SQL Server help
>
>
> "Neo Chou" <neochou@hotmail.com> wrote in message
> news:OFsftVlUDHA.3220@tk2msftngp13.phx.gbl...> Name> > Greetings!
> >
> > I'm not very good at ASP, but I'm using ASP to design a website. I know
> > that I can keep some configurable values, such as Server Name, Database> > and even Login Username and Password in "web.config" under ASP.Net. As>> > ASP, is there a way like this? I'm curious about where to keep them.
> >
> > Thanks in advance.
> >
> > Neo
> >
> >
>
Neo Chou Guest
-
Curt_C [MVP] #6
Re: Where to keep the configuration?
Global.asa works well, as Application values
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
[url]http://www.Darkfalz.com[/url]
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Neo Chou" <neochou@hotmail.com> wrote in message
news:OFsftVlUDHA.3220@tk2msftngp13.phx.gbl...Name> Greetings!
>
> I'm not very good at ASP, but I'm using ASP to design a website. I know
> that I can keep some configurable values, such as Server Name, Database> and even Login Username and Password in "web.config" under ASP.Net. As to
> ASP, is there a way like this? I'm curious about where to keep them.
>
> Thanks in advance.
>
> Neo
>
>
Curt_C [MVP] Guest
-
Curt_C [MVP] #7
Re: Where to keep the configuration?
Global.asa works well, as Application values
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
[url]http://www.Darkfalz.com[/url]
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Neo Chou" <neochou@hotmail.com> wrote in message
news:OFsftVlUDHA.3220@tk2msftngp13.phx.gbl...Name> Greetings!
>
> I'm not very good at ASP, but I'm using ASP to design a website. I know
> that I can keep some configurable values, such as Server Name, Database> and even Login Username and Password in "web.config" under ASP.Net. As to
> ASP, is there a way like this? I'm curious about where to keep them.
>
> Thanks in advance.
>
> Neo
>
>
Curt_C [MVP] Guest
-
Ray at #8
Re: Where to keep the configuration?
I still have never used global.asa once in any application I've created.
There is no reason for that. I think I'm probably foolish for never using,
but I'm just really never in the mood to see that file extension, I guess.
It makes me think about triangles, which are my least favorite shape. :]
Ray at home
--
Will trade ASP help for SQL Server help
"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:OedYtJmUDHA.2284@TK2MSFTNGP12.phx.gbl...> Global.asa works well, as Application values
>
>
> --
> ----------------------------------------------------------
> Curt Christianson (Software_AT_Darkfalz.Com)
Ray at Guest
-
Ray at #9
Re: Where to keep the configuration?
I still have never used global.asa once in any application I've created.
There is no reason for that. I think I'm probably foolish for never using,
but I'm just really never in the mood to see that file extension, I guess.
It makes me think about triangles, which are my least favorite shape. :]
Ray at home
--
Will trade ASP help for SQL Server help
"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:OedYtJmUDHA.2284@TK2MSFTNGP12.phx.gbl...> Global.asa works well, as Application values
>
>
> --
> ----------------------------------------------------------
> Curt Christianson (Software_AT_Darkfalz.Com)
Ray at Guest
-
Curt_C [MVP] #10
Re: Where to keep the configuration?
As long as you are careful with your INCLUDE file (location, ext, etc)
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
[url]http://www.Darkfalz.com[/url]
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"DaWoE" <dawoe2000@yahoo.com> wrote in message
news:bfrbiq$hp2tr$1@ID-201627.news.uni-berlin.de...guess.> Ray,
>
> I work the same way you do.
> No global asa but constants in a include file.
>
> Dave Woestenborghs
> ASP Developer
> Belgium
>
>
> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
> news:%23OybYUmUDHA.2052@TK2MSFTNGP10.phx.gbl...> using,> > I still have never used global.asa once in any application I've created.
> > There is no reason for that. I think I'm probably foolish for never> > but I'm just really never in the mood to see that file extension, I:]> > It makes me think about triangles, which are my least favorite shape.>> >
> > Ray at home
> >
> > --
> > Will trade ASP help for SQL Server help
> >
> >
> > "Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
> > news:OedYtJmUDHA.2284@TK2MSFTNGP12.phx.gbl...> >> > > Global.asa works well, as Application values
> > >
> > >
> > > --
> > > ----------------------------------------------------------
> > > Curt Christianson (Software_AT_Darkfalz.Com)
> >
>
Curt_C [MVP] Guest
-
Curt_C [MVP] #11
Re: Where to keep the configuration?
As long as you are careful with your INCLUDE file (location, ext, etc)
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
[url]http://www.Darkfalz.com[/url]
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"DaWoE" <dawoe2000@yahoo.com> wrote in message
news:bfrbiq$hp2tr$1@ID-201627.news.uni-berlin.de...guess.> Ray,
>
> I work the same way you do.
> No global asa but constants in a include file.
>
> Dave Woestenborghs
> ASP Developer
> Belgium
>
>
> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
> news:%23OybYUmUDHA.2052@TK2MSFTNGP10.phx.gbl...> using,> > I still have never used global.asa once in any application I've created.
> > There is no reason for that. I think I'm probably foolish for never> > but I'm just really never in the mood to see that file extension, I:]> > It makes me think about triangles, which are my least favorite shape.>> >
> > Ray at home
> >
> > --
> > Will trade ASP help for SQL Server help
> >
> >
> > "Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
> > news:OedYtJmUDHA.2284@TK2MSFTNGP12.phx.gbl...> >> > > Global.asa works well, as Application values
> > >
> > >
> > > --
> > > ----------------------------------------------------------
> > > Curt Christianson (Software_AT_Darkfalz.Com)
> >
>
Curt_C [MVP] Guest
-
Ray at #12
Re: Where to keep the configuration?
And http access to *.inc is explicitly denied by default, I believe, which
is a nice default.
--
Will trade ASP help for SQL Server help
"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:uBeXuKyUDHA.2328@TK2MSFTNGP12.phx.gbl...> aye..... I lose the files :}
> with .NET you get the BIN dir, that's not accessable outside I think...
> That's nice..
>
>
> --
Ray at Guest
-
Ray at #13
Re: Where to keep the configuration?
And http access to *.inc is explicitly denied by default, I believe, which
is a nice default.
--
Will trade ASP help for SQL Server help
"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:uBeXuKyUDHA.2328@TK2MSFTNGP12.phx.gbl...> aye..... I lose the files :}
> with .NET you get the BIN dir, that's not accessable outside I think...
> That's nice..
>
>
> --
Ray at Guest



Reply With Quote

