Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8746489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:12:07+00:00 2026-06-13T12:12:07+00:00

As a newcomer to PHP, I need to get $_SESSION variables working as part

  • 0

As a newcomer to PHP, I need to get $_SESSION variables working as part of a larger project. I am finding that the I cannot transfer data between .php files using $_SESSION variables. I Googled for similar problems and found this solved problem.Same problem

I reduced my code to the exact same as the solution to the problem, but it still exists. I have

sesstest.php

<?php
session_start();
$_SESSION['test']="TEST SESSION TEXT";
header('location:sessreceive.php');
?>

sessreceive.php

<?php session_start();
echo $_SESSION['test'];
?>

I have cookies enabled and it is the same in Firefox and IE. The site I’m accessing is a Raspberry Pi on my home network. It is running Apache2 under a Linux version. The session part of my php.ini is

Session section of php.ini

Could anyone please suggest what might be wrong, as I get no output in sessreceive.php?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:12:08+00:00Added an answer on June 13, 2026 at 12:12 pm

    Make sure that the session.save_path exists. Sometimes that is the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a newcomer to WPF, attempting to build a project that follows the
As a newcomer to iOS, I found that ARC has thus far really helped
I'm a newcomer to PDO and have to say that I like it so
I'm a newcomer trying to get my feet wet with Ruby and Sinatra. I
I'm a newcomer to Rails. I want to build a simple form that determines
I'm a newcomer to Python but I understand that things should not be done
I'm a newcomer to the iPhone world. I'm working on an application having a
I am a Javascript/jQuery/Prototype newcomer and I have a page that has a Prototype
I am a newcomer to PHP and SimpleXMl. I would not expect false under
I am a newcomer to GIT and wanted to know how to just get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.