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 6027639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:37:19+00:00 2026-05-23T04:37:19+00:00

I have a site that i am using session variables. up until last Wednesday

  • 0

I have a site that i am using session variables. up until last Wednesday this was working fine but now is sporadically working. Sometimes I can retreive the session vars and sometimes i cant. What could be going on and how can i trouble shoot this with my hosting company if its a server issue?

I have this page for testing setting sessions which works all the time no problem and session cookie domain is always blank:

<?
session_start();

$_SESSION['ID'] = "112233";
$_SESSION['token'] = "mytoken";

print "Created Session ID: ".$_SESSION['ID']."<br>";
print "Created Session Token: ".$_SESSION['token']."<br>";

print "Session Cookie Domain If Set: ".ini_get('session.cookie_domain')."<br><br>";

?>
<a href="info2.php">Click To See If Sessions Are Passing</a>

Then i click through to this page to see if sessions are passing or not. This is the page that sometimes shows the sessions i set in the above code and sometimes doesnt. session cookie domain has always been blank on this page as well:

<?
session_start();

print "Passed Session ID: ".$_SESSION['ID']."<br>";
print "Passed Session Token: ".$_SESSION['token']."<br>";

print "Session Cookie Domain If Set: ".ini_get('session.cookie_domain')."<br><br>";

?>
If session ID doesnt say "112233" and session token doesnt say "mytoken" then there is a problem.<br /><br />
<a href="info.php">Go Back To Set Session Variables</a>

These two pages are on HTTPS i dont know if that info is relevent or not but i thought i would mention it. I dont think it browser related cause when its not working i have loaded these pages in windows ie 8 and google chrome and on a mac safari, firefox and google chrome with the same results.

Any thoughts would be greatly appreciated. Is there anything in phpinfo() i could look at when things are working or not working that may help resolve this? This is driving me nuts because like i said it works sometimes and sometimes it doesnt.

  • 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-05-23T04:37:20+00:00Added an answer on May 23, 2026 at 4:37 am

    This was a server error somewhere. The hosting provider had to change something. After that everthing worked fine.

    Thanks for all the help and input

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

Sidebar

Related Questions

I have a site that I am currently working on in ASP.NET 2.0 using
I have a site using CodeIgniter that is almost complete now. My problem is
I have a site that is using x509 client certificates (2 way SSL) to
I have a simple Tray icon program that opens a site using System.Diagnostics.Process.Start(URL) And
So I'm doing some maintenance on a PHP site that is using $_SESSION variables.
I have an existing site that is working well with Authlogic login. I'm trying
We have a site hosted in IIS6 that we built using the .NET 1.1
I have a site that requires Windows Authentication the application obtains the credential from
I have a site that usually has news items at the top of the
I have a site that I've developed that makes decent use of Javascript, and

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.