D
D
Denis Savitsky2014-12-03 13:00:29
linux
Denis Savitsky, 2014-12-03 13:00:29

How to generate a cookie to save in Ubuntu before opening a browser?

How to generate a cookie to save in the system without the participation of the browser?
I want to generate a cookie value in the application for the user, having a login, in order to save the user in the system. In fact, to do what happens after the user is authorized in the browser through the login / password input, saving the user from having to enter a password using only login.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Savitsky, 2014-12-04
@qweewq

Here, in the end, it turned out that Rails 4 is not much different from Rails 3:
https://gist.github.com/sadfuzzy/9026b9ab8fc4a766e184

S
Sergey Krasnodemsky, 2014-12-03
@Prognosticator

Rephrase the question, or rather write what you want to do.

A
Armenian Radio, 2014-12-03
@gbg

It would be better to write a plug-in or user script for the browser, which will perform the authorization. The script can communicate with the application on the user's PC via a websocket, and the application can securely pass to the script, for example, the login of the user who is currently working in the system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question