
November 2nd, 2004, 04:22 PM
|
 |
King of RGB
|
|
Join Date: Jan 2004
Location: brussels
Posts: 398
Time spent in forums: 2 Days 4 h 5 m 22 sec
Reputation Power: 10
|
|
well, i could imagine this to be possible. Especially if you are a php man, like me
1. grab visitor's ip address on site 1.
Store ip adress with login/password and timestamp of login.
2. on site 2:
2.1: check visitor's $_SERVER['http_referer'], if it contains server1's dns value, to verify visitor comes from server1.
2.2: If it does, grab its ip address.
2.3: query server1's database for that ip address. If ip exists, get timestamp value. If timestamp value Greater than [you decide how long ] show login form, else let him pass through.
this is just an idea, never tried it. Except the 2.1 step, which works fine.
|