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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Cookie browser on Home.js

LS_9776545
12-Amethyst

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

Announcements

Top Tags