Ummm...I hope you are aware that #include's can *NOT* be made conditional in ASP code.
That is, your code doing this:
uid = Request.Cookies("uid")("id")
if uid = "" then
is *ACTUALLY* ALWAYS #including *BOTH* login_page.asp and content.asp.
The only thing the IF is doing is running (or not running) the actual code within those files.
So if, for example, you DIM the same variable name in both files you *WILL* get an error.