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>


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 

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

Top