User sessions (MySQL)

Get help using Construct 2

Post » Mon Oct 21, 2013 1:02 pm

Hi guys!

I am primarily a web developer so PHP and Mysql are second nature. But just realized I may not be able to do what I am imagining with Construct.

I have a script that checks a users username and password by posting them to a php file online that checks with the mysql db before logging them in. Usually on a real website you would save this data into a session and check against the session to see whether the user is still logged in or not, but when trying to get session data this way the session array is empty.

Has anyone got any ideas for a workaround, or am I just doing something stupid maybe?
B
3
Posts: 4
Reputation: 558

Post » Mon Oct 21, 2013 1:49 pm

Tutorials about MySQL usage with Construct 2.

simple login tutorial


online high score tutorial

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: yiuyiu6666 and 27 guests