473,394 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Campaign IIS Log Analysis


We have a working application which uses Server session variables as a
means to identify the user.

My boss want to start looking at the IIS logs to understand what our
users do. On our website we have occasional users and also customers
for which we have an ID. We would like to be able to link IIS log data
to internal data via the customer ID, even when we know it is not the
100% of our users.

I'm not sure if I should replace the Session("CustomerID") for a
MySession("CustomerID") that also writes a Cookie which will in turn
be logged in IIS. Or write the ASP.NET_SessionID along with our
CustomerID to a table in the database. And if I do should I mess with
the current page inheritance or just make the call like
MyLib.MySession(Me, "CustomerID") .

For security reasons I just don't want to use an ID returned from a
browser.

Has anybody dealt with this? Will sombody come forward and give a
suggestion? Please?

May 25 '07 #1
8 1409
On May 26, 12:14 am, arthernan <arther...@hotmail.comwrote:
We have a working application which uses Server session variables as a
means to identify the user.

My boss want to start looking at the IIS logs to understand what our
users do. On our website we have occasional users and also customers
for which we have an ID. We would like to be able to link IIS log data
to internal data via the customer ID, even when we know it is not the
100% of our users.

I'm not sure if I should replace the Session("CustomerID") for a
MySession("CustomerID") that also writes a Cookie which will in turn
be logged in IIS. Or write the ASP.NET_SessionID along with our
CustomerID to a table in the database. And if I do should I mess with
the current page inheritance or just make the call like
MyLib.MySession(Me, "CustomerID") .

For security reasons I just don't want to use an ID returned from a
browser.

Has anybody dealt with this? Will sombody come forward and give a
suggestion? Please?
The first approach with a cookie is the easiest and quickest, I think.

May 25 '07 #2
On May 25, 5:37 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 26, 12:14 am,arthernan<arther...@hotmail.comwrote:


We have a working application which uses Server session variables as a
means to identify the user.
My boss want to start looking at the IIS logs to understand what our
users do. On our website we have occasional users and also customers
for which we have an ID. We would like to be able to link IIS log data
to internal data via the customer ID, even when we know it is not the
100% of our users.
I'm not sure if I should replace the Session("CustomerID") for a
MySession("CustomerID") that also writes a Cookie which will in turn
be logged in IIS. Or write the ASP.NET_SessionID along with our
CustomerID to a table in the database. And if I do should I mess with
the current page inheritance or just make the call like
MyLib.MySession(Me, "CustomerID") .
For security reasons I just don't want to use an ID returned from a
browser.
Has anybody dealt with this? Will sombody come forward and give a
suggestion? Please?

The first approach with a cookie is the easiest and quickest, I think.
OK, let's assume I do, Should I code it like MyLib.MySession(Me,
"CustomerID") and avoid dealing with inheritance. Or should I code it
MySession("CustomerID")

May 29 '07 #3
On May 29, 6:50 pm, arthernan <arther...@hotmail.comwrote:
OK, let's assume I do, Should I code it like MyLib.MySession(Me,
"CustomerID") and avoid dealing with inheritance. Or should I code it
MySession("CustomerID")- Hide quoted text -
I think all what you need is to set a cookie

Response.Cookies["CustomerID"].Value = Session["CustomerID"];

Note, you will need a reporting tool which could read that values from
the IIS log.

May 29 '07 #4
On May 29, 1:37 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 29, 6:50 pm,arthernan<arther...@hotmail.comwrote:
OK, let's assume I do, Should I code it like MyLib.MySession(Me,
"CustomerID") and avoid dealing with inheritance. Or should I code it
MySession("CustomerID")- Hide quoted text -

I think all what you need is to set a cookie

Response.Cookies["CustomerID"].Value = Session["CustomerID"];

Note, you will need a reporting tool which could read that values from
the IIS log.
It's just easy to miss. I'd like something more foolproof.

May 29 '07 #5
On May 29, 9:56 pm, arthernan <arther...@hotmail.comwrote:
On May 29, 1:37 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 29, 6:50 pm,arthernan<arther...@hotmail.comwrote:
OK, let's assume I do, Should I code it like MyLib.MySession(Me,
"CustomerID") and avoid dealing with inheritance. Or should I code it
MySession("CustomerID")- Hide quoted text -
I think all what you need is to set a cookie
Response.Cookies["CustomerID"].Value = Session["CustomerID"];
Note, you will need a reporting tool which could read that values from
the IIS log.

It's just easy to miss. I'd like something more foolproof.
What would make it more foolproof?

When you save a cookie, the cookies will be logged in IIS log among to
other data, making them available together to be used in your
reporting. If you gonna save that CustomerID somewhere else, like in a
database, you will have a problem to link the ID and IIS log.

May 29 '07 #6
On May 29, 3:05 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 29, 9:56 pm, arthernan <arther...@hotmail.comwrote:


On May 29, 1:37 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 29, 6:50 pm,arthernan<arther...@hotmail.comwrote:
OK, let's assume I do, Should I code it like MyLib.MySession(Me,
"CustomerID") and avoid dealing with inheritance. Or should I code it
MySession("CustomerID")- Hide quoted text -
I think all what you need is to set a cookie
Response.Cookies["CustomerID"].Value = Session["CustomerID"];
Note, you will need a reporting tool which could read that values from
the IIS log.
It's just easy to miss. I'd like something more foolproof.

What would make it more foolproof?

When you save a cookie, the cookies will be logged in IIS log among to
other data, making them available together to be used in your
reporting. If you gonna save that CustomerID somewhere else, like in a
database, you will have a problem to link the ID and IIS log.- Hide quoted text -

OK, I did not make mysefl clear. The line:

Response.Cookies["CustomerID"].Value = Session["CustomerID"];

Could be easily missed during programming. We don't have a strong
testing team here, and we would en un with pages that are not being
tracked

May 29 '07 #7
On May 29, 10:10 pm, arthernan <arther...@hotmail.comwrote:
On May 29, 3:05 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:


On May 29, 9:56 pm, arthernan <arther...@hotmail.comwrote:
On May 29, 1:37 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 29, 6:50 pm,arthernan<arther...@hotmail.comwrote:
OK, let's assume I do, Should I code it like MyLib.MySession(Me,
"CustomerID") and avoid dealing with inheritance. Or should I code it
MySession("CustomerID")- Hide quoted text -
I think all what you need is to set a cookie
Response.Cookies["CustomerID"].Value = Session["CustomerID"];
Note, you will need a reporting tool which could read that values from
the IIS log.
It's just easy to miss. I'd like something more foolproof.
What would make it more foolproof?
When you save a cookie, the cookies will be logged in IIS log among to
other data, making them available together to be used in your
reporting. If you gonna save that CustomerID somewhere else, like in a
database, you will have a problem to link the ID and IIS log.- Hide quoted text -

OK, I did not make mysefl clear. The line:

Response.Cookies["CustomerID"].Value = Session["CustomerID"];

Could be easily missed during programming. We don't have a strong
testing team here, and we would en un with pages that are not being
tracked- Hide quoted text -

- Show quoted text -
Ah, got it! You should set the cookie only once, in your
authentication form (e.g. login.aspx). The default expiration date of
a cookie is the current session. It means this cookie will expire when
the session is ended. Or you can explicitly set the date, for example
+1 year. It could help to track existed customers who has not
authenticated.

You can also use global.asax, e.g. Application_BeginRequest() method
(for all requests) or Application_AuthenticateRequest() (for
authenticated users only).

May 29 '07 #8
On May 29, 3:40 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 29, 10:10 pm,arthernan<arther...@hotmail.comwrote:


On May 29, 3:05 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 29, 9:56 pm,arthernan<arther...@hotmail.comwrote:
On May 29, 1:37 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 29, 6:50 pm,arthernan<arther...@hotmail.comwrote:
OK, let's assume I do, Should I code it like MyLib.MySession(Me,
"CustomerID") and avoid dealing with inheritance. Or should I code it
MySession("CustomerID")- Hide quoted text -
I think all what you need is to set a cookie
Response.Cookies["CustomerID"].Value = Session["CustomerID"];
Note, you will need a reporting tool which could read that values from
the IIS log.
It's just easy to miss. I'd like something more foolproof.
What would make it more foolproof?
When you save a cookie, the cookies will be logged in IIS log among to
other data, making them available together to be used in your
reporting. If you gonna save that CustomerID somewhere else, like in a
database, you will have a problem to link the ID and IIS log.- Hide quoted text -
OK, I did not make mysefl clear. The line:
Response.Cookies["CustomerID"].Value = Session["CustomerID"];
Could be easily missed during programming. We don't have a strong
testing team here, and we would en un with pages that are not being
tracked- Hide quoted text -
- Show quoted text -

Ah, got it! You should set the cookie only once, in your
authentication form (e.g. login.aspx). The default expiration date of
a cookie is the current session. It means this cookie will expire when
the session is ended. Or you can explicitly set the date, for example
+1 year. It could help to track existed customers who has not
authenticated.
I thought we had multiple points of entry, and that they could
increase. But it's not the case.

I think, I complicated myself on this one.

You can also use global.asax, e.g. Application_BeginRequest() method
(for all requests) or Application_AuthenticateRequest() (for
authenticated users only).- Hide quoted text -
This is a good suggestion too. I'll keep it in mind.

Thanks

May 29 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: NotGiven | last post by:
I am checking out a do-it-yourself email service but not completely sold on them yet. Anyone know of reasonably priced/free software to install myself? I tried writing the code and it did not...
4
by: beliavsky | last post by:
If I run PyChecker on the following program, stored in xtry.py, m = 10000000 k = 0 for i in xrange(m): k = k + i print k x = range(3) print x
3
by: Daniele | last post by:
I have a 40 MB database in excel format. I need to use it in Analysis Services, I imported the data by DTS (Data Transformation Services), everything is working I can see the database, but I can't...
1
by: BruceGilpin | last post by:
I was at a Microsoft sales presentation last week for the new version of SQL Server, Yukon. They had an extensive presentation on SQL Server and Reporting Services but didn't mention Analysis...
16
by: Braxton Beyer | last post by:
I have just added a message to my website, wellheard.com, notifying WinIE users that their browsers will not render the site correctly as the site uses PNGs with alpha transparency. I then give...
0
by: wwalkerbout | last post by:
Greetings, Although, this relates to Analysis Services administration, I thought I'd post it here in case someone with the administrative side of SQL Server who subscribes to this Group may also...
0
by: tavares | last post by:
--------------------------------------------------------------------------------------------------------------------------------------------- (Apologies for cross-posting) Symposium...
0
by: tavares | last post by:
------------------------------------------------------------------------------------------------------------------------------------------- (Apologies for cross-posting) Symposium...
1
by: dsudhakara | last post by:
In my queues.conf file my text message are stored here .I want to retrieve particular campaign modify some words in particular campaign and return to save the same queues.conf file .Plz give me...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.