Print Page | Close Window

need help(using webwiz registration form)

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=14840
Printed Date: 30 March 2026 at 3:20am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: need help(using webwiz registration form)
Posted By: urko
Subject: need help(using webwiz registration form)
Date Posted: 26 April 2005 at 9:50am
Hey all.

Fisrt let me just say that I have searched for the similar topic but couldn't find it anywhere, therefor I decided to ask you guys something.

I'm using webwiz forum and its suits me well.
I'm planning to extend my site also in some areas where some informations would be available ( I have small store and repair store of hunting needs; reloading etc...) but I would like that they should be registered users in order to read this informations.

Now because I'm not an expert in asp coding I would like to know, what must I do that if you would like to see so called "member pages" you'll have to register in my forum??

Thanks in advance




-------------
Urko



Replies:
Posted By: urko
Date Posted: 05 May 2005 at 1:53pm
Guess I''ll have to try and look somwhere else thenCryCry

-------------
Urko


Posted By: aks427
Date Posted: 05 May 2005 at 3:06pm
If you want to protect pages so only registered members can view them, add this to the top of your asp page.
 
<!--#include file="forum/common.asp"-->
<%
If intGroup_ID = 2 then
      Response.Redirect "forum/insufficient_permission.asp"
End If
%>
 
Change the red part to the correct path.


Posted By: urko
Date Posted: 07 May 2005 at 2:23am
I have changed the path to correct 1, but still I can open the page. Is there something else that I have to add as well?

-------------
Urko


Posted By: aks427
Date Posted: 09 May 2005 at 2:15pm
What error do you get?


Posted By: urko
Date Posted: 10 May 2005 at 4:16am
Originally posted by aks427 aks427 wrote:

What error do you get?
I don't get any errors at all.
 
I just created blank page added
<!--#include file="forum/common.asp"-->
<%
If intGroup_ID = 2 then
      Response.Redirect "forum/insufficient_permission.asp"
End If
%>
changed the path nad saved it and wrote "hello world" just to see if page shows anything or not.
.
So when I go to this page it opens with no error!
M I missing something??
 


-------------
Urko


Posted By: dj air
Date Posted: 10 May 2005 at 5:41am
i believe the veriable is intGroupID without a _




Posted By: urko
Date Posted: 10 May 2005 at 5:47am
Originally posted by dj air dj air wrote:

i believe the veriable is intGroupID without a _
 
Thanks, it works now!!!!!Big smile


-------------
Urko



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