I don't see anywhere that the session object (ct) is added to the session contents, so you can't call it
I see
ct = a.ReadLine
'that does not create a session object content item - it just creates a variable named ct
if session("ct")
' that is lookhing for the session that does not exist
To create a session object you need
Session("ct") = a.ReadLine
or
ct = a.ReadLine
Session("ct") = ct
' vs. just ct = a.ReadLine
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
| Lauren,
|
| Is there an included file in index.asp, if so, you have to count those lines as well to get to line
| 575.
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WEBMASTER Resources(tm)
|
| FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| ==============================================
| To assist you in getting the best answers for FrontPage support see:
|
http://www.net-sites.com/sitebuilder/newsgroups.asp
|
| | > The funny thing is... there is no line 575.
| >
| > Lauren
| >
| > "Bob Lehmann" <none> wrote in message
| > | >> What's on line 575 in index.asp?
| >>
| >> Bob Lehmann
| >>
| >> | >> > My Systems Admin has updated the file and we are back to the oringinal
| >> > error.
| >> > Microsoft VBScript runtime error '800a000d'
| >> > Type mismatch: 'session'
| >> > /WAC/index.asp, line 575
| >> >
| >> >
| >> >
| >> > Lauren
| >> >
| >> > | >> > > Hopefully, he will read it here and reply, since it is a free script.
| >> > >
| >> > > --
| >> > > ==============================================
| >> > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| >> > > WEBMASTER Resources(tm)
| >> > >
| >> > > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| >> > > ==============================================
| >> > > To assist you in getting the best answers for FrontPage support see:
| >> > >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| >> > >
| >> > | >> > > Tom,
| >> > >
| >> > > Can you forward this issue to Kevin. I attempted to email him at ....
| >> > > Recipient address: (e-mail address removed)
| >> > > Reason: Remote SMTP server has rejected address
| >> > >
| >> > > As up can see it was rejected.
| >> > >
| >> > > Thanks,
| >> > >
| >> > > Lauren
| >> > >
| >> > | >> > > > Limitation indicated is regarding the use of a text database driver.
| >> > Have you/he consider using an
| >> > > > Access database to store the count, with the global.asa file, which
| >> > would track users and update
| >> > > > the
| >> > > > database?
| >> > > >
| >> > > > Maybe Kevin Spencer can offer some thoughts, since the code look
| > like
| >> > his.
| >> > > > --
| >> > > > ==============================================
| >> > > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| >> > > > WEBMASTER Resources(tm)
| >> > > >
| >> > > > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| >> > > > ==============================================
| >> > > > To assist you in getting the best answers for FrontPage support see:
| >> > > >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| >> > > >
| >> > > > | >> > > > > Yes I had him do that. Looks like he has been messing w/ it
| > though
| >> > since I
| >> > > > > emailed him and now the error is this....
| >> > > > > ADODB.Field error '800a0cb3'
| >> > > > > Current Recordset does not support updating. This may be a
| >> limitation
| >> > of the
| >> > > > > provider, or of the selected locktype
| >> > > > >
| >> > > > > Do you know what this means?
| >> > > > >
| >> > > > > Lauren
| >> > > > >
| >> > > > > | >> > > > >> You only need have him do it on a single folder, which is where
| > you
| >> > would
| >> > > > > store the txt file.
| >> > > > >>
| >> > > > >> --
| >> > > > >> ==============================================
| >> > > > >> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >> > > > >> WEBMASTER Resources(tm)
| >> > > > >>
| >> > > > >> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| >> > > > >> ==============================================
| >> > > > >> To assist you in getting the best answers for FrontPage support
| >> see:
| >> > > > >>
http://www.net-sites.com/sitebuilder/newsgroups.asp
| >> > > > >>
| >> > > > > | >> > > > >> >I have told him to do that to the web folder itself, but i'm not
| >> > sure
| >> > > > > about
| >> > > > >> > the file. I have sent him an email and I will let you know if
| >> > something
| >> > > > >> > comes of it.
| >> > > > >> >
| >> > > > >> > Thank you,
| >> > > > >> >
| >> > > > >> > Lauren
| >> > > > >> >
| >> > > > >> > | >> > > > >> >> Have the Admin person make sure that the folder holding the
| >> > counter.txt
| >> > > > >> > file has read/write and
| >> > > > >> >> delete permissions, as well as the file itself.
| >> > > > >> >>
| >> > > > >> >> --
| >> > > > >> >> ==============================================
| >> > > > >> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >> > > > >> >> WEBMASTER Resources(tm)
| >> > > > >> >>
| >> > > > >> >> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| >> > > > >> >> ==============================================
| >> > > > >> >> To assist you in getting the best answers for FrontPage
| > support
| >> > see:
| >> > > > >> >>
http://www.net-sites.com/sitebuilder/newsgroups.asp
| >> > > > >> >>
| >> > > > >> > | >> > > > >> >> >I have attached the Counter.txt file that my programmer has
| >> > written,
| >> > > > > and
| >> > > > >> >> > also the code that is in the actual index.asp page itself.
| > I
| >> am
| >> > not
| >> > > > >> > sure if
| >> > > > >> >> > I know how to answer your which is required question about
| >> .asp
| >> > or
| >> > > > >> > .html. I
| >> > > > >> >> > didn't know that it matter, but I can tell you that the page
| >> > that I
| >> > > > > am
| >> > > > >> >> > running the scrip on is .asp.
| >> > > > >> >> >
| >> > > > >> >> > Thanks,
| >> > > > >> >> >
| >> > > > >> >> > Lauren
| >> > > > >> >> > | >> > > > >> >> >> Are you running the intranet via http (server based) or
| >> > Disk-based
| >> > > > >> > (drive
| >> > > > >> >> > letter)?
| >> > > > >> >> >> Do all of the pages in the site have .asp extensions, if
| >> > > > > server-based
| >> > > > >> >> > which required?
| >> > > > >> >> >>
| >> > > > >> >> >> --
| >> > > > >> >> >> ==============================================
| >> > > > >> >> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >> > > > >> >> >> WEBMASTER Resources(tm)
| >> > > > >> >> >>
| >> > > > >> >> >> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| >> > > > >> >> >> ==============================================
| >> > > > >> >> >> To assist you in getting the best answers for FrontPage
| >> support
| >> > see:
| >> > > > >> >> >>
http://www.net-sites.com/sitebuilder/newsgroups.asp
| >> > > > >> >> >>
| >> > > > >> >> > | >> > > > >> >> >> >I am a graphic/web designer for my company and I needed a
| >> hit
| >> > > > > counter
| >> > > > >> > for
| >> > > > >> >> >> > one of our Intranet websites that I built. Since I'm not
| >> > much of
| >> > > > > a
| >> > > > >> >> >> > programmer I had our VB programmer create a script for
| > the
| >> > > > > counter.
| >> > > > >> > We
| >> > > > >> >> >> > added to the home page, but receive the following error
| >> from
| >> > the
| >> > > > >> >> > site....
| >> > > > >> >> >> > Microsoft VBScript runtime error '800a000d'
| >> > > > >> >> >> > Type mismatch: 'session'
| >> > > > >> >> >> >
| >> > > > >> >> >> > Our VB programmer seems to think that it something that
| >> needs
| >> > to
| >> > > > > be
| >> > > > >> > set
| >> > > > >> >> > on
| >> > > > >> >> >> > the server end, such as access privelages. So I asked
| > our
| >> > Systems
| >> > > > >> > Admin
| >> > > > >> >> > to
| >> > > > >> >> >> > give read/write access to that specific web folder, but
| > the
| >> > error
| >> > > > >> > still
| >> > > > >> >> >> > occurs. I am at a lose on what to have him do next. My
| >> > Systems
| >> > > > >> > Admin
| >> > > > >> >> > does
| >> > > > >> >> >> > not have time to research the error, but said if I can
| > tell
| >> > him
| >> > > > >> > exactly
| >> > > > >> >> > what
| >> > > > >> >> >> > to do, he will do it. Do you have any ideas?
| >> > > > >> >> >> >
| >> > > > >> >> >> > Thanks,
| >> > > > >> >> >> >
| >> > > > >> >> >> > Lauren
| >> > > > >> >> >> >
| >> > > > >> >> >> >
| >> > > > >> >> >>
| >> > > > >> >> >>
| >> > > > >> >> >
| >> > > > >> >> >
| >> > > > >> >> >
| >> > > > >> >>
| >> > > > >> >>
| >> > > > >> >
| >> > > > >> >
| >> > > > >>
| >> > > > >>
| >> > > > >
| >> > > > >
| >> > > >
| >> > > >
| >> > >
| >> > >
| >> >
| >> >
| >>
| >>
| >
| >
|
|