wondernate Posted October 26, 2009 Share Posted October 26, 2009 Noob Here... HTTP or Sessions. For Authentication which is better to use? Thanks all, WN8 Quote Link to comment https://forums.phpfreaks.com/topic/179007-http-vs-sessions/ Share on other sites More sharing options...
emirbugra Posted October 27, 2009 Share Posted October 27, 2009 no man. for secure application use secure socket layer. but for using general user authentication use password input and post it. if true, use $_SESSION else don't take the user. for more knowledge go to the google.com Quote Link to comment https://forums.phpfreaks.com/topic/179007-http-vs-sessions/#findComment-945751 Share on other sites More sharing options...
corbin Posted October 28, 2009 Share Posted October 28, 2009 wondernate, your question doesn't make much sense. Sessions are a way to give HTTP, a stateless protocol, a sort of psuedo-state. (This assumes you don't have SSL. If you're using HTTPS, either method should be fine. As an end user I prefer PHP authentication since it seems cleaner and less obtrusive.) Or do you mean HTTP authentication? Because then it depends on many, many things. Typically I would go with no, although technically in a way HTTP authentication could potentially be more secure if the password were encrypted since the password using PHP authentication would not be encrypted (unless some ghetto JS came into play). Quote Link to comment https://forums.phpfreaks.com/topic/179007-http-vs-sessions/#findComment-945964 Share on other sites More sharing options...
keldorn Posted October 28, 2009 Share Posted October 28, 2009 unless some ghetto JS came into play Yep, Double ROT-13 is very secure. </sarcasm> Quote Link to comment https://forums.phpfreaks.com/topic/179007-http-vs-sessions/#findComment-946123 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.