News:

Wondering if this will always be free?  See why free is better.

Main Menu

desperately need help with set cookie

Started by serveron, February 05, 2010, 06:03:42 PM

Previous topic - Next topic

serveron

I am using smf with custom integration into my game and facebook.
Do I need the set cookie since I am frequently getting white screen reports... my site is using sessions.
Can I maybe clear existing cookie in a way before setting new.

My code for loggin in is

smf_authenticateUser();
smf_setLoginCookie(84600,$username,$pass,false);
smf_loadSession();
smf_logOnline();


username and pass come from the $_POST at login page.
however i have a facebook login in which i set the cookie encoded.. could this be reason for white screen?

Thanks for the help!

Advertisement: