Hello,
In my ASP.NET application I am tracking user behavior ( tracking pages visited by user ) . For doing this I created a HTTPModule and attached with the application. Everything worked smoothly. But my website contains numbr of HTML pages, so this HTTPModule was not tracking this HTML pages. For doing this, I mapped html and htm extensions to aspnet_isapi.dl l in IIS. Now it started to track HTML pages also.
For...
User Profile
Collapse
-
Session Checking In Class File
Hello
I created a class which checks session and redirects to login page. My class looks like this. This class inherits Page class to get access to Session object.
1 public class CAuthentication :System.Web.UI. page
2 {
3 public CAuthentication ()
4 {
5 if ( Session["login"] == null )
6 Response.Redire ct("expired.asp x");... -
Active user counting
Hello
I need to count how many users are active in the website. Do you have any idea on this. I did using application variable. On session_start event in global.asax I am incrementing the application variable count and session_end event I am decreasing the count. But problem is when user closes browser no event will be fired. So I am not able to reduce the application variable count. It will show the old result. Do you know any method... -
Including ASPX files in HTML file
Hello
Is it possible to include ASPX file in HTML file. I have a website where HTML and ASPX files are there. Header part for all the images are same. So how can I include one ASPX file in all these HTML ? Please help -
Session End Fired On Global.asax
When user is closing the browser window, which is the event fired in global.asax ? Will it fire session_end event ? My requirement is I need to update one value in my DB when user closes browser.
No activity results to display
Show More