I'm wrapping up an MVC implementation for PHP.  Everything is working 
splendidly except that redirects seem to be loosing session data. Here is 
the basic logic

1) on a form, user enters data hits submit
2) data validates OK, data is saved and $_SESSION['MVC_message'] is set to 
'Save was successful'
3) After setting session data in step 2 above, a redirect is issued:
        header('Location: ' . $url);
4) The URL represented by $url within same app doesn't have any data in 
$_SESSION and I'm positive a session_destroy() isn't being called 
explicitly.

The ideas here is to show a page with context information for the user.

Any ideas why this isn't working?

-- 
Tony Bibbs          "I guess you have to remember that those who don't
[EMAIL PROTECTED]  hunt or fish often see those of us who do as      
                    harmlessly strange and sort of amusing. When you  
                    think about it, that might be a fair assessment." 
                    --Unknown



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to