[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sessions/cookies issues with postgres

From: Nala Ginrut
Subject: Re: sessions/cookies issues with postgres
Date: Tue, 03 Nov 2020 01:04:17 +0800
User-agent: mu4e 1.4.13; emacs 27.1

Hi Mortimer!

Mortimer Cladwell writes:

> db.engine =
> in artanis.conf will eliminate the appending of "db.engine = InnoDB" to the
> create table statement and allow the initialization script to create the
> table.

Yes, for mysql/mariaDB, if the db.engine is missing, then it's InnoDB in 

> Command: (check-value (rc-set-cookie! rc '(project . "newproject")))
> Results of check-value: (project . newproject) but the new cookie is not
> present in the cookie console so a fail.
> So to summarize I can set cookies from server using (:cookies-set! rc 'sid
> "sid" "sometext")
> I cannot set using (rc-set-cookie! rc '(project . "newproject")) but I am
> uncertain of this method signature (determined from source code)

You shouldn't call rc-set-cookie! by yourself, it's automatically triggerd
by the hook before generating server response.
You may want to read the cookie section of doc first:

Best regards.

GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]