What do you mean you want to create session using Global.asax?
Please read what Global.asax is for:
Global.asax File[
^]
For login, you need to take input about user from UI and pass it on to your backend. Get the response.
If response is positive such that login was successful then store the response in a session for other uses and login into home page.
If response is negative show appropriate message.
Please buy books in order to learn and understand how .Net works.