Print Page | Close Window

Regesterd acces to site only?

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=7530
Printed Date: 06 April 2026 at 2:13pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Regesterd acces to site only?
Posted By: PCguru
Subject: Regesterd acces to site only?
Date Posted: 23 November 2003 at 12:48pm

hi people, 

i need a little help, i have a website which has downloads on it the downlaods are free but i wish to make it that only registerd users of my bored can get to my downlaods page,,,,

in short i whould like it so as soon as thay come to my index page there asked to register or login, if thay do neither then thay cannot access??

is this possble??

 




Replies:
Posted By: india
Date Posted: 23 November 2003 at 1:20pm

yes, possible.

go 2 forum admin -> in forum access make it registered users



Posted By: Badaboem
Date Posted: 23 November 2003 at 1:30pm
<!--#include file="forum/common.asp" -->

<%
If lngLoggedInUserID = 2 Then
    Server.Execute("notamember.asp")
    Response.Write "You have to be a member in order to use the downloads section" & "."
Else
     Server.Execute("yourdownloadsi te.asp ")
End If
%>


notamember.asp has to be your registration page in this case.


Posted By: PCguru
Date Posted: 23 November 2003 at 7:27pm

Hey,

thanks for the code above it works ,,, BUT seems you have to login everytime even thos u choose the "auto login" option  seems my fourm wants me to login everytime i ahve cookies enabled??

any idears?




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