Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Current user  RSS feed

 
Stephan van Hulst
Saloon Keeper
Posts: 7807
142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

I'm fairly new to PHP, and I'm quickly throwing a website together. Now, I would like to know whether this is a sound (read: secure) way of retrieving whether the user is logged in:
Also, would the following be a proper way of logging a user in?

Thanks!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!