• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

_SISSION returns an empty array in PHP

Participant ,
Feb 05, 2021 Feb 05, 2021

Copy link to clipboard

Copied

Hi,

Today, after sometime I had to change something in my website.

I havn't touched anything since the last time it was working and now, for some reason, the $_SESSION[..] array returns empty variables.

I did not attach any code since I do not think this is acode issue due to teh following:

 

  • I recently intalled DW 2021 but the problem occurs both in DW 2020 & 2021
  • I use xampp as a testing server. Both Apahce & MySQL are woking fine. 
  • This only happen whne I try to previw the page using the built in preview funtion in DW.
  • It happens both in chrome and edge where the address bar shoes :
    http://127.0.0.1:53154/preview/app/index.html
  • It doen not happen on the real webpag (all is woring well)
  • It does not happen when I access the web page locally directly (all is working well):
    http://localhost/<mySite>/<myPage>.php

This leads me to think it is a DW/adobe preview issue.
What can I check?

TOPICS
Code , Error , Preview , Server side applications

Views

172

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 05, 2021 Feb 05, 2021

Turn off Real-Time Preview from your Preferences.  You don't need it.

image.png

 

Votes

Translate

Translate
Community Expert ,
Feb 05, 2021 Feb 05, 2021

Copy link to clipboard

Copied

Turn off Real-Time Preview from your Preferences.  You don't need it.

image.png

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 05, 2021 Feb 05, 2021

Copy link to clipboard

Copied

 Thanks!

That did it.

Is this option new? How come it used to work and now it stopped working?

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 05, 2021 Feb 05, 2021

Copy link to clipboard

Copied

LATEST

I don't remember exactly when they added the Preference to turn off Real-Time Preview.  Maybe you removed Preferences when you upgraded which reverted it to the default settings.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines