Generate a random number and keep in two webpages

Hi,

It is a beginner question, thanks for your help.

I want to create a random number and create/ keep the random number in two web pages, say /random and /page, following codes don't get me there:

[{"id":"4d22149a.6fdb8c","type":"random","z":"deb0d57.1c46528","name":"","low":"1","high":"10","inte":"true","property":"payload","x":420,"y":1800,"wires":[["d26b62eb.62816"]]},{"id":"a1c1e4bf.becff8","type":"http response","z":"deb0d57.1c46528","name":"","statusCode":"","headers":{},"x":750,"y":1800,"wires":[]},{"id":"d2cd22a7.cc7f4","type":"http in","z":"deb0d57.1c46528","name":"/random","url":"/random","method":"get","upload":false,"swaggerDoc":"","x":260,"y":1800,"wires":[["4d22149a.6fdb8c"]]},{"id":"d26b62eb.62816","type":"split","z":"deb0d57.1c46528","name":"","splt":"","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":590,"y":1800,"wires":[["a1c1e4bf.becff8","fe0c5316.e5f24"]]},{"id":"fe0c5316.e5f24","type":"http request","z":"deb0d57.1c46528","name":"/page","method":"POST","ret":"txt","url":"/page","tls":"","x":750,"y":1860,"wires":[["88b660e2.663ec"]]},{"id":"88b660e2.663ec","type":"http response","z":"deb0d57.1c46528","name":"","statusCode":"","headers":{},"x":940,"y":1860,"wires":[]},{"id":"e3a9219d.f6152","type":"http in","z":"deb0d57.1c46528","name":"/page","url":"/page","method":"get","upload":false,"swaggerDoc":"","x":550,"y":1860,"wires":[["fe0c5316.e5f24"]]}]

I tried to use change node to keep the random number to both /random and /page, wonder if there is a easier way to do it? [{"id":"cfdd2433.cda608","type":"random","z":"8cf7ac48.4808f","name":"","low":"1","high":"10","inte":"true","property":"payload","x":360,"y":180,"wires":[["dd957b65.24ebb8"]]},{"id":"6646f39.845a10c","type":"http response","z":"8cf7ac48.4808f","name":"","statusCode":"","headers":{},"x":730,"y":180,"wires":[]},{"id":"7b60179d.08e668","type":"http in","z":"8cf7ac48.4808f","name":"/random","url":"/random","method":"get","upload":false,"swaggerDoc":"","x":180,"y":180,"wires":[["cfdd2433.cda608"]]},{"id":"8b09537d.b2f17","type":"http in","z":"8cf7ac48.4808f","name":"/page","url":"/page","method":"get","upload":false,"swaggerDoc":"","x":190,"y":260,"wires":[["32e10b27.57f2f4"]]},{"id":"23344154.d334ae","type":"http response","z":"8cf7ac48.4808f","name":"","statusCode":"","headers":{},"x":570,"y":260,"wires":[]},{"id":"dd957b65.24ebb8","type":"change","z":"8cf7ac48.4808f","name":"","rules":[{"t":"set","p":"myRandom","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":530,"y":180,"wires":[["6646f39.845a10c"]]},{"id":"32e10b27.57f2f4","type":"change","z":"8cf7ac48.4808f","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"myRandom","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":380,"y":260,"wires":[["23344154.d334ae"]]}]

Is this still from the Coursers IoT course ? Please use the Coursera forum for help with that.