Praetorian Posted May 12, 2008 Share Posted May 12, 2008 For no particular reason other than to see if I can, I plan to overhaul my website with some new features that would require me to log in.Several of my pages are pulled from an SQL database, and I'd like to change my website so that I can edit these entries without having to go into phpmyadmin. Basically, when I'm logged in, an Edit link will appear and allow me to edit that entry. Like Wikipedia.My question is, considering I'm going to be editing information in an SQL database, would it be better to build my login script around Sessions? Or create a table for logging in/out? Or does it not make a difference?Thanks in advance. And on a side note, if anyone has any suggestions or knows of any good tutorials for editing SQL tables remotely, I would greatly appreciate a link. Link to comment Share on other sites More sharing options...
Synook Posted May 12, 2008 Share Posted May 12, 2008 You would be best off using both. Autenticate users through a database, but then keep their authentication alive through sessions.You use SQL to edit tables in SQL-based databases. http://www.w3schools.com/sql/ Link to comment Share on other sites More sharing options...
killboy Posted May 13, 2008 Share Posted May 13, 2008 If you don't use a Database to store users, then every time you destroy session variables, you'd have to register again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.