Print Page | Close Window

Using WWF login on other pages

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=19729
Printed Date: 11 April 2026 at 10:39pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Using WWF login on other pages
Posted By: skbohler
Subject: Using WWF login on other pages
Date Posted: 05 May 2006 at 4:33pm
Hello,
 
I'd like to include some content only pages (i.e., non discussion forum pages) that I'd like to provide security for.
 
The thing is, I want to control access to those pages based on whether or not they have a WWF account and if they've logged in.
 
Is there a simple way to do this?
 
Thanks in advance,
 
Steve



Replies:
Posted By: WebWiz-Bruce
Date Posted: 06 May 2006 at 10:09am
It can be done, probably the easiest way to suggest this is if you look in the common.asp file, this file does does most of the login etc. work by calling functions in the file 'functions/functions_login.asp'

-------------
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


Posted By: skbohler
Date Posted: 08 May 2006 at 12:00am
Thanks, that seems to work! Smile
 
On my wishlist is a tweak so that, when you click on a page that sends you to the login page, upon successful login, you are then redirected to the exact page you were trying to access. It always redirects to a main forum, not the intended page.
 
Thanks,
 
Steve


Posted By: WebWiz-Bruce
Date Posted: 08 May 2006 at 9:54am
If a user is not logged into the forum they are a Guest.

Use the following to test of the user is logged in or not:-

If blnGuest Then


-------------
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


Posted By: skbohler
Date Posted: 08 May 2006 at 12:24pm
Hi boRg,
 
I'm not sure what you're referring to in your last reply. Is it a reply to my tangential question/request about the WWF login functionality knowing to redirect you to the initial page you were trying to access (which, I realize, doesn't have anything to do with my original question)?
 
Thanks,
 
Steve


Posted By: WebWiz-Bruce
Date Posted: 09 May 2006 at 8:57am
I believe you were asking how to detect if a user is logged in or not using web wiz forums login system.

-------------
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