Posted by Jerry Stuckle on 02/26/06 05:22
comp.lang.php wrote:
> This is an urgent request (as always)
>
> [code]
>
> generate_admin_customer_position_dropdown($customerResult,
> $customerResult[0]->id);
> print_r($_SESSION["${projectAcronym}_customerSOWObjectArray"]);
> [/code]
>
> This code will generate an HTML dropdown as well as set a $_SESSION
> variable.
>
> I can verify the function works perfectly and in fact sets the session
> variable every time. Problem is that I need to set and then
> IMMEDIATELY get the session variable w/o redirection because
> redirection is undoable at the portion of the PHP code that this must
> work in.
>
> What do I do? Each time I try this the session variable is NOT
> immediately available until a latter iteration renders it available but
> far too late to be used.
>
> How do I set and then IMMEDIATELY get a SESSION variable? This is an
> urgent request!!
>
> Thanx
> Phil
>
Maybe just store it in a work variable? Why does it HAVE to come from
the $_SESSION variable?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|