asmith Posted November 19, 2007 Share Posted November 19, 2007 i want to make something which my registered users can add/delete/update some records in mysql database, and i may have some e-currancy working , i wanted to know which will be the best and the most secure user identifing option ? cookie or session or something else i don't know ? Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted November 19, 2007 Share Posted November 19, 2007 Read here Cookies vs. Session -Practical PHP Programming http://www.hudzilla.org/phpbook/read.php/10_1_0 Quote Link to comment Share on other sites More sharing options...
asmith Posted November 19, 2007 Author Share Posted November 19, 2007 ah thanks ! good article so session works best for me , btw , working with session , only 1 person can login with one computer? i mean each ip address can sign in one user at the same time ? Quote Link to comment Share on other sites More sharing options...
Wuhtzu Posted November 19, 2007 Share Posted November 19, 2007 Each computer on the network will be able to sign in one user per browser they have installed. Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted November 19, 2007 Share Posted November 19, 2007 Each computer on the network will be able to sign in one user per browser they have installed. I think it depends on the coding doesn't it ??? What if I make a simple login page using Session ? Quote Link to comment Share on other sites More sharing options...
trq Posted November 19, 2007 Share Posted November 19, 2007 Its one session per browser instance. Quote Link to comment Share on other sites More sharing options...
Wuhtzu Posted November 19, 2007 Share Posted November 19, 2007 Unless my definition of a browser instance is wrong I examples which conflicts with what you said thorpe... If I have two instances of firefox open, both logged into g-mail, then if I log out in one firefox window I will be logged out in the other firefox windows as well. Quote Link to comment Share on other sites More sharing options...
trq Posted November 19, 2007 Share Posted November 19, 2007 If I have two instances of firefox open, both logged into g-mail, then if I log out in one firefox window I will be logged out in the other firefox windows as well. No. Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted November 19, 2007 Share Posted November 19, 2007 If I have two instances of firefox open, both logged into g-mail, then if I log out in one firefox window I will be logged out in the other firefox windows as well. No. Why no ? I just checked in localhost opening 2 instance of FF, i logged out from 1 FF, refreshed the other and it prompted me to login. Sorry guys if I am not understanding what you are trying to say Quote Link to comment Share on other sites More sharing options...
Wuhtzu Posted November 19, 2007 Share Posted November 19, 2007 I get the same results as ~n[EO]n~ with Firefox 2.0.0.8 but IE 6.0 handles two instances of g-mail just fine. A bug in Firefox? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.