You are here: Re: Passing varaible through $_session but not working.. « PHP Programming Language « IT news, forums, messages
Re: Passing varaible through $_session but not working..

Posted by Jerry Stuckle on 07/26/07 13:58

Captain Paralytic wrote:
> On 26 Jul, 14:27, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> upendra...@gmail.com wrote:
>>> Dear friend,
>>> I am trying to send some login variable with
>>> <? session_start; ?>
>> <?php session_start(); ?>
>>
>>> if(!isset($_SESSION['permission'])) {
>>> $_SESSION['permission'] = 1; }
>>> it works on the same page but when I come to some other page
>>> it can not worked .. I am using php 5.2.1 with apache server on xp. My
>>> register_global is disabled for security reason.
>>> How can I pass the variable to other page ??
>>> Thanks in advance.
>>> @situ
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> Did you actually mean to say anything here Jerry?
>

Yep, check it again. A minor correction to the code - which on
reloading the newsgroup I find Michael had also caught.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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