[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cgiapp] Newbie config question, mySQL, Sessions (again)
- Subject: [cgiapp] Newbie config question, mySQL, Sessions (again)
- Date: Thu, 19 Feb 2004 04:07:59 +0000
- From: "Scott Prelewicz" <suppressed>
There was a thread about config files, but it didn't seem to answer the
question I have. I'll give specifics of what I'm trying to accomplish to
make my question easier. Background- I am new to CGI:App, have been
programming Perl for about 3 years but as your typical sloppy/half-a**ed
coder. Anyway, Im building a shopping cart for a few web stores an am going
to be using CGI::App. What is the best way to go about DB connections? IE,
the mySQL un/pw, host, etc. Should I store these in each Instance Script and
pass in to setup via PARAM =>? (I want to only have to change the instance
script for each Cart installation). Is a config.txt (or something to that
effect the best way to go? Or maybe including a config.pl, like Mr.
Stosberg's cascade?
Any advice here is greatly appreciated. On an off topic note, I could also
use advice on Sessions and such.
Thanks,
Scott
_________________________________________________________________
Watch high-quality video with fast playback at MSN Video. Free!
http://click.atdmt.com/AVE/go/onm00200365ave/direct/01/
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.