View Single Post

  #2 (permalink)  
Old 06-25-2003
Stephen Reid
 
Posts: n/a
Default Re: PHP Sessions

So how do I fix this so they will carry over to the third page. Do I have
to set them to _post variables on the seconds and third pages?

Thanks :-)

"Marc Cuypers" <mc-news@mgvd.be> wrote in message
news:Q4gKa.66590$1u5.5274@afrodite.telenet-ops.be...
> Stephen Reid wrote:
>
> > Yep page 3 has the session_start as its included with the included file
> > (session_header.php), so where else could the problem be as I have no

idea?
> >
> > Thanks :-)
> >
> >
> > "^MisterJingo^" <misterjingo@keysurf.net> wrote in message
> > news:wxXJa.1874$5b3.1269@news-binary.blueyonder.co.uk...
> >
> >>"Stephen Reid" <news@pokeycam.net> wrote in message
> >>news:3ef84286@news.comindico.com.au
> >>
> >>>Hello,
> >>>
> >>>I've create a 3 page site using sessions. I can pass the value from
> >>>the login page to the second page but when the user goes to third
> >>>page nothing is echoed from the session variables. I've included the
> >>>files so please let me know what I'm doing wrong as I'm just new to
> >>>sessions.
> >>>
> >>>Thanks :-)
> >>
> >>on each page where session vars are needed to be accessed do you call
> >>session_start(); ?
> >>
> >> If so we know the problem doesn't lie there and we can look elsewhere

:)
> >>
> >>

> >
> >
> >

> first page has _POST variables (form)
> second doesn't have _POST parameters, only session variables which are
> overwritten in session_header.php
>
> --
> Marc.
>



Reply With Quote