JW Lim is correct...content page's load event will fire before Master page load.
@user3445314 , you can use "Session_Start" event in Global.asax and set values same as you set in master page.
"Session_Start" event fires first and then your content page load event occur.
I hope this may be solve your problem