* * *

Author Topic: synapse ans web sessions  (Read 299 times)

cpalx

  • Hero Member
  • *****
  • Posts: 561
synapse ans web sessions
« on: July 02, 2018, 05:55:34 pm »
Hello,

Is it posible work with synapse and web sessions?

i have a cgi that works with sessions. can i make desktop applications and works (synapse) with the cgi?

Lazarus: 1.8.4
Server: Linux x64
Desktop: Windows 10, Ubuntu 18.04

sash

  • New member
  • *
  • Posts: 42
Re: synapse ans web sessions
« Reply #1 on: July 03, 2018, 05:09:10 pm »
Is it posible work with synapse and web sessions?

Yes, it is.

A session is a simply one or another of the http headers, which is available in Headers or Cookies, depending on protocol implementation.
Simply google what these are.
Lazarus 1.8.4 Unversioned directory FPC 3.0.4 x86_64-linux-gtk2

Thaddy

  • Hero Member
  • *****
  • Posts: 6330
Re: synapse ans web sessions
« Reply #2 on: July 03, 2018, 05:43:47 pm »
Yes of course.
I am enjoining wine, not whine....

Leledumbo

  • Hero Member
  • *****
  • Posts: 7924
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: synapse ans web sessions
« Reply #3 on: July 04, 2018, 05:54:02 am »
Session is server side visitor data, linked to a cookie. So as long as you keep passing around that cookie, you're browsing in the same session. What the cookie is depends on the server application (you decide the name and value), normally it should give one on first visit while also giving a new one when the session expires.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus