(01-16-2019, 01:02 PM)mudmin Wrote: Ok. So that helps. Now the tricky part is being logged into them all at once.
Basically the idea of being logged in usually has to do with a $_SESSION variable. You'll notice that if you go in the php of any userspice page and you var_dump($_SESSION); you will see a few variables. The main one that matters us $_SESSION['user'] = your user id.
You'll have to login to those other applications and var_dump $_SESSIOn to see what variables they set and see if you can get them to be set when singing into userspice.
That may not be the only way, but it's the first thing I would try.
1) Let me see if I understand, please correct me if I'm wrong.
the script you are talking about will automatically log me in on the other programs. What I need is to discover what happens when I login on them and write that secuence on the script.
2) I searched for "$_session" on some php files, with visual studio code, and I could't find that string.
3) I logged in my program OSClass, where can I 'var_dump' to find the variables?
As you can see I'm not good at programming, but I'm VERY persistent.