Greetings.
I'm having some odd problems with a client that tries to access the company site by clicking on a link in an e-mail.
The client's firewall/proxy simply blocks the page that sets the session variables and displays a balnk screen on the client's browser.
I'm looking for a (miracle?) solution that I can use without having to mess with the client's firewall (because he won't let me).
Here's how it should be:
1) Client receives and e-mail with a link that has, among other parameters his username and encrypted password, i.e.:
http://www.mydomain.com/entrance.php?l=myname&p=mypass&pid=9921&title=test
2) The entrance.php script fetches the parameters and try the "l" and "p" against a postgres db.
3) In the case that the user's login and pass are correct, the script let him pass, by starting a session and registering several variables with values fetched from the db.
4) The script opens a popup window with the product the client "was interested in", defined by the "pid" parameter.
You can say "how do you know that your problem is the session?"
I'd say "Because I've made several tests, including passing parameters directly to the script that generates the product page and all other tests works, except when trying to use the script that sets the session. Besides, if I comment out the session comands it works."
You can also say "How in the world a proxy firewall can mess up with some PHP code, wich only runs on your server?!"
I'd say "You got me there, because I don't use session cookies and I'm very impressed with this proxy firewall power."
So, here I am, folks. This is my dilemma: I can't make any changes in the client's firewall and I can't think of something that can solve the problem.
Please, can anyone help me out here?
Best Regards,