I'm integrating forum in my web site and experienced the following: on my home page (in the root directory, snitz is in the "forum" subdirectory) I'm trying to insert a link to member's profile:
<!--#include file="forum/inc_func_common.asp"-->
<!--#include file="forum/inc_func_secure.asp"-->
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
</head><body>
User: <%
strMemberName = Request.Cookies("Snitz00User")("Name")
if strMemberName= "" then
response.write "n/a (<a href='forum/login.asp?target=..'>login</a>)"
else
response.write "<a href='forum/pop_profile.asp?mode=display&id='>" &getMemberID(strMemberName) &"</a>"
end if
%>
</body></html>
but I get: "ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
Thanx, but it doesn't help either. Now I get this error:
ADODB.Recordset error '800a0e7d' Operation is not allowed on an object referencing a closed or invalid connection. /Metodologija/forum/inc_func_secure.asp, line 74
You'll also need to open your database connection. Have a look in inc_header.asp to see how to do so. (Look for my_conn.open)
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.”
Did you get any error messages after adding that? If so, what was the error message?
At the time I get no error message (except "Page could not be displayed..."). Today I checked once more and it works! Don't ask me how Thanks you all! Now I have similar problem: near Username profile link I also want to add a logout link. Is there an easy way to do this?