cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Cookie browser on Home.js

LS_9776545
9-Granite

Cookie browser on Home.js

Is it possible in Home.js to read the cookies that the browser sends us? If yes, how?

If not, we can instead import node.js libraries for cookie parsing, such as
parsing cookies, for example:


var express = require('express');

var cookieParser = require('cookie-parser');
var app = express();
app.use(cookieParser());

console.log("my cookie" + req.cookies['PHPSESSID']);

 Thank you. 

1 REPLY 1

Hi @LS_9776545 ,

 

what is the goal there? What should be achieved?

I want to point that possibly we can get it working in the browser / Studio preview mode / but I do not believe that this will work on the mobile platform inside the Vuforia View

Top Tags