Okay, now one more question.
The default page for this site is a frameset page with three .asp pages in
the frame.
What is happening now when someone visits the site is thatI get three logins
entries in the table for the initial visit. Is this because the three asp
pages are in effect accessed simultaneously?
What I want is one entry in the table every time someone hits the site. I
was doing this with a session variable. Seemed like doing it through the
global.asa was cleaner. any thoughts?
Thanks again
-dmd-
"Bob Barrows" <> wrote in message
news:...
> Mac Davis wrote:
> > The follwing is in Session_Onstart
> > I know the connectionstring is correct because it works on other
> > pages.
> > I simply want to add a record to do_userlog
> >
> > ---------------------------------------------------------------------
> > objconn.open
> > objrec.open sqlstr, objconn, adOpenStatic, adLockReadOnly
> >
> > The following error is returned
> > ADODB.Recordset error '800a0bb9'
> >
> > Arguments are of the wrong type, are out of acceptable range, or are in
> > conflict with one another.
>
> This error means that you do not have the ado constants (adOpenStatic,
etc.)
> defined on this page. You will either need to define them yourself (you
can
> look up the Const statements in the adovbs.inc file), or use the method
> shown here:
> http://www.aspfaq.com/show.asp?id=2112
>
> HTH,
> Bob Barrows
>
>
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>