Umbraco's global.asax is pre-compiled and can be found in the bin folder of the installation:
Delete the original from the bin folder "App_global.asax.dll" otherwise you will get compilation errors, as they will conflict, and create your own, I beleive the only thing that is in the global.asax is some logging information, which you can keep by pasting in to your file if you require it.
global.asax in umbraco
I need to do some check in Session_Start to see if the request is from a mobile device.
something like:
But where is global.asax of umbraco located?
Is it nesseserry to create my oun?
Umbraco's global.asax is pre-compiled and can be found in the bin folder of the installation:
Delete the original from the bin folder "App_global.asax.dll" otherwise you will get compilation errors, as they will conflict, and create your own, I beleive the only thing that is in the global.asax is some logging information, which you can keep by pasting in to your file if you require it.
Thanks for input.
I changed my idea to run the code check from my masterpage.cs instead.
I use this idea and it works perfekt:
http://www.codeproject.com/KB/aspnet/mobiledetect.aspx
Thanks again.
is working on a reply...