MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Session Database



Quoting Bill (bill@webteam.net):
> 
> Hi all,
> 
> I've set up Minivend 3.12 on a digital unix system.  I'm running sql
> databases.  My question:  what is the best method to use for the session
> database.  Is it best to use gdbm, db_file, or file based sessions.  What
> are the pro's and con's of each.  Also, is it possible to sql for the
> session database and if so, would it be desirable.

GDBM and file-based work best on a local disk. File-based probably are
best for a network mount -- if you are on Solaris or Linux. (Don't know
whether BSD flock is networkable.)

Interestingly enough, except for shipping.asc and salestax.asc, not really
required for all catalogs*, all MV things can be in SQL, including sessions.

SQL sessions are only with a BLOB, are very slow, and are not
recommended. Because it is so bad, I never documented it but it still
should be there. If anyone has a hankering to try it, look at the source
(start with Config.pm and Session.pm).

For those who are interested there is a preview of the new MML* ASP syntax
in MV4. It can be seen for a very limited time at:

	http://bill.minivend.com/cgi-bin/ntest/mvasp.html

If you read this on Monday afternoon, don't expect it to be there.
And it could be up and down. 8-)

* Consider this as a shipping.asc:

shipping	Configurable Shipping	weight	0	9999999	f [my-shipping-tag @@TOTAL@@]

** MiniVend Markup Language, dubbed that by the minivend-docs list

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
                                    131 Willow Lane, Floor 2  | ||  _ \
It's a little-known fact            Oxford, OH  45056         | || |_) |
that the Y1K problem caused         <mikeh@minivend.com>     |___|  _ <
the Dark Ages. -- unknown           513.523.7621 FAX 7501        |_| \_\


Search for: Match: Format: Sort by: