Re: [PHP] Question about authenticating people...

2007-11-28 Thread [EMAIL PROTECTED]
Jason Pruim wrote: Set the main page, so that when you login, it accesses a master database, which has the username, password, and database name stored in it. Write the database name to a session variable, which I could then use in my mysql connect file for the database... This sounds

Re: [PHP] Question about authenticating people...

2007-11-28 Thread Jason Pruim
On Nov 27, 2007, at 6:01 PM, Stut wrote: Jason Pruim wrote: Just for my own curiosity, why do you think sessions are evil? I haven't found a better way to store my variables between different pages... Other then always posting them in either $_POST or $_GET each time... But that can add

Re: [PHP] Question about authenticating people...

2007-11-28 Thread Stut
Jason Pruim wrote: On Nov 27, 2007, at 6:01 PM, Stut wrote: Jason Pruim wrote: Just for my own curiosity, why do you think sessions are evil? I haven't found a better way to store my variables between different pages... Other then always posting them in either $_POST or $_GET each time...

Re: [PHP] Question about authenticating people...

2007-11-28 Thread Stut
Jason Pruim wrote: On Nov 28, 2007, at 12:07 PM, Stut wrote: Jason Pruim wrote: One of the things I have in a session variable, is a search function through the database, and then an export to excel option. Would I be better to store that in a cookie rather then a session variable? Not

Re: [PHP] Question about authenticating people...

2007-11-28 Thread Jason Pruim
On Nov 28, 2007, at 12:52 PM, Stut wrote: Jason Pruim wrote: The search results arn't stored in a session, just the search variable (IE: What they searched for) It was the only way I could get it to export the search results to my excel file... It may be because I have everything in

Re: [PHP] Question about authenticating people...

2007-11-28 Thread Jason Pruim
On Nov 28, 2007, at 12:07 PM, Stut wrote: Jason Pruim wrote: On Nov 27, 2007, at 6:01 PM, Stut wrote: Jason Pruim wrote: Just for my own curiosity, why do you think sessions are evil? I haven't found a better way to store my variables between different pages... Other then always posting

Re: [PHP] Question about authenticating people...

2007-11-27 Thread Stut
Jason Pruim wrote: The subject might be a little misleading... But I couldn't think of how better to describe it in a small sentence :) What I'm wondering is, I have a program that accesses a database and displays the info in that database... I know, nothing revolutionary about it... I plan

Re: [PHP] Question about authenticating people...

2007-11-27 Thread Stut
Jason Pruim wrote: On Nov 27, 2007, at 3:48 PM, Stut wrote: Jason Pruim wrote: The subject might be a little misleading... But I couldn't think of how better to describe it in a small sentence :) What I'm wondering is, I have a program that accesses a database and displays the info in that

Re: [PHP] Question about authenticating people...

2007-11-27 Thread Jason Pruim
On Nov 27, 2007, at 3:56 PM, Stut wrote: Jason Pruim wrote: On Nov 27, 2007, at 3:48 PM, Stut wrote: Jason Pruim wrote: The subject might be a little misleading... But I couldn't think of how better to describe it in a small sentence :) What I'm wondering is, I have a program that accesses

Re: [PHP] Question about authenticating people...

2007-11-27 Thread Jason Pruim
On Nov 27, 2007, at 3:48 PM, Stut wrote: Jason Pruim wrote: The subject might be a little misleading... But I couldn't think of how better to describe it in a small sentence :) What I'm wondering is, I have a program that accesses a database and displays the info in that database... I

RE: [PHP] Question about authenticating people...

2007-11-27 Thread Bastien Koert
adding a client name to the login process might make that easier and it forces a sort of 2 factor authentication making the database 'hopefully' harder to crack bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 27 Nov 2007 15:30:32 -0500 Subject: [PHP] Question about

Re: [PHP] Question about authenticating people...

2007-11-27 Thread Stut
Jason Pruim wrote: Just for my own curiosity, why do you think sessions are evil? I haven't found a better way to store my variables between different pages... Other then always posting them in either $_POST or $_GET each time... But that can add up quite a bit on a complicated site though...