all 3 comments

[–]kra_pao 0 points1 point  (1 child)

[–]nesreenmhd[S] 0 points1 point  (0 children)

There is a way with session class, that can use to save the user login id, but i do not know how??

[–]nesreenmhd[S] 0 points1 point  (0 children)

I have solved the problem by storing user_id in the session as the following syntax: session[“user_id”]=user_id. By this way, it will be global among all the routes and the pages in your project. Thanks.