Page 1 of 1

Different users with a single login session

Posted: Sun Mar 15, 2009 5:17 pm
by dexter.morgan
Hi to all! I hope you can help me!

I have an account on a website and i want to share it with my friends in the same LAN without showing them my account details. For example, I want to login with my username and my password and then I want to let my friends which are in my same office to visit the same site with my login session. (We use a LAN and so we have just a single public IP address)

I'm going to realize a script in PHP with a MySQL database in order to let my friends register in my system and then to load the site within an iframe where is the session created with my account details.

My problem is that i don't know how to create the initial session by using my username and password. I realized that the website uses two inputs for username and password and other hidden inputs with a preload value. I have to make my script fill all these inputs each time an user tries to login? I think it has no sense, so what I have to do?

What I want to do is this:

1) Create a session on the website by using my account details
2) For each users, display the site by using an iframe and my login session

Finally, i'd like to create a mask in order to change the welcome message on gartner site after the login. For example: if there is write: "Welcome, Dexter!", I'd like to display the same page in the iframe by changing Dexter (which is my username account) with the each local username create with my script.

Can you help me by giving some advices or examples, please?
Thanks a lot!!

Re: Different users with a single login session

Posted: Tue Mar 17, 2009 4:19 am
by jhack
?? it may arise lot of problems

Re: Different users with a single login session

Posted: Tue Mar 17, 2009 8:39 am
by dexter.morgan
for example?

There is no solution?