473,320 Members | 1,858 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,320 software developers and data experts.

Sessions never end (again) - Please help

This is a repost (pasted below). Since my original post, I've double
checked the system clock and set all IIS Session Timeout values to 10
minutes. Still ...the problem occurs. I've also installed Deep Metrix Live
Stats 6.2 XPS just to make sure nothing really strange was going on was
going on. Still....the sessions only increment...or should I say my counter
in my asax file.... and never goes down.

If it matters, this machine is hosting 3 sites and it has a single IP
address. I've set IIS 5 to look at the host headers and redirect to the
"site" on itself. This is done every day and I can't possibly see how this
would effect the Sessions but you never know.

I'm totally stumped!! Thoughts?....
*****************

I'm using ASP(.NET) trickery to show the number of "current users" on one of
my web sites (http://www.drpt.virginia.gov). I use this method on a few of
my sites but it seems that only this one (on this machine) gives me trouble.
The trouble seems that the sessions simply never end so the code in my Sub
Session_OnEnd is never fired. As I understand it, sessions will expire
after 20 minutes but default if there is no further activity from the
requestor. Yet, my counter never seems to decrement....only increment. My
code is below and I don't think it's a code (ASP) issue...this is a common
trick and this exact code works fine on other sites. I think it's an issue
with this one machine. Can anyone help or tell me what to check??

Thanks!!

My global.asax file:

'************************************************* **

Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub

'************************************************* *

Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub

'************************************************* *

Sub Session_OnStart

'============================================
'===== Updating Current Sessions ====================
'============================================
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) + 1
Application("CurrentSessions") = CInt(Application("CurrentSessions")) + 1

Application.Unlock

End Sub

'************************************************* *

Sub Session_OnEnd

Application.Lock

Application("CurrentSessions") = CInt(Application("CurrentSessions")) - 1

Application.Unlock

'Killing user's session variables
Session.Abandon()

End Sub
'************************************************* **


Nov 18 '05 #1
12 2251
I assume you are using InProc session state mode?

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
This is a repost (pasted below). Since my original post, I've double
checked the system clock and set all IIS Session Timeout values to 10
minutes. Still ...the problem occurs. I've also installed Deep Metrix Live Stats 6.2 XPS just to make sure nothing really strange was going on was
going on. Still....the sessions only increment...or should I say my counter in my asax file.... and never goes down.

If it matters, this machine is hosting 3 sites and it has a single IP
address. I've set IIS 5 to look at the host headers and redirect to the
"site" on itself. This is done every day and I can't possibly see how this would effect the Sessions but you never know.

I'm totally stumped!! Thoughts?....
*****************

I'm using ASP(.NET) trickery to show the number of "current users" on one of my web sites (http://www.drpt.virginia.gov). I use this method on a few of my sites but it seems that only this one (on this machine) gives me trouble. The trouble seems that the sessions simply never end so the code in my Sub
Session_OnEnd is never fired. As I understand it, sessions will expire
after 20 minutes but default if there is no further activity from the
requestor. Yet, my counter never seems to decrement....only increment. My
code is below and I don't think it's a code (ASP) issue...this is a common
trick and this exact code works fine on other sites. I think it's an issue with this one machine. Can anyone help or tell me what to check??

Thanks!!

My global.asax file:

'************************************************* **

Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub

'************************************************* *

Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub

'************************************************* *

Sub Session_OnStart

'============================================
'===== Updating Current Sessions ====================
'============================================
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) + 1
Application("CurrentSessions") = CInt(Application("CurrentSessions")) + 1
Application.Unlock

End Sub

'************************************************* *

Sub Session_OnEnd

Application.Lock

Application("CurrentSessions") = CInt(Application("CurrentSessions")) - 1
Application.Unlock

'Killing user's session variables
Session.Abandon()

End Sub
'************************************************* **

Nov 18 '05 #2
What if you try Session_End instead ?

Also I would start bu putting there something else to see wether or not it's
excuted...

Patrice
--

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> a écrit dans le message
de news:OJ**************@TK2MSFTNGP11.phx.gbl...
This is a repost (pasted below). Since my original post, I've double
checked the system clock and set all IIS Session Timeout values to 10
minutes. Still ...the problem occurs. I've also installed Deep Metrix Live Stats 6.2 XPS just to make sure nothing really strange was going on was
going on. Still....the sessions only increment...or should I say my counter in my asax file.... and never goes down.

If it matters, this machine is hosting 3 sites and it has a single IP
address. I've set IIS 5 to look at the host headers and redirect to the
"site" on itself. This is done every day and I can't possibly see how this would effect the Sessions but you never know.

I'm totally stumped!! Thoughts?....
*****************

I'm using ASP(.NET) trickery to show the number of "current users" on one of my web sites (http://www.drpt.virginia.gov). I use this method on a few of my sites but it seems that only this one (on this machine) gives me trouble. The trouble seems that the sessions simply never end so the code in my Sub
Session_OnEnd is never fired. As I understand it, sessions will expire
after 20 minutes but default if there is no further activity from the
requestor. Yet, my counter never seems to decrement....only increment. My
code is below and I don't think it's a code (ASP) issue...this is a common
trick and this exact code works fine on other sites. I think it's an issue with this one machine. Can anyone help or tell me what to check??

Thanks!!

My global.asax file:

'************************************************* **

Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub

'************************************************* *

Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub

'************************************************* *

Sub Session_OnStart

'============================================
'===== Updating Current Sessions ====================
'============================================
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) + 1
Application("CurrentSessions") = CInt(Application("CurrentSessions")) + 1
Application.Unlock

End Sub

'************************************************* *

Sub Session_OnEnd

Application.Lock

Application("CurrentSessions") = CInt(Application("CurrentSessions")) - 1
Application.Unlock

'Killing user's session variables
Session.Abandon()

End Sub
'************************************************* **

Nov 18 '05 #3
Not sure. Can you clarify a little? Thanks
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:eb*************@tk2msftngp13.phx.gbl...
I assume you are using InProc session state mode?

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
This is a repost (pasted below). Since my original post, I've double
checked the system clock and set all IIS Session Timeout values to 10
minutes. Still ...the problem occurs. I've also installed Deep Metrix Live
Stats 6.2 XPS just to make sure nothing really strange was going on was
going on. Still....the sessions only increment...or should I say my

counter
in my asax file.... and never goes down.

If it matters, this machine is hosting 3 sites and it has a single IP
address. I've set IIS 5 to look at the host headers and redirect to the
"site" on itself. This is done every day and I can't possibly see how

this
would effect the Sessions but you never know.

I'm totally stumped!! Thoughts?....
*****************

I'm using ASP(.NET) trickery to show the number of "current users" on one of
my web sites (http://www.drpt.virginia.gov). I use this method on a few of
my sites but it seems that only this one (on this machine) gives me

trouble.
The trouble seems that the sessions simply never end so the code in my

Sub Session_OnEnd is never fired. As I understand it, sessions will expire
after 20 minutes but default if there is no further activity from the
requestor. Yet, my counter never seems to decrement....only increment. My code is below and I don't think it's a code (ASP) issue...this is a common trick and this exact code works fine on other sites. I think it's an

issue
with this one machine. Can anyone help or tell me what to check??

Thanks!!

My global.asax file:

'************************************************* **

Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub

'************************************************* *

Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub

'************************************************* *

Sub Session_OnStart

'============================================
'===== Updating Current Sessions ====================
'============================================
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) + 1
Application("CurrentSessions") = CInt(Application("CurrentSessions"))

+ 1

Application.Unlock

End Sub

'************************************************* *

Sub Session_OnEnd

Application.Lock

Application("CurrentSessions") =
CInt(Application("CurrentSessions")) - 1

Application.Unlock

'Killing user's session variables
Session.Abandon()

End Sub
'************************************************* **


Nov 18 '05 #4
In your web.config, you have the setting :-
<sessionState mode="InProc" cookieless=false etc......

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Not sure. Can you clarify a little? Thanks
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:eb*************@tk2msftngp13.phx.gbl...
I assume you are using InProc session state mode?

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
This is a repost (pasted below). Since my original post, I've double
checked the system clock and set all IIS Session Timeout values to 10
minutes. Still ...the problem occurs. I've also installed Deep Metrix
Live
Stats 6.2 XPS just to make sure nothing really strange was going on
was going on. Still....the sessions only increment...or should I say my counter
in my asax file.... and never goes down.

If it matters, this machine is hosting 3 sites and it has a single IP
address. I've set IIS 5 to look at the host headers and redirect to the "site" on itself. This is done every day and I can't possibly see how

this
would effect the Sessions but you never know.

I'm totally stumped!! Thoughts?....
*****************

I'm using ASP(.NET) trickery to show the number of "current users" on one
of
my web sites (http://www.drpt.virginia.gov). I use this method on a few of
my sites but it seems that only this one (on this machine) gives me

trouble.
The trouble seems that the sessions simply never end so the code in my

Sub Session_OnEnd is never fired. As I understand it, sessions will
expire after 20 minutes but default if there is no further activity from the
requestor. Yet, my counter never seems to decrement....only increment. My code is below and I don't think it's a code (ASP) issue...this is a common trick and this exact code works fine on other sites. I think it's an issue
with this one machine. Can anyone help or tell me what to check??

Thanks!!

My global.asax file:

'************************************************* **

Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub

'************************************************* *

Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub

'************************************************* *

Sub Session_OnStart

'============================================
'===== Updating Current Sessions ====================
'============================================
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) +

1 Application("CurrentSessions") =

CInt(Application("CurrentSessions")) +
1

Application.Unlock

End Sub

'************************************************* *

Sub Session_OnEnd

Application.Lock

Application("CurrentSessions") =

CInt(Application("CurrentSessions")) -
1

Application.Unlock

'Killing user's session variables
Session.Abandon()

End Sub
'************************************************* **



Nov 18 '05 #5
Thanks! I added that and did a little research on InProc. We'll see what
happens. I've also been using Session_OnEnd in my asax file instead of
Session_End as I showed in my code.

So what's the difference and did this OnEnd change just to "End" in .NET?
I've always used OnStart and OnEnd in my asa (classic) files. Yet all my
books and online resources just mentioned "End" but never explain that this
has changed. Did it infact change?

Thanks again!


"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
In your web.config, you have the setting :-
<sessionState mode="InProc" cookieless=false etc......

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Not sure. Can you clarify a little? Thanks
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:eb*************@tk2msftngp13.phx.gbl...
I assume you are using InProc session state mode?

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
> This is a repost (pasted below). Since my original post, I've double > checked the system clock and set all IIS Session Timeout values to 10 > minutes. Still ...the problem occurs. I've also installed Deep Metrix Live
> Stats 6.2 XPS just to make sure nothing really strange was going on was > going on. Still....the sessions only increment...or should I say my
counter
> in my asax file.... and never goes down.
>
> If it matters, this machine is hosting 3 sites and it has a single IP > address. I've set IIS 5 to look at the host headers and redirect to the > "site" on itself. This is done every day and I can't possibly see how this
> would effect the Sessions but you never know.
>
> I'm totally stumped!! Thoughts?....
>
>
> *****************
>
> I'm using ASP(.NET) trickery to show the number of "current users" on
one
of
> my web sites (http://www.drpt.virginia.gov). I use this method on a few of
> my sites but it seems that only this one (on this machine) gives me
trouble.
> The trouble seems that the sessions simply never end so the code in
my
Sub
> Session_OnEnd is never fired. As I understand it, sessions will
expire > after 20 minutes but default if there is no further activity from
the > requestor. Yet, my counter never seems to decrement....only

increment.
My
> code is below and I don't think it's a code (ASP) issue...this is a

common
> trick and this exact code works fine on other sites. I think it's an issue
> with this one machine. Can anyone help or tell me what to check??
>
> Thanks!!
>
> My global.asax file:
>
> '************************************************* **
>
> Sub Application_OnStart
>
> Application("URLSeed") = "http://www.drpt.virginia.gov/"
> Application("CurrentSessions") = 0
> Application("TotalSessions") = 0
>
> End Sub
>
> '************************************************* *
>
> Sub Application_OnEnd
>
> Application("URLSeed") = Nothing
>
> End Sub
>
> '************************************************* *
>
> Sub Session_OnStart
>
> '============================================
> '===== Updating Current Sessions ====================
> '============================================
> Application.Lock
>
> Application("TotalSessions") = CInt(Application("TotalSessions"))

+ 1 > Application("CurrentSessions") =

CInt(Application("CurrentSessions"))
+
1
>
> Application.Unlock
>
> End Sub
>
> '************************************************* *
>
> Sub Session_OnEnd
>
> Application.Lock
>
> Application("CurrentSessions") =

CInt(Application("CurrentSessions")) -
1
>
> Application.Unlock
>
> 'Killing user's session variables
> Session.Abandon()
>
> End Sub
> '************************************************* **
>
>
>
>



Nov 18 '05 #6
Your web.config will contain a line like :-

<sessionState mode="InProc" .....>

or some other similar setting.(StateServer etc...). If you can provide the
contents of this entry, that may help.

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Not sure. Can you clarify a little? Thanks
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:eb*************@tk2msftngp13.phx.gbl...
I assume you are using InProc session state mode?

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
This is a repost (pasted below). Since my original post, I've double
checked the system clock and set all IIS Session Timeout values to 10
minutes. Still ...the problem occurs. I've also installed Deep Metrix
Live
Stats 6.2 XPS just to make sure nothing really strange was going on
was going on. Still....the sessions only increment...or should I say my counter
in my asax file.... and never goes down.

If it matters, this machine is hosting 3 sites and it has a single IP
address. I've set IIS 5 to look at the host headers and redirect to the "site" on itself. This is done every day and I can't possibly see how

this
would effect the Sessions but you never know.

I'm totally stumped!! Thoughts?....
*****************

I'm using ASP(.NET) trickery to show the number of "current users" on one
of
my web sites (http://www.drpt.virginia.gov). I use this method on a few of
my sites but it seems that only this one (on this machine) gives me

trouble.
The trouble seems that the sessions simply never end so the code in my

Sub Session_OnEnd is never fired. As I understand it, sessions will
expire after 20 minutes but default if there is no further activity from the
requestor. Yet, my counter never seems to decrement....only increment. My code is below and I don't think it's a code (ASP) issue...this is a common trick and this exact code works fine on other sites. I think it's an issue
with this one machine. Can anyone help or tell me what to check??

Thanks!!

My global.asax file:

'************************************************* **

Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub

'************************************************* *

Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub

'************************************************* *

Sub Session_OnStart

'============================================
'===== Updating Current Sessions ====================
'============================================
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) +

1 Application("CurrentSessions") =

CInt(Application("CurrentSessions")) +
1

Application.Unlock

End Sub

'************************************************* *

Sub Session_OnEnd

Application.Lock

Application("CurrentSessions") =

CInt(Application("CurrentSessions")) -
1

Application.Unlock

'Killing user's session variables
Session.Abandon()

End Sub
'************************************************* **



Nov 18 '05 #7
Thanks! My web.config file is as follows:

<configuration>
<system.web>
<customErrors mode="Off" />
<compilation debug="true" />
<sessionState mode="InProc" />
</system.web>
</configuration>
I'm STILL having this problem though. I came back this a.m. and checked it
and the site had "2000+ current users" which of course is false. It just
counted ALL users over the weekend and never released the sessions. I also
believe there is some confusion on my part on Session_OnEnd and Session_End
(see reply above).

"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Your web.config will contain a line like :-

<sessionState mode="InProc" .....>

or some other similar setting.(StateServer etc...). If you can provide the
contents of this entry, that may help.

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Not sure. Can you clarify a little? Thanks
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:eb*************@tk2msftngp13.phx.gbl...
I assume you are using InProc session state mode?

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
> This is a repost (pasted below). Since my original post, I've double > checked the system clock and set all IIS Session Timeout values to 10 > minutes. Still ...the problem occurs. I've also installed Deep Metrix Live
> Stats 6.2 XPS just to make sure nothing really strange was going on was > going on. Still....the sessions only increment...or should I say my
counter
> in my asax file.... and never goes down.
>
> If it matters, this machine is hosting 3 sites and it has a single IP > address. I've set IIS 5 to look at the host headers and redirect to the > "site" on itself. This is done every day and I can't possibly see how this
> would effect the Sessions but you never know.
>
> I'm totally stumped!! Thoughts?....
>
>
> *****************
>
> I'm using ASP(.NET) trickery to show the number of "current users" on
one
of
> my web sites (http://www.drpt.virginia.gov). I use this method on a few of
> my sites but it seems that only this one (on this machine) gives me
trouble.
> The trouble seems that the sessions simply never end so the code in
my
Sub
> Session_OnEnd is never fired. As I understand it, sessions will
expire > after 20 minutes but default if there is no further activity from
the > requestor. Yet, my counter never seems to decrement....only

increment.
My
> code is below and I don't think it's a code (ASP) issue...this is a

common
> trick and this exact code works fine on other sites. I think it's an issue
> with this one machine. Can anyone help or tell me what to check??
>
> Thanks!!
>
> My global.asax file:
>
> '************************************************* **
>
> Sub Application_OnStart
>
> Application("URLSeed") = "http://www.drpt.virginia.gov/"
> Application("CurrentSessions") = 0
> Application("TotalSessions") = 0
>
> End Sub
>
> '************************************************* *
>
> Sub Application_OnEnd
>
> Application("URLSeed") = Nothing
>
> End Sub
>
> '************************************************* *
>
> Sub Session_OnStart
>
> '============================================
> '===== Updating Current Sessions ====================
> '============================================
> Application.Lock
>
> Application("TotalSessions") = CInt(Application("TotalSessions"))

+ 1 > Application("CurrentSessions") =

CInt(Application("CurrentSessions"))
+
1
>
> Application.Unlock
>
> End Sub
>
> '************************************************* *
>
> Sub Session_OnEnd
>
> Application.Lock
>
> Application("CurrentSessions") =

CInt(Application("CurrentSessions")) -
1
>
> Application.Unlock
>
> 'Killing user's session variables
> Session.Abandon()
>
> End Sub
> '************************************************* **
>
>
>
>



Nov 18 '05 #8
....and finally, I added a AdHoc counter to see if indeed sessions are ever
ending. This will simply (in theory) increment a value in a counter table...
global.asax file:

<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ Import Namespace="System.Web.Mail" %>

<script language="vb" runat="server">

'************************************************* **************************
***********************************************
Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub
'************************************************* **************************
***********************************************

'************************************************* **************************
***********************************************
Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub
'************************************************* **************************
***********************************************
'************************************************* **************************
***********************************************
Sub Session_OnStart

'Updating Current Sessions
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) + 1
Application("CurrentSessions") = CInt(Application("CurrentSessions")) + 1

Application.Unlock

End Sub
'************************************************* **************************
***********************************************

'************************************************* **************************
***********************************************
Sub Session_End

Application.Lock

Application("CurrentSessions") = CInt(Application("CurrentSessions")) - 1

Application.Unlock

'Killing user's session variables
Session.Abandon()

'Call Test Sub Routine
UpdateSessionEndTable()

End Sub
'************************************************* **************************
***********************************************
'************************************************* **************************
***********************************************
Sub UpdateSessionEndTable()

Dim conSqlServer As SqlConnection
Dim strUpdateSQL As String
Dim cmdUpdate As SqlCommand
Dim strConnectString As String

strConnectString = "server=...blah...."
strUpdateSQL = "UPDATE SessionEndCounter SET Counter = " &
"[SessionEndCounter].[Counter] + 1 "

conSqlServer = New SqlConnection(strConnectString)
cmdUpdate = New SqlCommand(strUpdateSQL, conSqlServer)
conSQLServer.Open()
cmdUpdate.ExecuteNonQuery()
conSQLServer.Close()

End Sub
'************************************************* **************************
***********************************************

</script>

"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Your web.config will contain a line like :-

<sessionState mode="InProc" .....>

or some other similar setting.(StateServer etc...). If you can provide the
contents of this entry, that may help.

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Not sure. Can you clarify a little? Thanks
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:eb*************@tk2msftngp13.phx.gbl...
I assume you are using InProc session state mode?

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
> This is a repost (pasted below). Since my original post, I've double > checked the system clock and set all IIS Session Timeout values to 10 > minutes. Still ...the problem occurs. I've also installed Deep Metrix Live
> Stats 6.2 XPS just to make sure nothing really strange was going on was > going on. Still....the sessions only increment...or should I say my
counter
> in my asax file.... and never goes down.
>
> If it matters, this machine is hosting 3 sites and it has a single IP > address. I've set IIS 5 to look at the host headers and redirect to the > "site" on itself. This is done every day and I can't possibly see how this
> would effect the Sessions but you never know.
>
> I'm totally stumped!! Thoughts?....
>
>
> *****************
>
> I'm using ASP(.NET) trickery to show the number of "current users" on
one
of
> my web sites (http://www.drpt.virginia.gov). I use this method on a few of
> my sites but it seems that only this one (on this machine) gives me
trouble.
> The trouble seems that the sessions simply never end so the code in
my
Sub
> Session_OnEnd is never fired. As I understand it, sessions will
expire > after 20 minutes but default if there is no further activity from
the > requestor. Yet, my counter never seems to decrement....only

increment.
My
> code is below and I don't think it's a code (ASP) issue...this is a

common
> trick and this exact code works fine on other sites. I think it's an issue
> with this one machine. Can anyone help or tell me what to check??
>
> Thanks!!
>
> My global.asax file:
>
> '************************************************* **
>
> Sub Application_OnStart
>
> Application("URLSeed") = "http://www.drpt.virginia.gov/"
> Application("CurrentSessions") = 0
> Application("TotalSessions") = 0
>
> End Sub
>
> '************************************************* *
>
> Sub Application_OnEnd
>
> Application("URLSeed") = Nothing
>
> End Sub
>
> '************************************************* *
>
> Sub Session_OnStart
>
> '============================================
> '===== Updating Current Sessions ====================
> '============================================
> Application.Lock
>
> Application("TotalSessions") = CInt(Application("TotalSessions"))

+ 1 > Application("CurrentSessions") =

CInt(Application("CurrentSessions"))
+
1
>
> Application.Unlock
>
> End Sub
>
> '************************************************* *
>
> Sub Session_OnEnd
>
> Application.Lock
>
> Application("CurrentSessions") =

CInt(Application("CurrentSessions")) -
1
>
> Application.Unlock
>
> 'Killing user's session variables
> Session.Abandon()
>
> End Sub
> '************************************************* **
>
>
>
>



Nov 18 '05 #9
Which one are you using (Session_OnEnd, Session_End ?) AFAIK under ASP.NET
you should use Session_End.
For now you could keep both and use an application variable to count how
often it is fired (hopefully you'll find Session_End always fires while
Session_OnEnd is never called).

In some cases, the On<EventName> *method* is what the class does for you on
this event (in particular it raises the <EventName> event) and the
<EventName> *event* is to declare what you would like to do. That's probably
why they renamed the event compared with ASP classic.

--

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> a écrit dans le message
de news:%2***************@tk2msftngp13.phx.gbl...
Thanks! My web.config file is as follows:

<configuration>
<system.web>
<customErrors mode="Off" />
<compilation debug="true" />
<sessionState mode="InProc" />
</system.web>
</configuration>
I'm STILL having this problem though. I came back this a.m. and checked it and the site had "2000+ current users" which of course is false. It just
counted ALL users over the weekend and never released the sessions. I also believe there is some confusion on my part on Session_OnEnd and Session_End (see reply above).

"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Your web.config will contain a line like :-

<sessionState mode="InProc" .....>

or some other similar setting.(StateServer etc...). If you can provide the
contents of this entry, that may help.

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Not sure. Can you clarify a little? Thanks
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:eb*************@tk2msftngp13.phx.gbl...
> I assume you are using InProc session state mode?
>
> --
> - Paul Glavich
> Microsoft MVP - ASP.NET
>
>
> "D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
> news:OJ**************@TK2MSFTNGP11.phx.gbl...
> > This is a repost (pasted below). Since my original post, I've double > > checked the system clock and set all IIS Session Timeout values to 10 > > minutes. Still ...the problem occurs. I've also installed Deep Metrix
> Live
> > Stats 6.2 XPS just to make sure nothing really strange was going on was
> > going on. Still....the sessions only increment...or should I say
my > counter
> > in my asax file.... and never goes down.
> >
> > If it matters, this machine is hosting 3 sites and it has a single IP > > address. I've set IIS 5 to look at the host headers and redirect to the
> > "site" on itself. This is done every day and I can't possibly see how > this
> > would effect the Sessions but you never know.
> >
> > I'm totally stumped!! Thoughts?....
> >
> >
> > *****************
> >
> > I'm using ASP(.NET) trickery to show the number of "current users" on one
> of
> > my web sites (http://www.drpt.virginia.gov). I use this method on
a
few
> of
> > my sites but it seems that only this one (on this machine) gives

me > trouble.
> > The trouble seems that the sessions simply never end so the code in my Sub
> > Session_OnEnd is never fired. As I understand it, sessions will expire
> > after 20 minutes but default if there is no further activity from the > > requestor. Yet, my counter never seems to decrement....only

increment.
My
> > code is below and I don't think it's a code (ASP) issue...this is
a common
> > trick and this exact code works fine on other sites. I think it's

an > issue
> > with this one machine. Can anyone help or tell me what to check??
> >
> > Thanks!!
> >
> > My global.asax file:
> >
> > '************************************************* **
> >
> > Sub Application_OnStart
> >
> > Application("URLSeed") = "http://www.drpt.virginia.gov/"
> > Application("CurrentSessions") = 0
> > Application("TotalSessions") = 0
> >
> > End Sub
> >
> > '************************************************* *
> >
> > Sub Application_OnEnd
> >
> > Application("URLSeed") = Nothing
> >
> > End Sub
> >
> > '************************************************* *
> >
> > Sub Session_OnStart
> >
> > '============================================
> > '===== Updating Current Sessions ====================
> > '============================================
> > Application.Lock
> >
> > Application("TotalSessions") =

CInt(Application("TotalSessions")) +
1
> > Application("CurrentSessions") =

CInt(Application("CurrentSessions"))
+
> 1
> >
> > Application.Unlock
> >
> > End Sub
> >
> > '************************************************* *
> >
> > Sub Session_OnEnd
> >
> > Application.Lock
> >
> > Application("CurrentSessions") =
CInt(Application("CurrentSessions")) -
> 1
> >
> > Application.Unlock
> >
> > 'Killing user's session variables
> > Session.Abandon()
> >
> > End Sub
> > '************************************************* **
> >
> >
> >
> >
>
>



Nov 18 '05 #10
Thanks...at the moment, it's Session_End (see reply below for my asax
file).

"Patrice" <no****@nowhere.com> wrote in message
news:OD**************@TK2MSFTNGP10.phx.gbl...
Which one are you using (Session_OnEnd, Session_End ?) AFAIK under ASP.NET
you should use Session_End.
For now you could keep both and use an application variable to count how
often it is fired (hopefully you'll find Session_End always fires while
Session_OnEnd is never called).

In some cases, the On<EventName> *method* is what the class does for you on this event (in particular it raises the <EventName> event) and the
<EventName> *event* is to declare what you would like to do. That's probably why they renamed the event compared with ASP classic.

--

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> a écrit dans le message de news:%2***************@tk2msftngp13.phx.gbl...
Thanks! My web.config file is as follows:

<configuration>
<system.web>
<customErrors mode="Off" />
<compilation debug="true" />
<sessionState mode="InProc" />
</system.web>
</configuration>
I'm STILL having this problem though. I came back this a.m. and checked it
and the site had "2000+ current users" which of course is false. It just
counted ALL users over the weekend and never released the sessions. I

also
believe there is some confusion on my part on Session_OnEnd and

Session_End
(see reply above).

"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Your web.config will contain a line like :-

<sessionState mode="InProc" .....>

or some other similar setting.(StateServer etc...). If you can provide the contents of this entry, that may help.

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
> Not sure. Can you clarify a little? Thanks
>
>
> "Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in > message news:eb*************@tk2msftngp13.phx.gbl...
> > I assume you are using InProc session state mode?
> >
> > --
> > - Paul Glavich
> > Microsoft MVP - ASP.NET
> >
> >
> > "D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message > > news:OJ**************@TK2MSFTNGP11.phx.gbl...
> > > This is a repost (pasted below). Since my original post, I've

double
> > > checked the system clock and set all IIS Session Timeout values to 10
> > > minutes. Still ...the problem occurs. I've also installed Deep
Metrix
> > Live
> > > Stats 6.2 XPS just to make sure nothing really strange was going on was
> > > going on. Still....the sessions only increment...or should I
say my > > counter
> > > in my asax file.... and never goes down.
> > >
> > > If it matters, this machine is hosting 3 sites and it has a
single
IP
> > > address. I've set IIS 5 to look at the host headers and
redirect
to the
> > > "site" on itself. This is done every day and I can't possibly
see how
> > this
> > > would effect the Sessions but you never know.
> > >
> > > I'm totally stumped!! Thoughts?....
> > >
> > >
> > > *****************
> > >
> > > I'm using ASP(.NET) trickery to show the number of "current
users" on
> one
> > of
> > > my web sites (http://www.drpt.virginia.gov). I use this method
on
a few
> > of
> > > my sites but it seems that only this one (on this machine) gives me > > trouble.
> > > The trouble seems that the sessions simply never end so the code in
my
> Sub
> > > Session_OnEnd is never fired. As I understand it, sessions will
expire
> > > after 20 minutes but default if there is no further activity
from the
> > > requestor. Yet, my counter never seems to decrement....only
increment.
> My
> > > code is below and I don't think it's a code (ASP) issue...this
is a > common
> > > trick and this exact code works fine on other sites. I think

it's an
> > issue
> > > with this one machine. Can anyone help or tell me what to

check?? > > >
> > > Thanks!!
> > >
> > > My global.asax file:
> > >
> > > '************************************************* **
> > >
> > > Sub Application_OnStart
> > >
> > > Application("URLSeed") = "http://www.drpt.virginia.gov/"
> > > Application("CurrentSessions") = 0
> > > Application("TotalSessions") = 0
> > >
> > > End Sub
> > >
> > > '************************************************* *
> > >
> > > Sub Application_OnEnd
> > >
> > > Application("URLSeed") = Nothing
> > >
> > > End Sub
> > >
> > > '************************************************* *
> > >
> > > Sub Session_OnStart
> > >
> > > '============================================
> > > '===== Updating Current Sessions ====================
> > > '============================================
> > > Application.Lock
> > >
> > > Application("TotalSessions") =

CInt(Application("TotalSessions"))
+
1
> > > Application("CurrentSessions") =
CInt(Application("CurrentSessions"))
> +
> > 1
> > >
> > > Application.Unlock
> > >
> > > End Sub
> > >
> > > '************************************************* *
> > >
> > > Sub Session_OnEnd
> > >
> > > Application.Lock
> > >
> > > Application("CurrentSessions") =
> CInt(Application("CurrentSessions")) -
> > 1
> > >
> > > Application.Unlock
> > >
> > > 'Killing user's session variables
> > > Session.Abandon()
> > >
> > > End Sub
> > > '************************************************* **
> > >
> > >
> > >
> > >
> >
> >
>
>



Nov 18 '05 #11
And after running this counter for an hour, I have 30+ ended sessions so
infact, the Session_End IS firing. The problem MUST be with my code......

=(

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
...and finally, I added a AdHoc counter to see if indeed sessions are ever
ending. This will simply (in theory) increment a value in a counter table...

global.asax file:

<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ Import Namespace="System.Web.Mail" %>

<script language="vb" runat="server">

'************************************************* ************************** ***********************************************
Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub
'************************************************* ************************** ***********************************************

'************************************************* ************************** ***********************************************
Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub
'************************************************* ************************** ***********************************************
'************************************************* ************************** ***********************************************
Sub Session_OnStart

'Updating Current Sessions
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) + 1
Application("CurrentSessions") = CInt(Application("CurrentSessions")) + 1
Application.Unlock

End Sub
'************************************************* ************************** ***********************************************

'************************************************* ************************** ***********************************************
Sub Session_End

Application.Lock

Application("CurrentSessions") = CInt(Application("CurrentSessions")) - 1
Application.Unlock

'Killing user's session variables
Session.Abandon()

'Call Test Sub Routine
UpdateSessionEndTable()

End Sub
'************************************************* ************************** ***********************************************
'************************************************* ************************** ***********************************************
Sub UpdateSessionEndTable()

Dim conSqlServer As SqlConnection
Dim strUpdateSQL As String
Dim cmdUpdate As SqlCommand
Dim strConnectString As String

strConnectString = "server=...blah...."
strUpdateSQL = "UPDATE SessionEndCounter SET Counter = " &
"[SessionEndCounter].[Counter] + 1 "

conSqlServer = New SqlConnection(strConnectString)
cmdUpdate = New SqlCommand(strUpdateSQL, conSqlServer)
conSQLServer.Open()
cmdUpdate.ExecuteNonQuery()
conSQLServer.Close()

End Sub
'************************************************* ************************** ***********************************************

</script>

"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Your web.config will contain a line like :-

<sessionState mode="InProc" .....>

or some other similar setting.(StateServer etc...). If you can provide the
contents of this entry, that may help.

--
- Paul Glavich
Microsoft MVP - ASP.NET
"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Not sure. Can you clarify a little? Thanks
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:eb*************@tk2msftngp13.phx.gbl...
> I assume you are using InProc session state mode?
>
> --
> - Paul Glavich
> Microsoft MVP - ASP.NET
>
>
> "D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
> news:OJ**************@TK2MSFTNGP11.phx.gbl...
> > This is a repost (pasted below). Since my original post, I've double > > checked the system clock and set all IIS Session Timeout values to 10 > > minutes. Still ...the problem occurs. I've also installed Deep Metrix
> Live
> > Stats 6.2 XPS just to make sure nothing really strange was going on was
> > going on. Still....the sessions only increment...or should I say
my > counter
> > in my asax file.... and never goes down.
> >
> > If it matters, this machine is hosting 3 sites and it has a single IP > > address. I've set IIS 5 to look at the host headers and redirect to the
> > "site" on itself. This is done every day and I can't possibly see how > this
> > would effect the Sessions but you never know.
> >
> > I'm totally stumped!! Thoughts?....
> >
> >
> > *****************
> >
> > I'm using ASP(.NET) trickery to show the number of "current users" on one
> of
> > my web sites (http://www.drpt.virginia.gov). I use this method on
a
few
> of
> > my sites but it seems that only this one (on this machine) gives

me > trouble.
> > The trouble seems that the sessions simply never end so the code in my Sub
> > Session_OnEnd is never fired. As I understand it, sessions will expire
> > after 20 minutes but default if there is no further activity from the > > requestor. Yet, my counter never seems to decrement....only

increment.
My
> > code is below and I don't think it's a code (ASP) issue...this is
a common
> > trick and this exact code works fine on other sites. I think it's

an > issue
> > with this one machine. Can anyone help or tell me what to check??
> >
> > Thanks!!
> >
> > My global.asax file:
> >
> > '************************************************* **
> >
> > Sub Application_OnStart
> >
> > Application("URLSeed") = "http://www.drpt.virginia.gov/"
> > Application("CurrentSessions") = 0
> > Application("TotalSessions") = 0
> >
> > End Sub
> >
> > '************************************************* *
> >
> > Sub Application_OnEnd
> >
> > Application("URLSeed") = Nothing
> >
> > End Sub
> >
> > '************************************************* *
> >
> > Sub Session_OnStart
> >
> > '============================================
> > '===== Updating Current Sessions ====================
> > '============================================
> > Application.Lock
> >
> > Application("TotalSessions") =

CInt(Application("TotalSessions")) +
1
> > Application("CurrentSessions") =

CInt(Application("CurrentSessions"))
+
> 1
> >
> > Application.Unlock
> >
> > End Sub
> >
> > '************************************************* *
> >
> > Sub Session_OnEnd
> >
> > Application.Lock
> >
> > Application("CurrentSessions") =
CInt(Application("CurrentSessions")) -
> 1
> >
> > Application.Unlock
> >
> > 'Killing user's session variables
> > Session.Abandon()
> >
> > End Sub
> > '************************************************* **
> >
> >
> >
> >
>
>



Nov 18 '05 #12
NEVERMIND! The problem is so embarrassing, I won't even tell you want it
was.

<rolling eyes>

It was in fact my code.

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
This is a repost (pasted below). Since my original post, I've double
checked the system clock and set all IIS Session Timeout values to 10
minutes. Still ...the problem occurs. I've also installed Deep Metrix Live Stats 6.2 XPS just to make sure nothing really strange was going on was
going on. Still....the sessions only increment...or should I say my counter in my asax file.... and never goes down.

If it matters, this machine is hosting 3 sites and it has a single IP
address. I've set IIS 5 to look at the host headers and redirect to the
"site" on itself. This is done every day and I can't possibly see how this would effect the Sessions but you never know.

I'm totally stumped!! Thoughts?....
*****************

I'm using ASP(.NET) trickery to show the number of "current users" on one of my web sites (http://www.drpt.virginia.gov). I use this method on a few of my sites but it seems that only this one (on this machine) gives me trouble. The trouble seems that the sessions simply never end so the code in my Sub
Session_OnEnd is never fired. As I understand it, sessions will expire
after 20 minutes but default if there is no further activity from the
requestor. Yet, my counter never seems to decrement....only increment. My
code is below and I don't think it's a code (ASP) issue...this is a common
trick and this exact code works fine on other sites. I think it's an issue with this one machine. Can anyone help or tell me what to check??

Thanks!!

My global.asax file:

'************************************************* **

Sub Application_OnStart

Application("URLSeed") = "http://www.drpt.virginia.gov/"
Application("CurrentSessions") = 0
Application("TotalSessions") = 0

End Sub

'************************************************* *

Sub Application_OnEnd

Application("URLSeed") = Nothing

End Sub

'************************************************* *

Sub Session_OnStart

'============================================
'===== Updating Current Sessions ====================
'============================================
Application.Lock

Application("TotalSessions") = CInt(Application("TotalSessions")) + 1
Application("CurrentSessions") = CInt(Application("CurrentSessions")) + 1
Application.Unlock

End Sub

'************************************************* *

Sub Session_OnEnd

Application.Lock

Application("CurrentSessions") = CInt(Application("CurrentSessions")) - 1
Application.Unlock

'Killing user's session variables
Session.Abandon()

End Sub
'************************************************* **

Nov 18 '05 #13

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

Similar topics

1
by: Matrix | last post by:
I just got one virtual directory setup and try to run my web application from there. I am getting following error Microsoft VBScript runtime error '800a01a8' Object required: 'Session' I even...
4
by: JC | last post by:
Hello- I have a form which has a listbox, a textbox and a submit button. The user types a phone number into the textbox, clicks button, text gets added to the listbox. After this process I need...
1
by: A Hirsi | last post by:
I have created a vb .net program as a service that is using a simple ftpclient to connect to a remote server and check the status of a file for subsequent downloading if there have been changes to...
3
by: promiscuoustx | last post by:
I am trying to get my program to compile, but it will not complete. At line 79 it states, cannot convert 'float()()' to 'float' in assignment. Here is my code. #include <iostream> #include...
22
by: Amali | last post by:
I'm newdie in c programming. this is my first project in programming. I have to write a program for a airline reservation. this is what i have done yet. but when it runs it shows the number of...
2
by: Orgil | last post by:
I'm using ASP 3.0 however there is ASP.NET, because I'm working an old site that is built in ASP 3.0. I hope you for getting any help for my problem from you. So, my site's sessions are empty...
6
by: S_K | last post by:
Hi all! I'm writing an ASP.NET web application that uses an Oracle database. I OPEN the Oracle connection by using the following code: if (this.ConnectionString != "") { this.Connection =...
1
by: Harshpandya | last post by:
Here is my code - I want Function test to execute only after 5 seconds. function test(){ alert("After 5 sec"); } function f2(){ setTimeout(test,500); }
2
by: violeta123 | last post by:
I am stuck! Please help It might be difficult to explain the problem via email, but I will try. I have a Win 2003 Enterprise server running with the only purpose of a membership web site...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.