Yeah, I tried to NOT name the session, but it didn't carry over the data. This
this simple lesson.

Dav wrote:

> What you can do is not to name session at all :-) It's easyer :-)
> J
> "Jtjohnston" <[EMAIL PROTECTED]> ha scritto nel messaggio
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Thanks Dav,
> >
> > You caught me while I was debugging. But I learned a valuable  lesson! I
> indeed
> > did not name my session_name correctly. IN FACT ... I did not name it AT
> ALL in
> > display_image.php. There lay the problem. I needed to declare both:
> >
> > session_name("ESLpostcard");
> > session_start();
> >
> > at the beginning of display_image.php AND postcard.php for the data to
> > re-transmit itself.
> >
> > I was running both php files without session_name and session_start. The
> docs
> > just don't make that clear enough that you need to re-include
> session_name.
> >
> > Duh, uh, .......  the session ID stayed the same, so I figured the data
> was
> > getting through even if I didn't see it. Indeed, postcard.php was
> receiving the
> > data - we can see that in the form - but was not transmitting the data as
> well,
> > only if I included display_image.php
> >
> >
> > > http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/index.html
> > >
> http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/index.html.phps
> > > http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/postcard.php
> > >
> http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/postcard.phps
> > >
> http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/display_image.ph
> p
> > >
> http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/display_image.ph
> ps
> >


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

Reply via email to