Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19202

Re: Session array passing

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: Session array passing
Date 2022-12-08 16:05 +0100
Message-ID <jvecq9F3nbhU2@mid.individual.net> (permalink)
References <tmm5qp$2g2u$5@gallifrey.nk.ca> <jve5mjFeuqrU1@mid.individual.net> <tmsnlk$2ln8$1@gallifrey.nk.ca>

Show all headers | View raw


On 08/12/2022 14.09, The Doctor wrote:
> In article <jve5mjFeuqrU1@mid.individual.net>,
> Arno Welzel  <usenet@arnowelzel.de> 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

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Session array passing doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-06 01:27 +0000
  Re: Session array passing Arno Welzel <usenet@arnowelzel.de> - 2022-12-08 14:04 +0100
    Re: Session array passing doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-08 13:09 +0000
      Re: Session array passing "J.O. Aho" <user@example.net> - 2022-12-08 16:05 +0100
        Re: Session array passing doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-08 20:47 +0000
        Re: Session array passing Ǝ <angel00000100000@mail.ee> - 2022-12-30 18:20 -0800

csiph-web