Re: [PHP] noob need help for sessions

2005-04-07 Thread Josip Dzolonga
Jeff Weinberger wrote: I am well warned about the dangers of passing session IDs in URLs, but for my purposes, there is no sensitive data in the session, and I want to be able to do it only in the case where the visitor does not accept cookies. Better for you to be warned :-)session_start(); ses

Re: [PHP] noob need help for sessions

2005-04-07 Thread Jeff Weinberger
I'm having a similar problem with managing sessions without Cookies. I am also somewhat new to PHP, so I may be missing something here (if so, please point it out!). I am well warned about the dangers of passing session IDs in URLs, but for my purposes, there is no sensitive data in the session

Re: [PHP] noob need help for sessions

2005-04-06 Thread Richard Lynch
On Wed, April 6, 2005 1:59 am, [EMAIL PROTECTED] said: > I'm having problem with my session, when I login my session is registered > ok but > when I click on another page it's canceled again. > I use that kind of link: > index.php?menu=voyage&sid=$sess_id > > then on top of the page I use: > > > if

Re: [PHP] noob need help for sessions

2005-04-06 Thread Chris Ramsay
session_start() has to be at the top of the page... cheers

[PHP] noob need help for sessions

2005-04-06 Thread p80
I'm having problem with my session, when I login my session is registered ok but when I click on another page it's canceled again. I use that kind of link: index.php?menu=voyage&sid=$sess_id then on top of the page I use: if(session_id()){ session_id(strip_tags($_GET['sid'])); session_start();