You are here: Re: newbie session code problem « PHP Language « IT news, forums, messages
Re: newbie session code problem

Posted by Xylene2301 on 09/29/94 12:00

If someone else wanted to run the scripts, I'd be very curious as to what
results you'd get.


"Christoph Jeschke" <spam@knurd.de> wrote in message
news:478c5d69$0$9110$9b4e6d93@newsspool2.arcor-online.net...
> Xylene2301:
>
>> pressing a button on tst1.php submits to a form tst2.php which echos
>> the session id (successfully) and attempt to echo the username session
>> vaiable
>> (fails). Why not?
>
> You missed
>
>> tst1.php************************************
>> <?php
>> session_start(); // start the session
> ^^^^^^^^^^^^^^^^
>
>> tst2.php************************************
>>
>> <?php
>
> here.
>
> Greetings
> Christoph
>
> --
> Today is Setting Orange, the 15th day of Chaos in the YOLD 3174
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация