Bit of a general one this, and not entirely confined to B4J - but I am creating a purely JS based front end that will be communicating with a B4J server back end.
How do people keep session data? CORS rules stop cookies being sent by the browser (different ports for JS/web server and B4J server violate cross domain JS rules), so I need to find a way to make sessions persistent.
People need to log in and the server needs to ensure it only gives pertinent data back. Short of building my own cookie/token custom system (which is bound not to be as good as any mature, built in browser based system), what are the choices? Has anyone else solved this?
How do people keep session data? CORS rules stop cookies being sent by the browser (different ports for JS/web server and B4J server violate cross domain JS rules), so I need to find a way to make sessions persistent.
People need to log in and the server needs to ensure it only gives pertinent data back. Short of building my own cookie/token custom system (which is bound not to be as good as any mature, built in browser based system), what are the choices? Has anyone else solved this?