andybrown19
02-25-2007, 11:19 AM
hi guys, need a bit of help with my recordset paging, i havent changed anything from the "stock" settings so in theory it should work!
i can browse the site fine using the localhost loopback but wen i access it from a remoter PC i get the error message
Microsoft VBScript runtime error- Error '800a000d'
Type mismatch: '[string: "10?offset=20"]'
/index.asp, line 136
i have noticed whilke browsing locally the address is slightkly diffrent as it says "http://localhost/index.asp?offset=20" locally but wen remote it says "http://62.31.60.18/?offset=10?offset=20"
feel free to look at the site http://62.31.60.18
the code from lines 130 - 140 follow
' use index parameter if defined, otherwise use offset parameter
MM_param = Request.QueryString("index")
If (MM_param = "") Then
MM_param = Request.QueryString("offset")
End If
If (MM_param <> "") Then
MM_offset = Int(MM_param)
End If
' if we have a record count, check if we are past the end of the recordset
If (MM_rsCount <> -1) Then"
Thanks for any help guys
Cheers
i can browse the site fine using the localhost loopback but wen i access it from a remoter PC i get the error message
Microsoft VBScript runtime error- Error '800a000d'
Type mismatch: '[string: "10?offset=20"]'
/index.asp, line 136
i have noticed whilke browsing locally the address is slightkly diffrent as it says "http://localhost/index.asp?offset=20" locally but wen remote it says "http://62.31.60.18/?offset=10?offset=20"
feel free to look at the site http://62.31.60.18
the code from lines 130 - 140 follow
' use index parameter if defined, otherwise use offset parameter
MM_param = Request.QueryString("index")
If (MM_param = "") Then
MM_param = Request.QueryString("offset")
End If
If (MM_param <> "") Then
MM_offset = Int(MM_param)
End If
' if we have a record count, check if we are past the end of the recordset
If (MM_rsCount <> -1) Then"
Thanks for any help guys
Cheers