Author Topic: fp-web and session example  (Read 862 times)


  • Hero Member
  • *****
  • Posts: 1844
fp-web and session example
« on: November 19, 2018, 12:05:31 pm »
Hi guys, I tried to do a test to see if I could make the fp-web sessions work. Specifically, the unit iniwebsession. But it does not work, he tells me

Error: No web session active: Session was not started

I attached a very small example of how I thought it should work. Who explains where I'm wrong? Thank you
Ubuntu and Mac
Lazarus: 1.8.0
FPC: 3.0.4


  • Jr. Member
  • **
  • Posts: 50
Re: fp-web and session example
« Reply #1 on: November 19, 2018, 05:25:51 pm »

For the session implementation you build is a demo in

The routing system in fpc is changed.
Therefor the new routing system can handle the session on a different way.
As an attachment a small demo on how you can implement a session using the new routing system.
This demo was given to me by Michael.
Maybe it will help you to succeed the session challenge.