HI,
I cant find enough detail about what and how to use the Global.asax file. When I do, they dont explain it in full detail and is too confusing for me. Can someone tell me what exactly is this file and what does it do? Is Global.asax like a module thats used in Visual basic, to hold global variables and methods? If it is like a module, then how do I access a method or variables, lets say from Default.aspx? Could you provide me with a code snippet example? And one last thing,is it true that IIS will not allow the global.asax to be viewed or downloaded by users? If it is then will it be safe to lets say, store a few password? Thankx in advance.
I cant find enough detail about what and how to use the Global.asax file. When I do, they dont explain it in full detail and is too confusing for me. Can someone tell me what exactly is this file and what does it do? Is Global.asax like a module thats used in Visual basic, to hold global variables and methods? If it is like a module, then how do I access a method or variables, lets say from Default.aspx? Could you provide me with a code snippet example? And one last thing,is it true that IIS will not allow the global.asax to be viewed or downloaded by users? If it is then will it be safe to lets say, store a few password? Thankx in advance.