<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : restrict access to forums?</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : restrict access to forums?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Apr 2026 16:56:45 +0000</pubDate>
  <lastBuildDate>Wed, 21 Jan 2004 15:52:49 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=8984</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[restrict access to forums? :   DDC Web Guy wrote: All of...]]></title>
   <link>https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48241.html#48241</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1070">MadDog</a><br /><strong>Subject:</strong> 8984<br /><strong>Posted:</strong> 21&nbsp;January&nbsp;2004 at 3:52pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by DDC Web Guy" alt="Originally posted by DDC Web Guy" style="vertical-align: text-bottom;" /> <strong>DDC Web Guy wrote:</strong><br /><br /><P>All of this "bad code" works perfectly fine in all other pages on the parent site.</P><P></td></tr></table> </P><P>Just because it works doesnt mean its good code.</P><P>If its made in Dreamweaver, i bet the code is extremly bad. Dreamweaver sucks for programming ASP. Hell, just about all Rich Text Editors suck for programming ASP.</P>]]>
   </description>
   <pubDate>Wed, 21 Jan 2004 15:52:49 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48241.html#48241</guid>
  </item> 
  <item>
   <title><![CDATA[restrict access to forums? : If you read my last post you will...]]></title>
   <link>https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48215.html#48215</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 8984<br /><strong>Posted:</strong> 21&nbsp;January&nbsp;2004 at 2:47pm<br /><br />If you read my last post you will see that I have given a suggestion to fix the code.<br><br>Variables should always be declared, but VbScript has option explicitturned off by default so that it allows you to get away with sloppycoding (such as that done by programs like Dreamweaver). So yes thecode would run in the rest of your site as option explicit isn'tenabled allowing sloppy code to run.<br><br>In the forum code stricter coding standards are used so option explicitis turned on, this forces all variables to have to be declared beforebeing used.<br><br>If you read my last post I did give a suggestion on how to fixDreamweavers sloppy coding, or removing the option explicit from eachfile used in thf forum.<br>]]>
   </description>
   <pubDate>Wed, 21 Jan 2004 14:47:25 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48215.html#48215</guid>
  </item> 
  <item>
   <title><![CDATA[restrict access to forums? : All of this &amp;#034;bad code&amp;#034;...]]></title>
   <link>https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48212.html#48212</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=14589">DDC Web Guy</a><br /><strong>Subject:</strong> 8984<br /><strong>Posted:</strong> 21&nbsp;January&nbsp;2004 at 2:07pm<br /><br /><P>All of this "bad code" works perfectly fine in all other pages on the parent site.</P><P>Once a user has logged in to the site, he/she is able to logout from anywhere on the site using the very code that you are saying is "bad." Likewise, any non-member whom tries to access a restricted page on the site is appropriately redirected to a "Please log-in first" page.</P><P>But simply copying all header code into the header.asp file is not working for me. I am not saying that some of the .ASP code possibly doesn't need some tweaking to make it work <EM>("Hey! That's kinda why I am here in the first place.")</EM>, but to just label all of it as "bad coding" I don't feel is fair.</P><P>And yes, I am using Macromedia Dreamweaver (MX 2004 to be exact)and their built in behaviors. I am not a proficient&nbsp;.ASP programmer by any stretch.</P><P>I am just hoping someone might give me some suggestions as to why my code does not work when I copy it into my header.asp as is suggested in the help files and in this forum.</P><P>Thanks!<BR>James</P>]]>
   </description>
   <pubDate>Wed, 21 Jan 2004 14:07:21 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48212.html#48212</guid>
  </item> 
  <item>
   <title><![CDATA[restrict access to forums? :  All these errors are happening...]]></title>
   <link>https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48202.html#48202</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 8984<br /><strong>Posted:</strong> 21&nbsp;January&nbsp;2004 at 1:13pm<br /><br />All these errors are happening becuase you are trying to intergarte other code into the forum.<br><br>The problem isn't with the forum codes, it's with the code that you aretrying to put into it yourself, it's bad coding and looking at the MMpart I guess you are trying to use Dreamweaver to write the code.<br><br>Most of these errors are happening becuase you are trying to introducenew variables without first declaring them (this is bad programmingpractise).<br><br>You need to either remove the Option Explicit line from each file ofthe forum, or correct the bad programming and declare all the newvaraibles that you are introducing before using them using dimstatements. eg:-<br><br>Dim MM_authorizedUsers<br><br>The &lt;<a href="mailto:%@LANGUAGE=%22VB&#115;cript%22%" target="_blank" target="_blank">%@LANGUAGE="VBSCRIPT"%</a>&gt;error is happening becuase the forum already uses that line in it'scode and the new code you are introducing also has it. This line canonly be used once.<br><br><br><span style="font-size:10px"><br /><br />Edited by -boRg-</span>]]>
   </description>
   <pubDate>Wed, 21 Jan 2004 13:13:07 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48202.html#48202</guid>
  </item> 
  <item>
   <title><![CDATA[restrict access to forums? : My error messages are listed below,...]]></title>
   <link>https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48153.html#48153</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=14589">DDC Web Guy</a><br /><strong>Subject:</strong> 8984<br /><strong>Posted:</strong> 21&nbsp;January&nbsp;2004 at 9:46am<br /><br /><P>My error messages are listed below, along with what changes I made to the header.asp file. Keep in mind, that I want to be able to restrict user access to the forum to members of the parent site. Likewise, I want users to be able to logout from the parent site like they can do from any other site page.</P><P>1.&nbsp; AFTER COPYING HEADER INFORMATION THAT APPEARS AT THE TOP OF ALL PARENT SITE PAGES (INCLUDES LOGOUT BEHAVIOR)</P><P>Microsoft VBScript runtime error '800a01f4'<BR>Variable is undefined: 'MM_Logout'<BR>/WebWiz/forum/includes/header.asp, line 89 </P><P>2.&nbsp; REMOVED LOGOUT BEHAVIOR</P><P>Active Server Pages error 'ASP 0141'<BR>Page Command Repeated<BR>/WebWiz/forum/includes/header.asp, line 1<BR>The @ command can only be used once within the Active Server Page.</P><P>3.&nbsp; REMOVED "&lt;<A href='mailto:%@LANGUAGE="VB&#115;cript"%' target="_blank">%@LANGUAGE="VBSCRIPT"%</A>&gt;" FROM LINE 1</P><P><EM>page loads</EM></P><P>4.&nbsp; ADDED BEHAVIOR TO RESTRICT PAGE ACCESS</P><P>Active Server Pages error 'ASP 0141'<BR>Page Command Repeated<BR>/WebWiz/forum/includes/header.asp, line 1<BR>The @ command can only be used once within the Active Server Page.</P><P>5.&nbsp; REMOVED "&lt;<A href='mailto:%@LANGUAGE="VB&#115;cript"%' target="_blank">%@LANGUAGE="VBSCRIPT"%</A>&gt;" FROM LINE 1 (AGAIN)</P><P>Microsoft VBScript runtime error '800a01f4'<BR>Variable is undefined: 'MM_authorizedUsers'<BR>/WebWiz/forum/includes/header.asp, line 3 </P><P>Thanks!<BR>James <IMG src="https://forums.webwiz.net/smileys/smiley5.gif" border="0"></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 21 Jan 2004 09:46:27 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/restrict-access-to-forums_topic8984_post48153.html#48153</guid>
  </item> 
  <item>
   <title><![CDATA[restrict access to forums? : What are the errors????  ]]></title>
   <link>https://forums.webwiz.net/restrict-access-to-forums_topic8984_post47421.html#47421</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 8984<br /><strong>Posted:</strong> 16&nbsp;January&nbsp;2004 at 6:19pm<br /><br />What are the errors????]]>
   </description>
   <pubDate>Fri, 16 Jan 2004 18:19:19 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/restrict-access-to-forums_topic8984_post47421.html#47421</guid>
  </item> 
  <item>
   <title><![CDATA[restrict access to forums? : My client has a &amp;#034;members...]]></title>
   <link>https://forums.webwiz.net/restrict-access-to-forums_topic8984_post47384.html#47384</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=14589">DDC Web Guy</a><br /><strong>Subject:</strong> 8984<br /><strong>Posted:</strong> 16&nbsp;January&nbsp;2004 at 2:32pm<br /><br /><P>My client has a "members only" site in which he would like a forums section. I am trying to figure out how to only allow users that have logged correctly into his site to be able to utilize the Web Wiz Forums.</P><P>I am using ASP.VBScript to authenticate the users for his site. However, whenever I try to ammend the header.asp file with the server behavior that would normally restrict a user's access to a page, I get errors when I try to load WWF on my browser.</P><P>Suggestions anyone?</P>]]>
   </description>
   <pubDate>Fri, 16 Jan 2004 14:32:41 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/restrict-access-to-forums_topic8984_post47384.html#47384</guid>
  </item> 
 </channel>
</rss>