session name in the display_image appears to be different from the name specified in the index
"Jtjohnston" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Martin, are ya out there? Does anyone know anything about sessions? (An > post & reply would be handy :) > > I am using session_register. I have: > > http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/index.html > http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/index.html.phps > > Which submits to: > > http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/postcard.php > > http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/postcard.phps > > postcard.php is supposed to pass data to display_image.php > > http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/display_image.ph p > > http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/display_image.ph ps > > The problem is that display_image.php loses my data coming from > index.html > > }else{ > include "display_image.php"; > } > > But when I try to debug and remove the \\ on lines 3 & 4 > > //include("display_image.php"); > //exit; > > display_image.php will display my data correctly from index.html > > Can anyone help? What am I doing wrong? > > John > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]