logo       

Internal_redirect, clear_buffer, etc ... not saving session vars?: msg#00190

web.mason.user

Subject: Internal_redirect, clear_buffer, etc ... not saving session vars?

PROBLEM:

$m->session->{join_userdata} is undef in step2.red after an internal
redirect. I have made sure that this variable exists prior to redirecting.
Is there any way to maintain this data with a redirect?

CODE:

if(!@errors){

$m->session->{join_userdata} = $data;

$r->internal_redirect($root . 'step2.red');
$m->auto_send_headers(0);
$m->clear_buffer;
$m->abort;

}

Thanks,
Adam




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise