Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Integrating Forum Login for whole site
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Integrating Forum Login for whole site

 Post Reply Post Reply
Author
mcwilliams132 View Drop Down
Newbie
Newbie


Joined: 21 March 2003
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mcwilliams132 Quote  Post ReplyReply Direct Link To This Post Topic: Integrating Forum Login for whole site
    Posted: 25 March 2003 at 11:56am

Hi all!

I'm creating a "members only" web site which also uses Web Wiz Forums (v7.3) for the message board area.

As I've seen in other posts...I'd like to use the Forum login page as the global login page for the whole site (and elimiate an extra logon for the forum).  I'm trying to tweak the logon_user.asp page for the logon.

Question is; what code do I need to protect my other pages that aren't part of the forum?

I've looked at the Web Wiz Login app and it uses:

<%
'If the session variable is False or does not exsist then redirect the user to the unauthorised user page
If Session("blnIsUserGood") = False or IsNull(Session("blnIsUserGood")) = True then
 
 'Redirect to unathorised user page
 Response.Redirect"unauthorised_user_page.htm"
End If
%>

As far as I know...Web Wiz Forums doesn't employ this type of security...

How do I go about protecting the rest of my site while carrying through the one logon?

Has anyone sucessfully employed this technique?

Thanks for any help you can provide!

McWilliams132



Edited by mcwilliams132
Back to Top
gorillafan View Drop Down
Newbie
Newbie


Joined: 01 November 2002
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote gorillafan Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2003 at 12:44pm

do you want member access only to ALL of your site, or just part of it?

I have no idea how to do this, but, I am thinking about setting up a section that is "partially private"

Back to Top
faubo View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 May 2002
Location: Brazil
Status: Offline
Points: 560
Post Options Post Options   Thanks (0) Thanks(0)   Quote faubo Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2003 at 12:45pm

Fernan82 made a mod for that, take a look in the Mods and Addons forum, it's easy to use.

But do not use a beta version in a live website, better wait for the final release.

Back to Top
mcwilliams132 View Drop Down
Newbie
Newbie


Joined: 21 March 2003
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mcwilliams132 Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2003 at 12:47pm

Member only to the entire site...

I'd need to be able to protect all the pages (so some monkey can't just go to home.asp or something like that by just typing in the URL).

This will be a controlled site...All members will be setup by invitation only (distributor site)...not by registration.

Back to Top
mcwilliams132 View Drop Down
Newbie
Newbie


Joined: 21 March 2003
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mcwilliams132 Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2003 at 1:02pm

Thanks faubo...

I'm digging around the site right now...but nothing's in the mod & addon's area...

I'll search for Fernan82' posts and I think I remember seeing something from him on this very topic...

Back to Top
mcwilliams132 View Drop Down
Newbie
Newbie


Joined: 21 March 2003
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mcwilliams132 Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2003 at 2:33pm

Thanks for your assistance...

Unfortunatly I'm looking for something a bit more robust/functional...

Mainly this:

- Stand-alone login page
- Error Prompt for bad logins
- ability to remember logon at next visit
- Link for password retreival
- Link for request for new account
- Redirect to the main site page after successful attempt

Now...I have played with your page (which is just a minor revision of the "login_user.asp" page) and my own modifications of the same login_user.asp page with little success...mainly because I don't know all the ins and outs and flow of the code...

I've modified the page so:

- the "your login is bad..try again" message apears above the login box (which is there in your code but not set to display)

- The Email retreival and Register options apear (just modified the login_user.asp page)

What I'm having a problem with is how the page handles the authentication and redirection.

I'm using a page external to the forum folder, so I'm using the <% server.execute "forum/login_xxx.asp" %> convention on a blank asp page.

I guess the main problem is the Form "action="xxxx.asp?id=xxxxx" info...I personally don't think it's nessasary to pass a value since I'm not going to initially be dropped into a forum area...but I do need the user to be logged into the forum.

I'm also guessing the main redirection is happening in the EMAIL UNSUBSCRIBE If/Then area (around line 144)...Not sure if this is set the way I need to use the page.

I've also tried using the "check_permissions.asp" mod and it doesn't seem to notice if I've been logged in or not...not reading the cookie placed or something?

I'm going to post this in the support or mod forums and see if I can get any more bites...

Thanks again!

McWilliams132

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.