Greetings:
I am trying to pass a parameter from one page into another one. How do I do this? Is there a way when someone logs into the application, I do not want them to log in twice. I want the other page to know that this user is already logged in and give him or her OK to use the other page. This is just to prevent multiple log ins.
I appriciate any help I can get on this isue.
Best Regards,
David Ramezani
Agree w/Jacob: Add a flag to the session to show that the user is logged in. You can access that session variable from any page that the user accesses until they log out or close the browser.
WordPress handles this for you by setting 2 cookies when you log in:
When you log into WordPress from http://example.com/wp-login.php, WordPress stores the following two cookies:
Your user name
A double-hashed copy of your password
If you want to use the data else where with WordPress you can use the is_user_logged_in conditional statement: