08-29-2018, 05:18 PM
You can log any user in by adding their User ID to the Session and Redirecting them. That will trigger the login function. For example, I have a page that I allow localhost only use from that just gives me a list of users and I pick which one I want to be and it just logs me in-never see a password field. My best recommendation is explore the code a bit, and find out what solution you would find the best to implement.
I believe there is a function called usernameExists, if so, you could foreach and loop from 0 with a concatenation of the date and go until it returns false. Although relatively light queries-just remember that could be a lot of queries.
Thank you,
Brandin.
I believe there is a function called usernameExists, if so, you could foreach and loop from 0 with a concatenation of the date and go until it returns false. Although relatively light queries-just remember that could be a lot of queries.
Thank you,
Brandin.