<?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 : login integration</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 : login integration]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 08 Apr 2026 19:11:21 +0000</pubDate>
  <lastBuildDate>Thu, 26 Oct 2006 11:02:12 +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=21730</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[login integration : The blnCAPTCHArequired is only...]]></title>
   <link>https://forums.webwiz.net/login-integration_topic21730_post116173.html#116173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 21730<br /><strong>Posted:</strong> 26&nbsp;October&nbsp;2006 at 11:02am<br /><br />The blnCAPTCHArequired is only used if you are using the CAPTCHA security image found in Web Wiz Forums, the strType is only used if logining into the admin section, in which case the value 'Admin' is passed as the value.<br><br>So you only need to pass,<br><br>Call loginUser(username, password, false, "")<br><br>If you are using the CAPTCHA security image change the false part to true.<br>]]>
   </description>
   <pubDate>Thu, 26 Oct 2006 11:02:12 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/login-integration_topic21730_post116173.html#116173</guid>
  </item> 
  <item>
   <title><![CDATA[login integration : Looks like a great solution.  If...]]></title>
   <link>https://forums.webwiz.net/login-integration_topic21730_post116171.html#116171</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24416">bikeweb</a><br /><strong>Subject:</strong> 21730<br /><strong>Posted:</strong> 26&nbsp;October&nbsp;2006 at 10:54am<br /><br />Looks like a great solution.<DIV>&nbsp;</DIV><DIV>If I understand correctly I should build a form with username and password fields and then use the function to check the values and output a login response from 0 to 4.</DIV><DIV>&nbsp;</DIV><DIV>exactly what values am I assigning to the&nbsp;function?</DIV><DIV>&nbsp;</DIV><DIV>I don't understand all the values in the function on the line:</DIV><DIV>&nbsp;</DIV><DIV>CODE</DIV><DIV>&nbsp;</DIV><DIV>Private Function loginUser(ByVal strUsername, ByVal strPassword, ByVal blnCAPTCHArequired, strType)</DIV><DIV>&nbsp;</DIV><DIV>END CODE</DIV><DIV>&nbsp;</DIV><DIV>particularly "ByVal blnCAPTCHArequired" and&nbsp;"strType".&nbsp; Do these values come from the CAPTCHA form?</DIV><DIV>&nbsp;</DIV><DIV>I tried setting up a form and submitting the values for username and password and I am able to get back the values 0 and 1 only, however I'm not able to ever get back the values 2,3, or 4 and I'm not sure&nbsp;how to incorporate the values for the CAPTCHA image code.</DIV><DIV>&nbsp;</DIV><DIV>Here is how I am calling the function:</DIV><DIV>&nbsp;</DIV><DIV>First I created a form to get the username and password values and I included a CAPTCHA form and the common.asp and functions_login.asp files and then I called the function and displayed the results:</DIV><DIV>&nbsp;</DIV><DIV>CODE</DIV><DIV>&nbsp;</DIV><DIV>&lt;!--#include virtual="forum/common.asp" --&gt;</DIV><DIV>&lt;!-- #include virtual="forum/functions/functions_login.asp" --&gt;</DIV><DIV>&lt;!--#include virtual="forum/includes/CAPTCHA_form_inc.asp" --&gt;<BR></DIV><DIV>'get values from the form</DIV><DIV>&nbsp;</DIV><DIV>username = request.form("username")<BR>password= request.form("password")</DIV><DIV>&nbsp;</DIV><DIV>'call the loginUser function</DIV><DIV>formResults = loginUser(username, password, true, strType)</DIV><DIV>&nbsp;</DIV><DIV>response.write formResults<BR></DIV><DIV>END CODE</DIV><DIV>&nbsp;</DIV><DIV>I'm not sure if I assigned the correct values under the call function for </DIV><DIV>&nbsp;</DIV><DIV>"ByVal blnCAPTCHArequired" and&nbsp;"strType"</DIV><DIV>&nbsp;</DIV><DIV>I used "true" and "strType".&nbsp; Is this correct?&nbsp; If not, what am I supposed to be using for these values or where are they assigned for the function?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for any assistance</DIV>]]>
   </description>
   <pubDate>Thu, 26 Oct 2006 10:54:41 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/login-integration_topic21730_post116171.html#116171</guid>
  </item> 
  <item>
   <title><![CDATA[login integration : You could always have a look at...]]></title>
   <link>https://forums.webwiz.net/login-integration_topic21730_post116169.html#116169</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 21730<br /><strong>Posted:</strong> 26&nbsp;October&nbsp;2006 at 9:28am<br /><br />You could always have a look at build your own login page.<br><br>Version 8 uses a function in the file functions/functions_login.asp which you just pass the entered username and password to, if they returns one of the following codes to inform you if the login process was successful or not:-<br><br>'Key to login response<br>&nbsp;&nbsp;&nbsp; '0 = Login Failed<br>&nbsp;&nbsp;&nbsp; '1 = Login OK<br>&nbsp;&nbsp;&nbsp; '2 = CAPTCHA Code OK<br>&nbsp;&nbsp;&nbsp; '3 = CAPTCHA Code Incorrect<br>&nbsp;&nbsp;&nbsp; '4 = CAPTHCA required<br>]]>
   </description>
   <pubDate>Thu, 26 Oct 2006 09:28:44 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/login-integration_topic21730_post116169.html#116169</guid>
  </item> 
  <item>
   <title><![CDATA[login integration : First off, I have been veryimpressed...]]></title>
   <link>https://forums.webwiz.net/login-integration_topic21730_post116166.html#116166</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=24416">bikeweb</a><br /><strong>Subject:</strong> 21730<br /><strong>Posted:</strong> 26&nbsp;October&nbsp;2006 at 9:11am<br /><br /><DIV>First off, I have been very&nbsp;impressed by the WWF software and have purchased the license key for my website at:</DIV><DIV>&nbsp;</DIV><DIV><a href="http://www.legalnurseforums.com" target="_blank">www.legalnurseforums.com</A></DIV><DIV>&nbsp;</DIV><DIV>I am currently working on a way to integrate the login system for WWF to my existing website and have been successful at forcing a login from a secured page based on the following method:</DIV><DIV>&nbsp;</DIV><DIV>1.&nbsp; Place the common.asp file in an includes at the top of the page</DIV><DIV>&nbsp;</DIV><DIV>2.&nbsp; Check if a user is logged into the forum and redirect them to an access </DIV><DIV>denied page if they are not logged in.</DIV><DIV>&nbsp;</DIV><DIV>3.&nbsp; Have them go to the&nbsp;the login page</DIV><DIV>&nbsp;</DIV><DIV>HERE IS THE CODE:</DIV><DIV>&nbsp;</DIV><DIV>&lt;!--#include virtual="forum/common.asp" --&gt;<BR></DIV><DIV>'If the user has not logged in (guest user ID = 2) then redirect them</DIV><DIV>&nbsp;</DIV><DIV>If lngLoggedInUserID = 2 Then<BR>response.redirect "access_denied.asp"<BR>end if</DIV><DIV>&nbsp;</DIV><DIV>END CODE</DIV><DIV>&nbsp;</DIV><DIV>There is a link from the access denied page that takes them to the login page.</DIV><DIV>&nbsp;</DIV><DIV>Although the above system seems to work fine to keep users out of unauthorized pages, I think I am doing this the hard way.&nbsp; I really just want the user to be directed to the login page directly with an error showing that they need to login and skip the access denied page altogether.&nbsp; Then after logging in I would like to return them to their original page.</DIV><DIV>&nbsp;</DIV><DIV>My old login system was something that I have custom written and uses a variable assigned to the URL string passed to the login page that keeps this value after processing the login thus sending the user back to their original starting point after login:</DIV><DIV>&nbsp;</DIV><DIV>HERE IS THE CODE</DIV><DIV>&nbsp;</DIV><DIV>'If the user is not logged in they are redirected to the login page</DIV><DIV>&nbsp;</DIV><DIV>Response.redirect "/login.asp?varRedirect=" &amp;Request.Servervariables("URL") &amp;"?" &amp;Request.Servervariables("QUERY_STRING")</DIV><DIV>&nbsp;</DIV><DIV>END OF CODE</DIV><DIV>&nbsp;</DIV><DIV>The varRedirect value is passed to the process page which sends them back to their starting point after processing.</DIV><DIV>&nbsp;</DIV><DIV>Is there a way in the WWF login system to accomplish the same thing and send the user back to their original page after logging in?&nbsp; Otherwize they have to renavigate the site and find their old page again - kind of a pain.</DIV><DIV>&nbsp;</DIV><DIV>Thanks for any assistance.</DIV>]]>
   </description>
   <pubDate>Thu, 26 Oct 2006 09:11:44 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/login-integration_topic21730_post116166.html#116166</guid>
  </item> 
 </channel>
</rss>