[SOLVED] Re: session_id() is not passed to the next page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Daniel Molina Wegener,

Am 2011-01-04 07:43:46, hacktest Du folgendes herunter:
>   Did you tried working with error_reporting(E_ALL) and looking if you have
> the well known warning "headers already sent"?. Try to work with 
> error_reporting(E_ALL), instead of hiding errors. If you get that warning
> or error means that the cookie for session id was not written, so you can't
> handle the session id on the next page...

Yes, and it is clean

>   Try using session_start() as the very first call or session.auto_start = 1
> in your php.ini (which is not recommended).

I have already found the error.

If my 00_main.inc is read in, I check first some required vars, then for
the existence of  three  config  files  and  then  I  output  errors  if
something is wrong and if all is fine I contine and do session_start().

I have  overseen  that  there  is  an  include  which  was  read  before
session_start() and created the problem...

This is one reason, WHY I rewrite my scripst from the last 10 years.

They where transformed in unreadable spagetti code.

However, now I can use my login script with PAM,  Shadow  Passwords  and
One-Time Passwords which use a 8 letter TAN list.

One-Time Passwords are very handy, if you have to  access  your  website
from unknown computers like in internet cafes or such.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL       itsystems@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle@xxxxxxxxxxxxx
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

<<attachment: signature.pgp>>


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux