Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i use a session for both clojure/script

How can i use single session for both clojure and clojurescript. For my login web application Server side i am using clojure and client side clojurescript. And i need a session which is accessible from both client and server. Is that possible?

like image 545
Silpa Avatar asked Jun 01 '26 15:06

Silpa


1 Answers

The example sente project has a session which is accessible from both client and server. You will probably need to spend some time with it and mould it to your needs. But the example itself shows logging in and then a :uid inside :session, which is accessible from both the server and the client.

like image 83
Chris Murphy Avatar answered Jun 04 '26 12:06

Chris Murphy