Customizing SMF > Portals, Bridges, and Integrations

SMF API 2, Can't login through SMF

(1/1)

DrennanSoftware:
When using the SMF API 2 to login a user through the forum when they login through the website, it does not work. Once the login completes and I navigate to the forum, I am not logged in through the forum. Any ideas? Please help.


--- Code: ---smfapi_login('Matt', 525600)
--- End code ---


--- Code: ---print_r(smfapi_login('Matt', 525600));
--- End code ---

Just outputs 1.

Kindred:
do you have subdomain independent cookies turned ON in smf admin?

DrennanSoftware:
Yes, that is why I'm a little confused. Any ideas?

Andre N:
Is the cookie being set?
Is it actually being set on path '/' ?
What does it contain?

Navigation

[0] Message Index

Go to full version