Print Page | Close Window

password protecting custom 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=18610
Printed Date: 13 April 2026 at 1:46am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: password protecting custom pages
Posted By: anim8
Subject: password protecting custom pages
Date Posted: 05 March 2006 at 9:29am
Hi Guys,

I am trying to restrict access to a new interview page on my forum. Can somebody help me do this. I have tried the
If Session("IsLoggedOn") <> True then
            Response.Redirect("/forum/insufficient_permission.asp")
            'Or anywhere else you want to send them
 
             Response.End
End If
method but it still allows me to access the page when I am logged out.

Thanks



Replies:
Posted By: WebWiz-Bruce
Date Posted: 06 March 2006 at 10:25am
The simplest option is to create a new 'Interview' forum, then use Web Wiz Forums own built in permission system to deny access to Guests (non-logged in users)


Posted By: anim8
Date Posted: 06 March 2006 at 12:40pm
Hi Borg,

thanks for the reply.
I have some custom formatting requirements so I would like to have a separate page incorporated. Is this possible.


Posted By: WebWiz-Bruce
Date Posted: 06 March 2006 at 1:00pm
Try then along the lines:-

If intGroupID = 2 Then Redirect

None logged in users are in the Guest Group which has the ID value of 2


Posted By: anim8
Date Posted: 07 March 2006 at 9:19am
Hi Borg,

Struggling with syntax. giving me a variable undefined error.



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