#1 2015-09-18 08:03:12

Trains
Member
Registered: 2015-09-18
Posts: 2

Sample application with sessions and no Sqlite?

Hi

Is it possible, using mormot, to create a server that serves the same functions via web and Delphi clients behind sessions without using SqlLite?  I've just spend 2 weeks trying to figure out how things stick together and that ended in tears.  Yes, I've worked through what I think are relevant parts of the documentation as well as the getting started links.  Its all very abstract and frustrating.

I tried making ajax calls to the calculator sample (14), but login attempts didn't create session cookies.  Then I tried creating a Delphi client that connects to the MVC sample (30) with no success.  Is there a sample anywhere available of example 14 being accessed using ajax?  At this stage, all I want to do is use mormot as a http server and delphi server for authentication and a few small function calls where I'll do the database functionality myself - with zero sqlite.  The issue is that both other Delphi programs and web applications must be able to make the same calls once authenticated.  All my own code is done, just cant get this part to work.

Offline

Board footer

Powered by FluxBB