Hi!
I'm looking for code to create a little proxy if you will. Specifically, if a user authenticates and a specific session variable is set then the "proxy" script should simply allow the traffic to pass. If the session variable is not set, the proxy script should deny the traffic. I will set the proxy script address in the web browser. The authentication script I already have done and working. Anyone know how I can read HTTP headers and simply pass them on? I *think* that's all I'll need to do. Any ideas or feedback would be great! Thanks,
-dle
I'm looking for code to create a little proxy if you will. Specifically, if a user authenticates and a specific session variable is set then the "proxy" script should simply allow the traffic to pass. If the session variable is not set, the proxy script should deny the traffic. I will set the proxy script address in the web browser. The authentication script I already have done and working. Anyone know how I can read HTTP headers and simply pass them on? I *think* that's all I'll need to do. Any ideas or feedback would be great! Thanks,
-dle