3 Replies - 162 Views - Last Post: 20 May 2020 - 11:52 AM Rate Topic: -----

#1 sayhello   User is offline

  • D.I.C Regular

Reputation: 5
  • View blog
  • Posts: 368
  • Joined: 12-November 17

Session on a Server (root-server) with php; necesarily writeable?

Posted 19 May 2020 - 08:21 AM


hello and good day dear experts, 


Session on a Server (root-server) with php- - are they necesarily writable!?

 

background  see this thread on Limesurvey-Forum 
 

Quote

Yes , sure for 100%

No session => no login

An session.save_path not writable => No session.



cf https://forums.limes...bination#194881

 

is this necessarily the case - and so called "important " that the sessions are writeable!?

What do you say!? 


i look forward to hear from you

cheers​

Is This A Good Question/Topic? 0
  • +

Replies To: Session on a Server (root-server) with php; necesarily writeable?

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15800
  • View blog
  • Posts: 63,301
  • Joined: 12-June 08

Re: Session on a Server (root-server) with php; necesarily writeable?

Posted 19 May 2020 - 08:48 AM

I do not understand what you are asking with "Session on a Server [...] are they necesarily writable!?".
Was This Post Helpful? 0
  • +
  • -

#3 ArtificialSoldier   User is offline

  • D.I.C Lover
  • member icon

Reputation: 2765
  • View blog
  • Posts: 8,071
  • Joined: 15-January 14

Re: Session on a Server (root-server) with php; necesarily writeable?

Posted 19 May 2020 - 08:57 AM

Sessions are how PHP saves data about the current user. If PHP can't write to the location where it's trying to save data, then it won't be able to save any data.
Was This Post Helpful? 0
  • +
  • -

#4 CTphpnwb   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3837
  • View blog
  • Posts: 13,997
  • Joined: 08-August 08

Re: Session on a Server (root-server) with php; necesarily writeable?

Posted 20 May 2020 - 11:52 AM

I think that the OP is making confusing PHP with client side languages like HTML, CSS, etc.
If a client side language could write directly to the server, that would be a security issue. Since PHP only runs on the server, that issue isn't a problem.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1