Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Restrict page to members only
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

perrybond
Starting Member

26 Posts

Posted - 24 February 2005 :  07:13:48  Show Profile
Can anyone give me any clues as to how to restrict access to a web page to logged in members only. (It is not a forum page but a completely different page on my site)

I have already added the mod that makes the login site-wide

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 February 2005 :  07:49:17  Show Profile  Send ruirib a Yahoo! Message
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=46807&SearchTerms=mlev,>,0
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=49771&SearchTerms=mlev,>,0


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

perrybond
Starting Member

26 Posts

Posted - 24 February 2005 :  09:02:43  Show Profile
Thanks, the answer was in there
To cut through the waffle here's the simple answer

Put 'included inc_header.asp' in your file, then add

<%
if mLev > 0 then
Response.Write "You are logged on"
else
Response.Write "NOT logged on"
end if
%>
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 25 February 2005 :  08:05:44  Show Profile
quote:
Originally posted by perrybond



Put 'included inc_header.asp' in your file


Or "inc_header_short.asp" if you don't want the html from "inc_header" .

    _-/Cripto9t\-_
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07