Login connection between two websites

Hello everybody,

Guys, i’ve got a problem that i actually don’t know if it can be solved.

In my app, i was trying to do something like this: i would like that only people that have account in another site ( my university site) could use some features of my website.

So my idea was when a user wants to log in into my site, i redirect to the login page of my university site, and than, if he is logged in the university site, than he is logged in my website too.

I would like to know if this is possible, to get the information via cookies or sessions ( i dont know nothing about networking… )

Does anybody have any ideas about this?

Thank you all,


You can't do that accessing cookie.

You could create a button with an authentification data so that the other website will receive the authentification data and can login a user.