Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Regesterd acces to site only?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Regesterd acces to site only?

 Post Reply Post Reply
Author
PCguru View Drop Down
Newbie
Newbie


Joined: 23 November 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote PCguru Quote  Post ReplyReply Direct Link To This Post Topic: Regesterd acces to site only?
    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??

 

Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2003 at 1:20pm

yes, possible.

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

Back to Top
Badaboem View Drop Down
Senior Member
Senior Member


Joined: 12 April 2002
Location: Netherlands
Status: Offline
Points: 600
Post Options Post Options   Thanks (0) Thanks(0)   Quote Badaboem Quote  Post ReplyReply Direct Link To This Post 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.

Edited by Badaboem
Back to Top
PCguru View Drop Down
Newbie
Newbie


Joined: 23 November 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote PCguru Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.