hi
lately, i am working on several b4j web apps (and also other platforms). my question is more a technical question than related to b4j.
i made a media center web app where users can enter the site and watch a movie. i did it for my own needs (for my kids at home) so it is something like Netflix. you can filter categories for each user according to his age and so on.
so i came into the following issue (that i have already solved but not sure in the correct way).
i will explain.
so first there is the login page. after login, you are directed to the main page where you can browse between the movies. after you choose a movie you are directed to a site that is auto-generated that holds the movie description and the movie itself. let's call it movie.html
my problem was that all movies were redirected to this page and let say if i was watching the movie and another user would open in another browser a different movie and I would press F5 (refresh my page) then i would now watch the movie the other user was watching.
i solved it by generating for each user a new website -> save it on the server and redirect to it. now everyone has a unique site where he can watch his movie.
my question is what would be the right way to solve such an issue?
thanx, ilan
lately, i am working on several b4j web apps (and also other platforms). my question is more a technical question than related to b4j.
i made a media center web app where users can enter the site and watch a movie. i did it for my own needs (for my kids at home) so it is something like Netflix. you can filter categories for each user according to his age and so on.
so i came into the following issue (that i have already solved but not sure in the correct way).
i will explain.
so first there is the login page. after login, you are directed to the main page where you can browse between the movies. after you choose a movie you are directed to a site that is auto-generated that holds the movie description and the movie itself. let's call it movie.html
my problem was that all movies were redirected to this page and let say if i was watching the movie and another user would open in another browser a different movie and I would press F5 (refresh my page) then i would now watch the movie the other user was watching.
i solved it by generating for each user a new website -> save it on the server and redirect to it. now everyone has a unique site where he can watch his movie.
my question is what would be the right way to solve such an issue?
thanx, ilan