Print Page | Close Window

Login

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=5949
Printed Date: 03 April 2026 at 1:02pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Login
Posted By: huwnet
Subject: Login
Date Posted: 24 September 2003 at 11:08am
I need to add some ASP scripts to my WWF. What to I add to the top of the page to see if the user is logged in?

Huw



Replies:
Posted By: Gullanian
Date Posted: 24 September 2003 at 12:47pm

You would need to include the file forum/common.asp on those pages, then do:

If lngLoggedInUserID = 2 then
'Guest
Else
'Member
End if

Not sure if the variable name is right, and there will be some issues with the page if they arent in the same dir as forum



Posted By: fernan82
Date Posted: 24 September 2003 at 9:24pm

and if you include common.asp don't forget to add this at the bottom of the page:

Set rsCommon = Nothing
Set adoCon = Nothing



Posted By: huwnet
Date Posted: 11 October 2003 at 11:17am
What if I added a logout button and is this the same for version 7.5?



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