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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:29:37+00:00 2026-06-15T07:29:37+00:00

I am trying to fetch the user token from twitter API. while redirecting from

  • 0

I am trying to fetch the user token from twitter API.
while redirecting from twitter API it stores the things in sessions. And I can fetch that credentials from session.
It is working fine on localhost. but while doing so on live server I am getting an empty php session. it is showing an empty array

  • 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-15T07:29:39+00:00Added an answer on June 15, 2026 at 7:29 am

    did you checked to have session_start() in your scripts?

    Usually, your local php deployment has php.ini setting session.auto_start = 1 by default. on production server this may not be true, so it is crucial to explicitly define session_start() in your scripts if you want to be sure it will work anywhere.

    Also check php.ini setting session.use_cookies if session id is sent to users browser by cookie, or it has to be sent manually via url query parameter like ?PHPSESSID=....

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

Sidebar

Related Questions

I am trying to fetch stores depending on the state the user Selects from
I am facing an issue while trying to fetch data from GoogleAnalytics API on
I'm trying to fetch events from the user's Calendar app. That itself works fine,
I'm trying to fetch data from a page that resides on an intranet. The
I'm trying to fetch objects from core data that are not in a given
I am trying to fetch the UserID of the user that has just logged
I am trying to build an application that would fetch the events from a
I am trying to fetch my user's emails with google api & curl, and
In the below code i'm trying to fetch the user details from DB and
So I'm trying to simply fetch the user's profile photo from facebook but I'm

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.