You are here: Must set and immediately get $_SESSION variable - help! « PHP Programming Language « IT news, forums, messages
Must set and immediately get $_SESSION variable - help!

Posted by comp.lang.php on 02/26/06 05:04

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

 

Navigation:

[Reply to this 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

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