You could pass the variables in the redirection URL. To answer your question: yes, they are lost. Redirection works as follows:
1. Script A redirects to another URL (of script B)
2. Script A ends, headers are sent to force the browser to open the redir URL
3. Script B starts, but with the params passed in the redir URL
__________________
onPHP5.com -
PHP5: Articles, News, Tutorials, Interviews, Software and more