I apologize if this has been asked and answered a hundred times already, I searched and did not find it ..
I want to rebuild a web around an existing snitz forum. I want to design several areas as 'member only' parts, and want to use the existing logins of the forum to control access. Can someone point me in the right direction for how to use the current member tables to verify current members, and allow new ones, to acccess the restricted areas with one single log in?
I will be using asp.net/vb.net to do this. I am pretty much a newbie and a non-programmer, but, if someone can point me down the right road (or tell me this is not reasonably do-able) I can take if from there.
if strAutoLogon = 1 then if (ChkAccountReg() <> "1") then Response.Redirect("register.asp?mode=DoIt") end if end if %> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>test</title> </head>
<center> <table width="100%" border="0"> <td BACKGROUND="http://path to your background here/images/bg03.jpg" TEXT="000000" LINK="#80F00F" VLINK="#8080FF"><br><br><br> <!--- in the line above change the background and/or text colors there ---> <body> <!--- Place all page content below this line here --->
<!--- Place all page content above this line here ---> </td> </table> </body> <!--#include file="inc_footer.asp" -->
######################## End Of Page here############
Of course you need to remove both lines that start with ############ but everything else in between is what you need.
An easier way is to set your cookie to website. You can then just use the parts of the code from Snitz that checks whether a member is logged in without relying on all the includes.
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.”