Page 1 of 1

to session, or not to session

Posted: Wed Jun 19, 2002 4:43 pm
by hob_goblin
well, I'm trying to make my member system for my site work with the member system of my board...

i'm looking into phpbb and "invision board"

i've noticed they both use sessions and cookies to track users
I know how to get all the tables in mySQL to work together, but I can't figure out if i HAVE to start the sessions as well as setting the cookie? (I want a user to be able to login to my site, and not get re-directed to the forums)

Also, does anybody have experience with invision board? Or would anybody like to help me try to figure it out to work with either of these forums?

Posted: Wed Jun 19, 2002 5:06 pm
by kaizix
the cookie just maintains the sessions so that it's not passed in the urls.

Posted: Wed Jun 19, 2002 6:05 pm
by hob_goblin
:D so i wouldn't need to mess with the sessions if i just wanted someone to automatically log in when they visited?

Posted: Wed Jun 19, 2002 6:17 pm
by kaizix
to automatically log in? no. you could use cookies for that. of course, if you wanted to maintain a logged in status over pages, you may want to use sessions.

Posted: Wed Jun 19, 2002 7:29 pm
by hob_goblin
i only need cookies for my main site..