newbie: global.asax

J

Jeff

hey

asp.net 2.0

I want to add some code to the session_onStart event, so I can track
visitors to my website, but I don't find the global.asax file in my asp.net
2.0 project...

What should I do?

Jeff
 
G

George Ter-Saakov

I believe you have to create it first yourself.
Right click on your project or root of the tree and choose "New Item"


George.
 
C

Cowboy \(Gregory A. Beamer\)

Add one. Format is (for C#):


<%@ Application Language="C#" %>

<%@ Import Namespace="Microsoft.Practices.EnterpriseLibrary.Logging" %>

<script runat="server">

//Events here

</script>
 
J

Juan T. Llibre

"File", "New File", select "Global Application Class"...and click the "add" button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Global.asax 1
Global.asax 1
Building a real estate website 2
global.asax 3
Seeking co-founders for my company. 3
global.asax 5
Global.asax 1
Build My Own CRM 1

Members online

Forum statistics

Threads
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top