Details of Cookies Used By the Forum?
#1
I need to integrate one of my php page with the forum.

So i need the details of the login techniques used by the forum. Mainly the cookie details used by the forum.

Hope that some one will help you to get the details.

The aim of the page is to redirect all visitors to login page who are not logged on the forum.

Waiting for your help.
WebMasters-Forums.Com [Image: mybbsig.php]

Articles-Home.Com: More than 1,00,000 Articles. Read with your need.
CuteLink: Hide your affiliate links. Make money from CuteLink.
Reply
#2
MyBB sets a cookie called "mybbuser" whenever a user logs in.

This is in the format of: User ID_Password.

So for example 1_(my password here)

The password in the cookie is the value taken from the "password" column in the database.

The format of that column is md5(md5("plain text password").md5(salt))

Where salt is, the value of the "salt" field in the users table for that specific user.

Regards,
Chris
Reply
#3
I notice on other forum systems that it says before you log in "Remember me" Is there anyway of adding an option like this on MyBB instead of logging in and going into the User CP and disabling it there?
[Image: jag100sigaf5.jpg]
[Image: poptartFINALTINY.gif]
Reply
#4
Chris Boulton, thanks for the great information.

Jag100, may be that is because they using session only. Remember me option allow there to create cookie for the client.

I don't know the code structure of other forums as well as this one. May be the Remember me option increases the lifetime of the cookie for the user.

Anyway, the basic idea behind the "Remember Me" option is that I said here.
WebMasters-Forums.Com [Image: mybbsig.php]

Articles-Home.Com: More than 1,00,000 Articles. Read with your need.
CuteLink: Hide your affiliate links. Make money from CuteLink.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)