Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session problems - firewall to blame

Status
Not open for further replies.

jimoblak

Instructor
Oct 23, 2001
3,620
US
I am having trouble with sessions with my company's internet connection to a remote server. I can connect to the web site and properly use sessions at any other location (ex: home) but when accessing the site through a firewall at work, the session data is not being saved.

Can anyone give me some ideas how to correct this?

Does a firewall have the ability to affect session data transfer?

I am not the admin for my company's firewall so I cannot tell what the configuration is. I need to relay what I learn to our admin so that he can fix this. He is not well-versed in session handling.

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
Sure it's possible. If the firewall were doing some kind of inspection of HTTP packets.

Are you sure, though, that it's not a browser configuration problem? Have you tried multiple brands of browsers?


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Yes, I have tried on several browsers (Gecko & IE) and set IE's security to the minimum in case IE was blocking something. I am using the same browsers at work that I successfully use at home.

'Firewall' is used here synonymously with 'proxy'. We are using Novell BorderManager, if that info helps.

Does session data get transferred on anything other than port 80? could that be at issue?

I also wonder if the firewall/proxy is bouncing the client's IP address around, making it difficult to maintain a single session connection.

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
See my FAQ titled, "The events that take place when you issue session_start() in your script." (faq434-4908).

The session token that gets passed from PHP to your browser and back is stored in a cookie. Cookies are sent on the same connection that sends a page, in HTTP headers. There would be no additional port.

I'd bet that BorderManager is stripping the session cookie right out of the server response that sends the page. Check the raw page data by connecting to the server through telnet -- see section 2.6 of my FAQ titled "Debugging PHP code" (faq434-2999).


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top