Forums

This topic is locked

Create link counters = Error message..

Posted 03 Jan 2003 21:23:54
1
has voted
03 Jan 2003 21:23:54 Edwin EdwinM posted:
Hello.
Ive read the tutorial to create hit counters. www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=836&offset=5
But it doesnt work for me.
Do you have to put the "Command [Stored Procedure]" in the <b>Master</b> or in the <b>detail</b> page??
I've tried both but i get an error message in my browser (IE6):

<i>Microsoft JScript runtime error '800a1391'

'request' is undefined

/test2.asp, line 5
</i>
And this is in line 5 of test2.asp:
<b>if(String(request.querystring("id") != "undefined"{ Command1__paramid = String(request.querystring("id");}
</b>

Who knows what to do?
THANKS!

Edited by - EdwinM on 04 Jan 2003 18:52:10

Replies

Replied 04 Jan 2003 18:59:04
04 Jan 2003 18:59:04 Edwin EdwinM replied:
I've searched this site for extra info, but i always saw something with the COMMAND..

So i've created 3 pix for extra info.

This is my test Database:
<img src="www.home.zonnet.nl/mooijaart/opslag_plaatjes/aspcount/table-test.gif" border=0>

I've created a new TEST.ASP in Dreamweaver with only a recordset with * from TEST

In this new test.asp i've put some code with the "COMMAND":
<img src="www.home.zonnet.nl/mooijaart/opslag_plaatjes/aspcount/command.gif" border=0>

But when i now look in IE6 to the page i get a ERROR..
<img src="www.home.zonnet.nl/mooijaart/opslag_plaatjes/aspcount/code-test.gif" border=0>

WHen i create a repeat reagon and a detail page link i get the same error..

<b>WHERE DID I GO WRONG??</b>
Hope someone can help me out.
TNX!

Replied 18 Jan 2003 00:39:32
18 Jan 2003 00:39:32 JediMaster The JediMaster replied:
You have to put the command on the Detail page @ with an incoming parameter

Reply to this topic