The site is currently written in PHP. I want to add a new component by running it in Ruby on Rail and then setting Rails to a subfolder.
If a user enters a part of PHP on a website, can I customize the content for him / her in the Rails section without requiring a second login?
I'm relatively new to Ruby on Rails, so I ask all these noob questions.
, cookie .cookie . , rails.
, php:
<?php $_COOKIE['foo'] = 'bar'; ?>
rails :
method_that_checks_the_user cookies[:foo]
Source: https://habr.com/ru/post/1731358/More articles:difference between 'static int' and 'int' in java - javaIs it possible to pass parameters in the Hudson task that will be launched remotely? - continuous-integrationCan I use too many background workflows? - backgroundworkerPowershell - Insert a node between two other - powershellChoosing the Next Link Using XPath - xmlVoIP over 3G on iPhone, what has changed in the SDK? - objective-cIn Django, my .session request does not transfer ... does anyone know why? - pythonZend Framework - Single Session across multiple (different) domains - sessionHow can I get a FormPanel for POST JSON using ExtJS 3.1.0? - restEmail format support: plain text or HTML? - emailAll Articles