Reply to Re: Must set and immediately get $_SESSION variable - help!

Your name:

Reply:


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
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация