Print Page | Close Window

Integration with password protected area

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=355
Printed Date: 29 March 2026 at 10:53am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Integration with password protected area
Posted By: manufan
Subject: Integration with password protected area
Date Posted: 20 February 2003 at 10:58am

Please help: I want to put my forum within a members only area.

A user enters their name & password into an HTML form to log in to the members area.

The ASP code in the "form handler" checks that the user exists by querying an Access database. If a record is found, a session variable ("loggedin") is set to true.

Which pages and which lines of code need to be modified so that once a user logs into the members area, they are automatically logged into the forum and the user name form the Members database becomes their user name for the forum.

 

Thanks




Replies:
Posted By: WebWiz-Bruce
Date Posted: 20 February 2003 at 11:05am

It would be simpler to use the forums login procedure for the lgin for your members area as it doesn't use session variables (which you should avoid) and also uses a unqiue code stored in a cookie to keep track of the user.

Have a look in the common.asp file as to see how the login in the forum works.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net