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
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
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
session_start() has to be at the top of the page...
cheers
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();
5 matches
Mail list logo