Hvorfor virker det ikke?
Jeg har denne side:<% if session(\"chatname\") = \"\" then
Response.redirect(\"login.asp\")
else %>
<%
Set conn = Server.CreateObject(\"ADODB.Connection\")
Conn.Open \"DRIVER={Microsoft Access Driver (*.mdb)};DBQ=\"&Server.MapPath(\"data.mdb\")
Set rs = Conn.Execute(\"select * from np where name = \'\" & Request.QueryString(\"name\") & \"\'\")
do until rs.eof
%>
<html>
<body>
<table width=\"250\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<TD vAlign=top rowSpan=5 height=\"1133\">
<center>
<table width=\"150\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"175\">
<tr>
<td align=\"center\" valign=\"middle\">
<% if rs(\"koen\") = \"Mand\" then %>
<% if rs(\"billede\") <> \"\" then %>
<a href=\"http://<%=rs(\"billede\")%>\" target=\"_blank\"><img src=\"http://<%=rs(\"billede\")%>\" width=\"150\" height=\"175\" border=\"0\" alt=\"Billede af <%=session(\"chatname\")%>\"><br>
</a> <i><font face=\"verdana\" size=\"1\">Klik for orginal størrelse.</font></i>
<% else %>
<img src=\"images/intetmand.gif\" border=\"0\">
<% end if %>
<% else %>
<% if rs(\"billede\") <> \"\" then %>
<a href=\"http://<%=rs(\"billede\")%>\" target=\"_blank\"><img src=\"http://<%=rs(\"billede\")%>\" width=\"150\" height=\"175\" alt=\"Billede af <%=session(\"chatname\")%>\" border=\"0\"><br>
</a> <font size=\"1\" face=\"verdana\"><i>Klik for orginal størrelse.</i></font>
<% else %>
<img src=\"images/intetkvinde.gif\" border=\"0\">
<% end if %>
<% end if %>
</td>
</tr>
</table>
<br>
<table width=\"250\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\"><b>Din brugerinfo:</b></font></td>
<td width=\"146\"> </td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Chatnavn:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><b></b></font></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Fornavn:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><%=rs(\"fornavn\")%></font></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\">
<p><font face=\"verdana\" size=\"1\">Efternavn:</font></p>
</td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><%=rs(\"efternavn\")%></font></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">E-mail:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><a href=\"mailto:<%=rs(\"email\")%>\"><%=rs(\"email\")%></a></font></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Website:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><a href=\"http://<%=rs(\"website\")%>\" target=\"_blank\"><%=rs(\"website\")%></a></font></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">ICQ nr.:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\">
<% if rs(\"icq\") <> \"\" then %>
<%=rs(\"icq\")%><br>
<img src=\"http://online.mirabilis.com/scripts/online.dll?icq=<%=rs(\"icq\")%>&img=7\">
<% else %>
<% response.write \"Har ikke icq\" %>
<% end if %>
</font></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Mobil nr.:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\">
<% if rs(\"mobil\") <> \"\" then %>
<%=rs(\"mobil\")%>
<% else %>
<% response.write \"Ønskes ikke oplyst\" %>
<% end if %></font></td>
</tr>
<tr>
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Køn:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><%=rs(\"koen\")%></font></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Alder:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><%=rs(\"alder\")%></font></td>
</tr>
<tr>
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Partnerstatus:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><%=rs(\"partner\")%></font></td>
</tr>
<tr>
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Postnr.:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><%=rs(\"postnr\")%></font></td>
</tr>
<tr>
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">By:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><%=rs(\"by\")%></font></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\" height=\"1\"></td>
</tr>
<tr>
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"102\"><font face=\"verdana\" size=\"1\">Fritekst:</font></td>
<td width=\"146\"><font face=\"verdana\" size=\"1\"><%=rs(\"fritekst\")%></font></td>
</tr>
<tr>
<td colspan=\"2\" height=\"1\" background=\"images/bg.gif\"></td>
</tr>
</table>
</center>
</TD>
</tr>
</table>
</body>
</html>
<%
rs.movenext
loop
rs.close
set rs = nothing
Conn.close
set Conn = nothing
%>
<% end if %>
det er meningen at den skal vise nogle info om den bruger som bliver \"aktiveret\" af linket:
<a href=\'visinfo.asp?chatname=\" & Application(\"chatuser_\" & x) & \"\' target=\'window\'>\" & Application(\"chatuser_\" & x) & \"</a>
Problemet er bare at siden er HVID når den loades, hvorfor?
/TjaZ