zserge / lorca

Build cross-platform modern desktop apps in Go + HTML5
MIT License
8.04k stars 535 forks source link

Saving Cookie Session #103

Closed ibnux closed 2 years ago

ibnux commented 4 years ago

anyone know how to save cookie? it need to relogin everytime app run

koltyakov commented 4 years ago

It only will be possible if to expose Chrome send method (then using it in the following manner). I asked about the plans https://github.com/zserge/lorca/issues/46, but no response from the author. It's literally a couple of lines to add the support and some more steps to cover with tests. I would also love having this in Lorca rather than handling a forked version.

ibnux commented 4 years ago

Thanks @koltyakov, i will try use your fork

i dont want to use electron, too big, before this i use windows shortcut for windows and Chrome builtin shotrcut, with this lorca, my client will easy to open web apps.

car42ua commented 4 years ago

I need use cookie or localStorage in lorca for save my token. Do you know if it can be done?

pierrejoye commented 2 years ago

For localstorage see explanation in https://github.com/zserge/lorca/issues/109