• Welcome to The Cave of Dragonflies forums, where the smallest bugs live alongside the strongest dragons.

    Guests are not able to post messages or even read certain areas of the forums. Now, that's boring, don't you think? Registration, on the other hand, is simple, completely free of charge, and does not require you to give out any personal information at all. As soon as you register, you can take part in some of the happy fun things at the forums such as posting messages, voting in polls, sending private messages to people and being told that this is where we drink tea and eat cod.

    Of course I'm not forcing you to do anything if you don't want to, but seriously, what have you got to lose? Five seconds of your life?

Error Screen Thingy

<%@ language="JScript" %>
<% var url = Request.Url.ToString();
var folderarray = url.split("/");
var folder = folderarray[folderarray.length - 2];
if (folder == "cluegame") { %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Clue Game: 404</title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<link href="cluegame/stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<h1>404</h1>

<p class="poem">Clearly you were wrong about<br />the clue you guessed before,<br />
for now the file you're looking for<br />returns a 404...</p>

<p class="back"><a href="javascript:history.back();">Go back where you came from!</a></p>

<p class="back"><a href="../cluegame.aspx">About the Clue Game</a></p>
</div>

</body>
</html>
<% } else { %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>404 Error - The Cave of Dragonflies</title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<link href="styles/clue.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<h1>404 Error</h1>

<p>Sorry, this file does not appear to exist. If you typed the URL in manually, you may have made a typo, or, if you followed a link, the person who created the link may have made a typo. (If that person is me, please <a href="error.aspx">report it</a>.)</p>

<p>Alternatively, you can just forget about this incident and go <a href="javascript:history.back();">back where you came from</a>.</p>
</div>

</body>
</html>
<% } %>
 
Oh, that. It's just that for some reason the server can't serve it as an aspx file because the URL entered has no extension. If it can be fixed, I don't know how.
 
Back
Top Bottom