_SISSION returns an empty array in PHP

Explorer ,
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

98

Likes

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

Adobe Community Professional , Feb 05, 2021 Feb 05, 2021

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

image.png

 

Likes

Translate

Translate
Adobe Community Professional ,
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, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

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
Explorer ,
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?

 

 

Likes

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
Adobe Community Professional ,
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, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

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