1
felipelodi
Session Control from another Website User Login
  • 2008/7/9 12:57

  • felipelodi

  • Just popping in

  • Posts: 3

  • Since: 2008/6/25


Hi Friends,

I have to create a Website module with Xoops. This Website already has its User Login, Session control, etc....

How do I get the session already opened by another Website. I have fully access to its user.class.

I just need to use XOOPS without logging, my cliente wants to keep his User Login from his original Website.

Thanks in advance.
Felipe Lodi.

2
Mamba
Re: Session Control from another Website User Login
  • 2008/7/10 5:13

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Maybe the XOOPS User Pool would help?
https://xoops.org/modules/news/article.php?storyid=4258
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
felipelodi
Re: Session Control from another Website User Login
  • 2008/7/24 18:04

  • felipelodi

  • Just popping in

  • Posts: 3

  • Since: 2008/6/25


I still haven't heard but thanks a lot.

4
wishcraft
Re: Session Control from another Website User Login

Hi felipelodi,

is the website on a subdomain or the same domain ie. xoops.yoursite.com or yoursite.com/xoops/? If this is the case then all you need to do first is adjust the dope of the cookie to allow for session cookies to be accessed by subdomains.

This in PHP if you look up the session information is called the 'domain' call of the setcookie information see here...

Once you have that in place you will need to get XOOPS to validate and log you in with the session information you have stored this will be the class in the xoops/class module you will have to change..

It will be an extensive change to the system, you may as Mamba has suggested set up a SOAP transactional layer to propogate username that come into the site from the other website application.

However, if they are on different domains, you will then have to find someway of making the cookie readable from that other domain, I am not sure if this can happen, but you will have to experiment with the session control.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

5
leopsyrj
Re: Session Control from another Website User Login
  • 2008/9/7 4:21

  • leopsyrj

  • Just popping in

  • Posts: 5

  • Since: 2008/8/28


Hi people,
I have exactly this same problem. XOOPS is located in a subdirectory of project main.
mysite.com/xoops/
and the main site have a login system.

exists some possibility to use the object "global $xoopsUser" integrated?
for identify the user?

Login

Who's Online

143 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits