* Angelo Zanetti <angelo@xxxxxxxxxxxx>: > We have developed a site on a server now the client has moved the site > to another server. Both servers run apache. However some of the Session > variables are losing their values or their values are getting changed. > > We have a number of header("location: xxx.php"); > and they have the exit(); function after each statement but we are not > sure whats causing the session problem. we also have a few javascript > popup windows, is there anything that people can tell me from experience > that might be causing these session variables to be altered?? Do you have trans_sid enabled? If so, and if your browser is not accepting cookies (which may happen either because you've turned them off or because the domain from which they appear to come does not match the actual domain), then using redirects can be problematic because the session ID isn't being passed between locations. Another possibility is if there is a proxy between you and the server. If so, you'll need to do some workarounds to keep the proxy server from caching session IDs between requests. -- Matthew Weier O'Phinney | WEBSITES: Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org mailto:matthew@xxxxxxxxxx | http://vermontbotanical.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php