Jump to content


Photo

[Solved] Sessions on Tommy


  • Please log in to reply
1 reply to this topic

#1 azclubco

azclubco

    Rank I Member

  • Members
  • Pip
  • 16 posts
  • Gender:Male

Posted 04 April 2021 - 10:05 PM

Is there some setting on Tommy that would prevent me from using sessions on php?

 

I am using XAMPP to create my service and all works fine on localhost. When I upload it to the server it comes up with many errors including _SESSION variable not recognised. 

 

Are sessions enabled? If so what could be causing this issue? Both PHP versions on localhost and Tommy are 7.3 so I am unsure what is causing errors.

 

Many thanks. 



#2 azclubco

azclubco

    Rank I Member

  • Members
  • Pip
  • 16 posts
  • Gender:Male

Posted 04 April 2021 - 11:53 PM

Haha! Rookie mistake.

 

Of course I forgot "session_start();" hehe.

 

Apologies for bothering yous and thanks.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users