![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| The Location header is a 'special case' right? I'm using it to make the client's browser redirect after being logged-in. I've since found smoother ways of doing this, but one of my sites relies on Location headers. With my previous hosting company, they worked as expected - after logging-in and having cookies set, the client would request the next page, and send the cookies along, so that 'next page' knew he was logged-in right away. The servers I've moved to seem to interpret the header before it's sent (if this is possible). At least, that's what it appears to be. Instead of the client redirecting, the server just sends the new page as if it were part of the form-processing page. The only real down-side to this is that the cookie isn't sent by the client (the client evidently isn't making a new request), so the session isn't started (propagating sessions by cookie only). Is there a way to force a 302 redirect? I haven't tested the server's methods fully, but surely there's a way to force the CLIENT to request a new page? Thanks | |||
| Featured Websites | ||||
|
![]() |
| Tags: header, location, problem |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Header warnings??? Why?? | Phil Powell | PHP | 4 | 07-01-2007 5:10 PM |
| header location problem | march | PHP | 2 | 07-01-2007 4:17 PM |
| PHP default header information | Todd Beauchemin | PHP | 1 | 07-01-2007 4:12 PM |
| Seeking help/advice with cache_limiter and header(location) | joshua | PHP | 0 | 07-01-2007 4:00 PM |
| php header for images | Ian.H [dS] | PHP | 0 | 07-01-2007 3:58 PM |
| Featured Websites | ||||
|