<?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 : Show if user logged in</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 : Show if user logged in]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 21:38:13 +0000</pubDate>
  <lastBuildDate>Tue, 18 Mar 2008 20:47:53 +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=25409</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[Show if user logged in : If dont correctly it shouldnt...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post132069.html#132069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 18&nbsp;March&nbsp;2008 at 8:47pm<br /><br />If dont correctly it shouldnt make a difference which browser is used as ASP is server-side scripting.<br><br>The browser only see's the HTML produced by the server, which is the same for IE and FireFox<br>]]>
   </description>
   <pubDate>Tue, 18 Mar 2008 20:47:53 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post132069.html#132069</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in : Don&amp;#039;t know what I did but...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post132067.html#132067</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=16732">Andy Rowland</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 18&nbsp;March&nbsp;2008 at 8:09pm<br /><br />Don't know what I did but it is now working on both Firefox and IE.]]>
   </description>
   <pubDate>Tue, 18 Mar 2008 20:09:32 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post132067.html#132067</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in : Thanks for your help. I managed...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131961.html#131961</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=16732">Andy Rowland</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 13&nbsp;March&nbsp;2008 at 12:17am<br /><br />Thanks for your help.<DIV>I managed to get it to work in Firefox but not in IE. Even after I log in to the Forum, my form does not show.</DIV><DIV>Are there some other settings I need to change?</DIV><DIV>Thanks</DIV><span style="font-size:10px"><br /><br />Edited by Andy Rowland - 15&nbsp;March&nbsp;2008 at 9:47pm</span>]]>
   </description>
   <pubDate>Thu, 13 Mar 2008 00:17:14 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131961.html#131961</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in : As I said, you will need to merge...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131926.html#131926</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 11&nbsp;March&nbsp;2008 at 12:27pm<br /><br />As I said, you will need to merge the two.<br><br>The tutorial tells you how to block access, so you would simply remove the redirecting code and change it to suit your needs.<br><br>basically you need this at the top of the page:<br><br><table width="99%"><tr><td><pre class="BBcode">&lt;!--#include virtual="/forum/common.asp" --&gt;</pre></td></tr></table><br><br>and then you would use this where you want to hide:<br><br><table width="99%"><tr><td><pre class="BBcode">&lt;%<br>&nbsp;if lngLoggedInUserID &lt;&gt; 2 then<br>%&gt;<br><br><font color="#ff0000">*What you want to hide here*</font><br><br>&lt;%<br>&nbsp;&nbsp; end if<br>%&gt;</pre></td></tr></table><br><br>And then you need to add this at the bottom of the page to close any database connections created by the forum.<br><br><table width="99%"><tr><td><pre class="BBcode">&lt;% Call closeDatabase() %&gt;</pre></td></tr></table><br>]]>
   </description>
   <pubDate>Tue, 11 Mar 2008 12:27:12 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131926.html#131926</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in : All I want is to hide the form...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131917.html#131917</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=16732">Andy Rowland</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 10&nbsp;March&nbsp;2008 at 8:59pm<br /><br /><P>All I want is to hide the form on that page, not the entire page. As&nbsp; understand your script blocks access to pages that include your code to none registerd forum members.</P><DIV>How would your code be used to do this on my page.</DIV><DIV>Thanks for your help on this.</DIV>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 20:59:37 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131917.html#131917</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in : That page doesnt appear to be...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131907.html#131907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 10&nbsp;March&nbsp;2008 at 12:45pm<br /><br />That page doesnt appear to be connected to the forum.<br><br>You would need to include the /forum/common.asp file into that page for the above code to work.<br><br>Check my Members Only tutorial and combine it with the above code for it to work.<br>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 12:45:07 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131907.html#131907</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in : Thanks for your help. I have...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131877.html#131877</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=16732">Andy Rowland</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 08&nbsp;March&nbsp;2008 at 9:17pm<br /><br />Thanks for your help.<DIV>I have already used:</DIV><DIV><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-GB; mso-fareast-: EN-GB; mso-bidi-: AR-SA"><table width="99%"><tr><td><pre class="BBcode">&lt;%<BR>&nbsp;if lngLoggedInUserID &lt;&gt; 2 then<BR>&nbsp;&nbsp;&nbsp; Response.Write("You are logged in")<BR>&nbsp;end if<BR>%&gt;</pre></td></tr></table></SPAN></DIV><DIV><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-GB; mso-fareast-: EN-GB; mso-bidi-: AR-SA"></SPAN>&nbsp;</DIV><DIV><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-GB; mso-fareast-: EN-GB; mso-bidi-: AR-SA">Go to <a href="http://www.cookmaroc.co.uk/StartersDetails.asp?RecID=8" target="_blank">http://www.cookmaroc.co.uk/StartersDetails.asp?RecID=8</A></SPAN></DIV><DIV><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-GB; mso-fareast-: EN-GB; mso-bidi-: AR-SA">and then scroll down until you get to the Latest Review and Add Review. I want to hide the Add Review form if you are not logged in using the forum.</SPAN></DIV><DIV><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-GB; mso-fareast-: EN-GB; mso-bidi-: AR-SA">Thanks.</SPAN></DIV>]]>
   </description>
   <pubDate>Sat, 08 Mar 2008 21:17:42 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131877.html#131877</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in :  My understanding is so poor....]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131876.html#131876</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=26297">StarDust</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 08&nbsp;March&nbsp;2008 at 9:03pm<br /><br />My understanding is so poor. Sorry guys.<br><br>I am a bit weak in receiving department.]]>
   </description>
   <pubDate>Sat, 08 Mar 2008 21:03:04 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131876.html#131876</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in : He isnt refering to the online...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131870.html#131870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 08&nbsp;March&nbsp;2008 at 5:32pm<br /><br />He isnt refering to the online status stardust.<br><br><br>anyway, if you want to make an area for members only just do:<br><br><table width="99%"><tr><td><pre class="BBcode">&lt;%<br>&nbsp;if lngLoggedInUserID &lt;&gt; 2 then<br>&nbsp;&nbsp;&nbsp; Response.Write("You are logged in")<br>&nbsp;end if<br>%&gt;</pre></td></tr></table><br><br>if you want it to be for Admins only just do:<br><br><table width="99%"><tr><td><pre class="BBcode">&lt;%<br>&nbsp;if intGroupID = 1 then<br>&nbsp;&nbsp;&nbsp; Response.Write("You are an Administrator")<br>&nbsp;end if<br>%&gt;</pre></td></tr></table><br><br>Also, i have a tutorial on <a href="http://www.s2h.co.uk/wwf/tips/intergrati&#111;n/member-&#111;nly-pages.asp" target="_blank">Member-Only Pages</a>. When i get time i intend to do a list of Member related commands (such as how to get the users id, username, group etc)]]>
   </description>
   <pubDate>Sat, 08 Mar 2008 17:32:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131870.html#131870</guid>
  </item> 
  <item>
   <title><![CDATA[Show if user logged in : It is located right left to this...]]></title>
   <link>https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131868.html#131868</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=26297">StarDust</a><br /><strong>Subject:</strong> 25409<br /><strong>Posted:</strong> 08&nbsp;March&nbsp;2008 at 1:30pm<br /><br />It is located right left to this post. :)]]>
   </description>
   <pubDate>Sat, 08 Mar 2008 13:30:39 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/show-if-user-logged-in_topic25409_post131868.html#131868</guid>
  </item> 
 </channel>
</rss>