| Author |
Topic Search Topic Options
|
djlurchg
Groupie
Joined: 31 March 2006
Status: Offline
Points: 40
|
Post Options
Thanks(0)
Quote Reply
Topic: How are we supposed to hook into WWF? Posted: 10 April 2006 at 6:26am |
|
Yes, it's me again. Still not happy with the migration.
Big issue. The new application level logon credentials just broke my application. I developed hooks that used session variables. Here is what I did:
User logs on to main site. My user table has WWF ID stored in a field. That forum id was set to the proper Session Variable. User visits main site, then when ready for the forum, the click on the forum lin...and they are already logged on because of the session variable being set.
And now come to find out V8 uses Cookies that store some sort of GUID?
How am I supposed to integrate? The GUID are generated only by running the WWF Logon code. How can I just hook into the database fields and log the user on?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2006 at 11:26am |
|
The login and session code are handled by functions to make integration simpler.
However, the auto-login cookie still runs and that maybe the way you need to look into your system logging the user into the forum.
I'm sorry that you are not happy with the new login system, but most people are, and a new more secure login and tracking system was required that also didn't rely on cookies as the cookie issue was one of the biggest support issues that we had and one of the biggest complaints with previous versions.
|
 |
djlurchg
Groupie
Joined: 31 March 2006
Status: Offline
Points: 40
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2006 at 4:57pm |
|
borg:
Thanks for the response. It sound like I'm out of luck if I want to be able to log my users in to both the forum and my site in one page call.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2006 at 5:06pm |
|
You shouldn't be, your old system would have had been a modification to the software.
The new system is just much more secure.
The simplest solution would be create a cookie the same as the auto-login cookie for web wiz forums.
|
 |
djlurchg
Groupie
Joined: 31 March 2006
Status: Offline
Points: 40
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2006 at 10:21pm |
|
Ok, I'm trying to hook in.
in tblAuthor just what is User_code?
PS: I manually updated the Username (in Access)...did I mess up the db because it is tied to User_code?
|
 |
wistex
Mod Builder Group
Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
|
Post Options
Thanks(0)
Quote Reply
Posted: 11 April 2006 at 1:17am |
|
I had to do something similar when I integrated WWF with DUDirectoryPro. I made DUDirectoryPro use WWF as the userbase and stripped out DUDirectory's login code. DUDirectoryPro uses session variables to determine if someone is logged in or not. So what I did was set the DUDirectoryPro session variable when WWF logs in a user, and sets the user as logged out in DUDirectoryPro when WWF logs out a user.
So all you need to do is set the cookie or session variable your site keys off of when WWF logs in and out users. Very simple actually.
|
|
|
 |
djlurchg
Groupie
Joined: 31 March 2006
Status: Offline
Points: 40
|
Post Options
Thanks(0)
Quote Reply
Posted: 11 April 2006 at 4:39pm |
|
Scott:
Are you suggesting using tblAuthor to run my application? Not happening. Major recoding would be required.
Are you suggesting that they log in based on the WWF forum and then the rest of the site? Not happening.
Here is the flow: user logs on to site, then clicks through to forum after doing other things.
Simple? I don't see it. ???
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 11 April 2006 at 4:51pm |
|
Although I have not yet had time to implement it I do plan on creating an API so that you can interface with an existing members login system.
Version 8 already has modularised the code for the login, database connection, session handing, tracking system, etc. in preparation for this.
The full version 8 to be released in the next few weeks will have support for Windows Authentication / Active Directory (as it was very simple to write), but a login API to integrate into an existing member group will take longer to write so will have to wait for version 8.1.
|
 |