php-general Digest 13 Aug 2013 04:38:44 -0000 Issue 8331

Topics (messages 321841 through 321842):

Re: sessions working? not working?
        321841 by: Tedd Sperling

How to upstream code changes to php community
        321842 by: Shahina Rabbani

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On Aug 12, 2013, at 4:27 AM, Clifford Shuker <clifford.shu...@ntlworld.com> 
wrote:
> Hi have the following (below) session code at the top of each page..  The
> 'print_r' (development feature only) confirms that on one particular page I
> do log out as the session var = (). but, on testing that page via the URL I
> still get to see the page and all its contents - session var() -..  the page
> has the following  'session_start, DOCTYPE Info then <html><head>containing
> meta info & title</head><body>containing style/tables/content/</body></html>
> // end of page.  I have copied the same page without the html content (i.e.
> a blank page) and I get to fully log out.. when this page is tested in the
> URL my warning comes up 'you need to login to see this page' which is what I
> want but, I've tried numerous avenues to reconcile my problem to no avail..
> I'm a novice so any help would be appreciated..   
> 
> 
> 
> <?php
> 
> session_start();
> 
> error_reporting (E_ALL ^ E_NOTICE);
> 
> $userid = $_SESSION['userid'];
> 
> $username = $_SESSION['username'];
> 
> print_r($_SESSION);
> 
> ?>
> 

Ok, but when are you populating the SESSION's? Such as:

$_SESSION['userid'] = $userid;

Also, have a look at this:

http://sperling.com/php/authorization/log-on.php

It might help.

tedd

_______________
tedd sperling
tedd.sperl...@gmail.com




--- End Message ---
--- Begin Message ---
Hi,

I have done some modifications to the php source code and i tested it with
php bench and I observed  some improvement.

I wanted to upstream these code changes to PHP community.
I searched the wed but i didnt find proper guide to upstream the code to
php.

Please help me by  providing the information how to upstream my code
changes to php  source code community.


Thanks,
Shahina Rabbani

--- End Message ---

Reply via email to