Re: Session array passing

Ǝ <[email protected]>
Newsgroups comp.lang.php
Message-ID <[email protected]>
You !


On Thursday, December 8, 2022 at 5:05:54 PM UTC+2, J.O. Aho wrote:
> On 08/12/2022 14.09, The Doctor wrote: 
> > In article <[email protected]>, 
> > Arno Welzel <[email protected]> wrote: 
> >> The Doctor, 2022-12-06 02:27: 
> >> 
> >>> Has there been a change of passing seesion arrays in 8.1 different from 7.X ? 
> >> 
> >> What do you mean with "passing session arrays" exactly? Do you have a 
> >> code example? 
> >> 
> > 
> > 
> > <?=session_start(); 
> > error_reporting(E_ALL);
> > if(!empty($_SESSION['sessiondata'])){ 
> > } 
> > ?> 
> 
> Did you set the $_SESSION['sessiondata'] value earlier? 
> 
> Have you enabled the session use? check your session.use_cookies. 
> 
> Have you the right type of save handler for the session 
> (session.save_handler)? 
> files seems to be the most common type. 
> 
> Is the path assigned for session.save_path writeable by the user running 
> the php engine (apache/www-data/nobody/...)? 
> 
> are you using 'session.cookie_secure = 1' and then use http connection? 
> 
> are you using a custom serializing service? check your 
> session.serialize_handler 
> 
> 
> -- 
> //Aho
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.