Click here to Skip to main content
15,906,625 members
Home / Discussions / ASP.NET
   

ASP.NET

 
JokeRe: Dynamically load web controls Pin
Clickok30-Aug-06 16:53
Clickok30-Aug-06 16:53 
QuestionDisplay Word Document in browser Pin
kalyanPaladugu30-Aug-06 3:41
kalyanPaladugu30-Aug-06 3:41 
AnswerRe: Display Word Document in browser Pin
ToddHileHoffer30-Aug-06 3:45
ToddHileHoffer30-Aug-06 3:45 
GeneralRe: Display Word Document in browser Pin
kalyanPaladugu30-Aug-06 4:40
kalyanPaladugu30-Aug-06 4:40 
GeneralRe: Display Word Document in browser Pin
ToddHileHoffer30-Aug-06 5:44
ToddHileHoffer30-Aug-06 5:44 
QuestionAccess DB Data Provider for ASP.NET Pin
japel30-Aug-06 2:34
japel30-Aug-06 2:34 
AnswerRe: Access DB Data Provider for ASP.NET Pin
ToddHileHoffer30-Aug-06 3:43
ToddHileHoffer30-Aug-06 3:43 
QuestionHow to Count Online Visitors in ASP.NET 2.0 ? Pin
immori30-Aug-06 2:27
immori30-Aug-06 2:27 
Hi
I want to count my website online visitors . then I used these codes and set the < sessionState > element mode to "InProc" in web.config. but when a user exits from site the counter dosent decrease !!!! in fact the event Session_End doesnt raise!!!! plz help me!

<br />
void Application_Start(object sender, EventArgs e) <br />
    {<br />
        Application["accesses"] = 0;<br />
        Application["users"] = 0;<br />
    }<br />
void Application_BeginRequest(Object sender, EventArgs e)<br />
    {<br />
        Application.Lock();<br />
        Application["accesses"] = (int)Application["accesses"] + 1;<br />
        Application.UnLock();<br />
    }<br />
void Session_Start(object sender, EventArgs e) <br />
    {<br />
        Application.Lock();<br />
        Application["users"] = (int)Application["users"] + 1;<br />
        Application.UnLock();<br />
    }<br />
void Session_End(object sender, EventArgs e) <br />
    {<br />
        Application.Lock();<br />
        Application["UsersOnline"] = (int)Application["UsersOnline"] - 1;<br />
        Application.UnLock();<br />
<br />
    }<br />

AnswerRe: How to Count Online Visitors in ASP.NET 2.0 ? Pin
ToddHileHoffer30-Aug-06 3:50
ToddHileHoffer30-Aug-06 3:50 
QuestionDisplay Data in GridView Asp.Net 2.0 Pin
Jay_se30-Aug-06 2:23
Jay_se30-Aug-06 2:23 
AnswerRe: Display Data in GridView Asp.Net 2.0 Pin
immori30-Aug-06 2:37
immori30-Aug-06 2:37 
GeneralRe: Display Data in GridView Asp.Net 2.0 Pin
Jay_se30-Aug-06 3:18
Jay_se30-Aug-06 3:18 
GeneralRe: Display Data in GridView Asp.Net 2.0 Pin
ToddHileHoffer30-Aug-06 4:02
ToddHileHoffer30-Aug-06 4:02 
GeneralRe: Display Data in GridView Asp.Net 2.0 Pin
Jay_se31-Aug-06 2:16
Jay_se31-Aug-06 2:16 
JokeRe: Display Data in GridView Asp.Net 2.0 (Thanks) Pin
Jay_se1-Sep-06 23:02
Jay_se1-Sep-06 23:02 
QuestionSql express and ASP.net configuration tools Pin
y_mmohd30-Aug-06 2:09
y_mmohd30-Aug-06 2:09 
AnswerRe: Sql express and ASP.net configuration tools Pin
Bruno M.T. Sousa30-Aug-06 10:40
Bruno M.T. Sousa30-Aug-06 10:40 
QuestionINPUT file like INPUT folder HTML control Pin
248912830-Aug-06 1:44
248912830-Aug-06 1:44 
AnswerRe: INPUT file like INPUT folder HTML control Pin
_AK_30-Aug-06 1:46
_AK_30-Aug-06 1:46 
AnswerRe: INPUT file like INPUT folder HTML control Pin
ToddHileHoffer30-Aug-06 2:50
ToddHileHoffer30-Aug-06 2:50 
JokeRe: INPUT file like INPUT folder HTML control Pin
Guffa30-Aug-06 3:16
Guffa30-Aug-06 3:16 
QuestionProblem in GridView Pin
Murtuza Husain Miyan Patel30-Aug-06 1:32
professionalMurtuza Husain Miyan Patel30-Aug-06 1:32 
AnswerRe: Problem in GridView Pin
immori30-Aug-06 2:49
immori30-Aug-06 2:49 
AnswerRe: Problem in GridView Pin
ToddHileHoffer30-Aug-06 2:49
ToddHileHoffer30-Aug-06 2:49 
QuestionMeta Tags Pin
kirthikirthi30-Aug-06 1:15
kirthikirthi30-Aug-06 1:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.