Print Page | Close Window

Deep Site Integration - Help!

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=26083
Printed Date: 03 April 2026 at 3:33am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Deep Site Integration - Help!
Posted By: PedroCury
Subject: Deep Site Integration - Help!
Date Posted: 07 August 2008 at 11:52pm
Hi guys,

I´m pretty much confused. I think the kind of integration you ask in previous topics are kind of easy and the API´s have a different approach of what I´m looking for (I think!). At least, I couldn´t find any topics on what I want to do.

What I´m looking for is:

- Integrate the login bar or user name in my website header - This means that all my webpages will show a login form or will have the user name that is logged in (by reading his cookie).

- Keep this login session through all my pages... so depending on the user being logged or not, I can offer him different access to my webpage. This usually doesn´t work that much with sessions in my server, because the application pool is usually reseted many times. So, If the user is not logged in by session variables, the code should check the cookies and log him again.

These are the main goals right now and the most important ones.

In other words... I want to use the WWF login system in my whole website (and not the opposite).

Questions:
- Will any API help with that ? (I don´t believe)
- Can anyone give me some hint of which .ASP I should start to study to understand how the login process and cookies works ?





Replies:
Posted By: Scotty32
Date Posted: 08 August 2008 at 5:04pm
If you want to build your site around WWF then you can simply include the "common.asp" file within your pages.

You can then grab basic user info such as Author ID, Username and Group ID with this variables:

lngLoggedInUserID
strUsername
intGroupID

Also you will need to go into the includes/settings_inc.asp file (not sure on exact name) and uncomment the cookie path so that it is "/".


I have a tutorial on http://www.s2h.co.uk/wwf/tips/intergration/member-only-pages.asp - Member-Only Pages , it should give you a head start.



the API would be more for making the forum work with an existing site I beleive.


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: PedroCury
Date Posted: 09 August 2008 at 4:12am
Thanks Scotty32 !

I did some tests, hacked around and I think I did it. It now works... but I have a big concern:
Did you see how many includes the common.asp has ?  So, to only retrive login info from a user and make his session valid I´ll be adding tons of useless, forum specific codes.  And this will multiply for each of my website page, since I´ll show the quick login form or user name in the header.

It would be great to understand which includes I can use and keep this as simples as it can. Maybe creating another #include like common.asp, but that has only the basic login functions.

Can anyone from support give us some light ?


Posted By: freebs
Date Posted: 03 November 2008 at 3:50pm
I have previously had this working on my old site, but now that I have upgraded to V9.5 it doesnt work anymore. I have added the  Include Common.asp and the Language files, and also followed the advice on Scotty32's site, but it just wont work.

I have tried on different browsers, deleted cookies, etc but still no luck.

Am I missing something.





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