FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Forum Integration
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Forum Integration [message #159368] Mon, 25 May 2009 19:01 Go to previous message
bhavionline is currently offline  bhavionline   India
Messages: 5
Registered: May 2009
Karma:
Junior Member
Hey Ilia et all,

Well i have an external site and forum installed under forum/ directory.
I have user login in my main website and have successfully integrated user registration and user login using external_fud_login thanks to the wonderful API.

I have also included the sites header to forum header... all's well till here.

Now my problem :

The user logs in to the main site : I store memberId in the session( this is users id in the main website). The user also gets logged in to the forum using external_fud_login function.
Now when i am on my main site i can retreive the memberId from session but on forum pages my main websites memberId is not getting passed. I dont understand why?

Secondly,
Does the forum use keep_alive_sessions, what i want is, when a user logs in from my main site and a cookie is created by the external_fud_login i set the user status as "Online", i have a code which sets this status to "Offline" when user logs out. However if the user does not log-out the status remains "online", is there a way that i can track if the session is active and may be say after 1 hour of inactive session, the session and cookie both expire and the user status is set to offline.

Please let me know.

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to search for attachments to messages
Next Topic: FudForum theme and template edition - probleme to have stable css
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 13:05:04 GMT 2024

Total time taken to generate the page: 0.03773 seconds