The World of Sessions.
Posted: Sat Dec 28, 2002 10:36 am
I'm thinking about using sessions in a new comminity site I'm putting together. I've always just used MySQL and Cookies before for user accounts and cutomisation etc, which seems to work fine.
I'm currently running through the documents and stuff on Sessions but have a question..
Once someone has logged in and their session variables have all been loaded how the hell do you take this info over to another page on the site?
Do you close the session on the current page and then re-open it on the next?
I know about the <? SID?> thing but when I use this in a link to the next page and try to then close the session I'm told the session isn't open.
Any advise or 'human readable' tutorials would be good.
Thanks.
I'm currently running through the documents and stuff on Sessions but have a question..
Once someone has logged in and their session variables have all been loaded how the hell do you take this info over to another page on the site?
Do you close the session on the current page and then re-open it on the next?
I know about the <? SID?> thing but when I use this in a link to the next page and try to then close the session I'm told the session isn't open.
Any advise or 'human readable' tutorials would be good.
Thanks.