• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 2.x Branch ‹ General Support (v2.x)
  • Change font size
  • FAQ
  • Register
  • Login

authentication hook to read data from mysql

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
2 posts • Page 1 of 1

authentication hook to read data from mysql

Postby rick001 » Sun Jul 14, 2013 4:16 am

Hi, i need help setting up the authentication hook to read data from the mysql database. I tried following the details in the doc section, and I can read the data from the database verify the login details and if successful create a cookie, which I am then supposed to pass to the hook.
But i am unable to understand how to pass the cookie, could you please write a short code to do the same,
1. Create the cookie after reading the data from mysql
2. Pass the cookie to the hook.

Regards Rick
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top

Re: authentication hook to read data from mysql

Postby Maxime » Mon Jul 29, 2013 2:29 am

and I can read the data from the database verify the login details and if successful create a cookie, which I am then supposed to pass to the hook.


It will be more useful if you show the code you have done to verify the login details and if successful create a cookie
Maxime
New member
 
Posts: 2
Joined: Mon Jul 29, 2013 2:25 am
Top


Post a reply
2 posts • Page 1 of 1

Return to General Support (v2.x)

Who is online

Users browsing this forum: No registered users and 3 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub