Session Start

  • Thread starter Thread starter Alberto
  • Start date Start date
A

Alberto

I've written this code in the global.asax.cs file of my project:

void Session_Start(Object sender, EventArgs E)
{
...
}

but it isn't executed. Do I have something wrong or missed?

Thank you very much.
 
You defined a function, but you didn't add the function as as Event Handler
for the event for which you wrote the function.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
Can you tell me how to do it?

Thank you.
Kevin Spencer said:
You defined a function, but you didn't add the function as as Event Handler
for the event for which you wrote the function.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
it's already done for you in the global file just put your code in there
 

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

Back
Top