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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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