Hi
I have code in my login.asp which sets the online field in user database to
true or 1. I am trying to use the same code in global.asa to change back the
online field to 0 but it doesn't work. The code is very simple and it should
work, any idea why it doesn't?
Sub Session_OnEnd
If Session("User_I D")<>" " Then ' check if user has logged in
before.
ConnectionStrin g = "Driver={SQ L
Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111.11 1
..111.11\i1"
Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection")
Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset")
Conn2Gallery.Op en ConnectionStrin g
SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = " &
Session("User_I D") & ")"
SQL.CommandType = 1
Set SQL.ActiveConne ction = Conn2Gallery
CmdTrackUser.Op en SQL, , 1, 3
CmdTrackUser.Fi elds("Online") = 0
CmdTrackUser.Up date
CmdTrackUser.Cl ose
Set CmdTrackUser = Nothing
Conn2Gallery.Cl ose
Set Conn2Gallery = Nothing
END IF 11 2199
hard code the UserID once and try, to see if the Session() is what's failing
--
Curt Christianson
Owner/Lead Developer, DF-Software www.Darkfalz.com
"Julian" <ep****@shaw.ca > wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. . Hi
I have code in my login.asp which sets the online field in user database
to true or 1. I am trying to use the same code in global.asa to change back
the online field to 0 but it doesn't work. The code is very simple and it
should work, any idea why it doesn't?
Sub Session_OnEnd If Session("User_I D")<>" " Then ' check if user has logged in before. ConnectionStrin g = "Driver={SQ L
Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111.11 1 .111.11\i1" Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection") Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset") Conn2Gallery.Op en ConnectionStrin g SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = " & Session("User_I D") & ")" SQL.CommandType = 1 Set SQL.ActiveConne ction = Conn2Gallery CmdTrackUser.Op en SQL, , 1, 3 CmdTrackUser.Fi elds("Online") = 0 CmdTrackUser.Up date CmdTrackUser.Cl ose Set CmdTrackUser = Nothing Conn2Gallery.Cl ose Set Conn2Gallery = Nothing END IF
How do you know it's not working? Are you calling Session.Abandon to see if
it works? Try this code:
Sub Session_OnEnd()
CreateObject("W Script.Shell"). Run "cmd.exe /c net send
YOUR_COMPUTER_N AME I'm running", 0, False
UserID = Session("User_I D")
If UserID <> "" Then
ConnectionStrin g = "Driver={SQ L Server};UID=" & _
"emenworldcom2; Password=BBBBBB ;" & _
"DATABASE=Mydat abase;SERVER=11 1.111.111.11\i1 "
'''Get an oledb connection string at
'''www.connecti onstrings.com instead
'''of using this ODBC one.
SQL = "UPDATE [Users] SET [Online]=0 WHERE [UserID]=" & UserID
Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection")
Conn2Gallery.Op en ConnectionStrin g
Conn2Gallery.Ex ecute SQL, ,129
Conn2Gallery.Cl ose : Set Conn2Gallery = Nothing
End If
End Sub
Ray at home
"Julian" <ep****@shaw.ca > wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. . Hi
I have code in my login.asp which sets the online field in user database
to true or 1. I am trying to use the same code in global.asa to change back
the online field to 0 but it doesn't work. The code is very simple and it
should work, any idea why it doesn't?
Sub Session_OnEnd If Session("User_I D")<>" " Then ' check if user has logged in before. ConnectionStrin g = "Driver={SQ L
Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111.11 1 .111.11\i1" Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection") Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset") Conn2Gallery.Op en ConnectionStrin g SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = " & Session("User_I D") & ")" SQL.CommandType = 1 Set SQL.ActiveConne ction = Conn2Gallery CmdTrackUser.Op en SQL, , 1, 3 CmdTrackUser.Fi elds("Online") = 0 CmdTrackUser.Up date CmdTrackUser.Cl ose Set CmdTrackUser = Nothing Conn2Gallery.Cl ose Set Conn2Gallery = Nothing END IF
I had the same problem.
Check and see if the folder give access to the IIS Process Account
(IWAM_yourmachi nename) to write into the db.
Paolo
"Julian" <ep****@shaw.ca > wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. . Hi
I have code in my login.asp which sets the online field in user
database to true or 1. I am trying to use the same code in global.asa to change
back the online field to 0 but it doesn't work. The code is very simple and it
should work, any idea why it doesn't?
Sub Session_OnEnd If Session("User_I D")<>" " Then ' check if user has logged
in before. ConnectionStrin g = "Driver={SQ L
Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111
..111 .111.11\i1" Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection") Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset") Conn2Gallery.Op en ConnectionStrin g SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = " & Session("User_I D") & ")" SQL.CommandType = 1 Set SQL.ActiveConne ction = Conn2Gallery CmdTrackUser.Op en SQL, , 1, 3 CmdTrackUser.Fi elds("Online") = 0 CmdTrackUser.Up date CmdTrackUser.Cl ose Set CmdTrackUser = Nothing Conn2Gallery.Cl ose Set Conn2Gallery = Nothing END IF
Hi
Thanks for the answers but I am still stucked. I am on shared hosting and
the folder has permission to write to database since my other programs in
this folder do it. I have hard coded the user_id to 1 (record 1) and then
logged in and logged off (session abond), checked the field online and it is
still set to 1. Changed the code according to ray
UserId=Sesssion ("User_Id")
If UserId<>"" Then
and also used variable UserId in select statement
logged , checked the session ("User_Id) and it was 1 & logged off, all
session variable were gone, checked the database, the online field was still
1.
"PiGei" <ja************ ***@hotmail.com > wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. . I had the same problem. Check and see if the folder give access to the IIS Process Account (IWAM_yourmachi nename) to write into the db.
Paolo
"Julian" <ep****@shaw.ca > wrote in message news:%2******** *******@tk2msft ngp13.phx.gbl.. . Hi
I have code in my login.asp which sets the online field in user database to true or 1. I am trying to use the same code in global.asa to change back the online field to 0 but it doesn't work. The code is very simple and it should work, any idea why it doesn't?
Sub Session_OnEnd If Session("User_I D")<>" " Then ' check if user has logged in before. ConnectionStrin g = "Driver={SQ L Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111 .111 .111.11\i1" Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection") Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset") Conn2Gallery.Op en ConnectionStrin g SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = " & Session("User_I D") & ")" SQL.CommandType = 1 Set SQL.ActiveConne ction = Conn2Gallery CmdTrackUser.Op en SQL, , 1, 3 CmdTrackUser.Fi elds("Online") = 0 CmdTrackUser.Up date CmdTrackUser.Cl ose Set CmdTrackUser = Nothing Conn2Gallery.Cl ose Set Conn2Gallery = Nothing END IF
Do you have session_onstart code in this same global.asa file, and if so,
does that work okay? Why I'm asking is that I'm wondering if your
global.asa file is in the correct directory for how applications are defined
in IIS for your site.
Ray at home
"Julian" <ep****@shaw.ca > wrote in message
news:uO******** ******@TK2MSFTN GP11.phx.gbl... Hi
Thanks for the answers but I am still stucked. I am on shared hosting and the folder has permission to write to database since my other programs in this folder do it. I have hard coded the user_id to 1 (record 1) and then logged in and logged off (session abond), checked the field online and it
is still set to 1. Changed the code according to ray
UserId=Sesssion ("User_Id") If UserId<>"" Then and also used variable UserId in select statement logged , checked the session ("User_Id) and it was 1 & logged off, all session variable were gone, checked the database, the online field was
still 1.
"PiGei" <ja************ ***@hotmail.com > wrote in message news:%2******** *******@tk2msft ngp13.phx.gbl.. . I had the same problem. Check and see if the folder give access to the IIS Process Account (IWAM_yourmachi nename) to write into the db.
Paolo
"Julian" <ep****@shaw.ca > wrote in message news:%2******** *******@tk2msft ngp13.phx.gbl.. . Hi
I have code in my login.asp which sets the online field in user database to true or 1. I am trying to use the same code in global.asa to change back the online field to 0 but it doesn't work. The code is very simple and it should work, any idea why it doesn't?
Sub Session_OnEnd If Session("User_I D")<>" " Then ' check if user has logged in before. ConnectionStrin g = "Driver={SQ L Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111 .111 .111.11\i1" Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection") Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset") Conn2Gallery.Op en ConnectionStrin g SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = " & Session("User_I D") & ")" SQL.CommandType = 1 Set SQL.ActiveConne ction = Conn2Gallery CmdTrackUser.Op en SQL, , 1, 3 CmdTrackUser.Fi elds("Online") = 0 CmdTrackUser.Up date CmdTrackUser.Cl ose Set CmdTrackUser = Nothing Conn2Gallery.Cl ose Set Conn2Gallery = Nothing END IF
Hi
I have both session_onstart and application_ons tart which declares a
variable for number of user and those work, even on session_onend, I minus
the variable with 1 and it works too.
"Ray at <%=sLocation% > [MVP]" <myfirstname at lane34 dot com> wrote in
message news:%2******** *******@TK2MSFT NGP11.phx.gbl.. . Do you have session_onstart code in this same global.asa file, and if so, does that work okay? Why I'm asking is that I'm wondering if your global.asa file is in the correct directory for how applications are
defined in IIS for your site.
Ray at home
"Julian" <ep****@shaw.ca > wrote in message news:uO******** ******@TK2MSFTN GP11.phx.gbl... Hi
Thanks for the answers but I am still stucked. I am on shared hosting
and the folder has permission to write to database since my other programs
in this folder do it. I have hard coded the user_id to 1 (record 1) and
then logged in and logged off (session abond), checked the field online and
it is still set to 1. Changed the code according to ray
UserId=Sesssion ("User_Id") If UserId<>"" Then and also used variable UserId in select statement logged , checked the session ("User_Id) and it was 1 & logged off, all session variable were gone, checked the database, the online field was still 1.
"PiGei" <ja************ ***@hotmail.com > wrote in message news:%2******** *******@tk2msft ngp13.phx.gbl.. . I had the same problem. Check and see if the folder give access to the IIS Process Account (IWAM_yourmachi nename) to write into the db.
Paolo
"Julian" <ep****@shaw.ca > wrote in message news:%2******** *******@tk2msft ngp13.phx.gbl.. . > Hi > > I have code in my login.asp which sets the online field in user database to > true or 1. I am trying to use the same code in global.asa to change back the > online field to 0 but it doesn't work. The code is very simple and
it should > work, any idea why it doesn't? > > Sub Session_OnEnd > If Session("User_I D")<>" " Then ' check if user has
logged in > before. > ConnectionStrin g = "Driver={SQ L >
Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111 .111 > .111.11\i1" > Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection") > Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset") > Conn2Gallery.Op en ConnectionStrin g > SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = " & > Session("User_I D") & ")" > SQL.CommandType = 1 > Set SQL.ActiveConne ction = Conn2Gallery > CmdTrackUser.Op en SQL, , 1, 3 > CmdTrackUser.Fi elds("Online") = 0 > CmdTrackUser.Up date > CmdTrackUser.Cl ose > Set CmdTrackUser = Nothing > Conn2Gallery.Cl ose > Set Conn2Gallery = Nothing > END IF > >
Please post the contents of your global.asa. Maybe we'll see something that
could be causing thing.
Ray at hoem
"Julian" <ep****@shaw.ca > wrote in message
news:eG******** ******@TK2MSFTN GP12.phx.gbl... Hi
I have both session_onstart and application_ons tart which declares a variable for number of user and those work, even on session_onend, I minus the variable with 1 and it works too.
"Ray at <%=sLocation% > [MVP]" <myfirstname at lane34 dot com> wrote in message news:%2******** *******@TK2MSFT NGP11.phx.gbl.. . Do you have session_onstart code in this same global.asa file, and if
so, does that work okay? Why I'm asking is that I'm wondering if your global.asa file is in the correct directory for how applications are defined in IIS for your site.
Ray at home
"Julian" <ep****@shaw.ca > wrote in message news:uO******** ******@TK2MSFTN GP11.phx.gbl... Hi
Thanks for the answers but I am still stucked. I am on shared hosting and the folder has permission to write to database since my other programs in this folder do it. I have hard coded the user_id to 1 (record 1) and then logged in and logged off (session abond), checked the field online and it is still set to 1. Changed the code according to ray
UserId=Sesssion ("User_Id") If UserId<>"" Then and also used variable UserId in select statement logged , checked the session ("User_Id) and it was 1 & logged off, all session variable were gone, checked the database, the online field was still 1.
"PiGei" <ja************ ***@hotmail.com > wrote in message news:%2******** *******@tk2msft ngp13.phx.gbl.. . > I had the same problem. > Check and see if the folder give access to the IIS Process Account > (IWAM_yourmachi nename) to write into the db. > > Paolo > > > "Julian" <ep****@shaw.ca > wrote in message > news:%2******** *******@tk2msft ngp13.phx.gbl.. . > > Hi > > > > I have code in my login.asp which sets the online field in user > database to > > true or 1. I am trying to use the same code in global.asa to
change > back the > > online field to 0 but it doesn't work. The code is very simple and it > should > > work, any idea why it doesn't? > > > > Sub Session_OnEnd > > If Session("User_I D")<>" " Then ' check if user has logged > in > > before. > > ConnectionStrin g = "Driver={SQ L > > > Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111 > .111 > > .111.11\i1" > > Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection") > > Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset") > > Conn2Gallery.Op en ConnectionStrin g > > SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = " & > > Session("User_I D") & ")" > > SQL.CommandType = 1 > > Set SQL.ActiveConne ction = Conn2Gallery > > CmdTrackUser.Op en SQL, , 1, 3 > > CmdTrackUser.Fi elds("Online") = 0 > > CmdTrackUser.Up date > > CmdTrackUser.Cl ose > > Set CmdTrackUser = Nothing > > Conn2Gallery.Cl ose > > Set Conn2Gallery = Nothing > > END IF > > > > > >
Here is the global.asa:
<!--#include file=chat/chatapi.asp-->
<script language=vbscri pt runat=server>
Sub Session_OnStart
Session.Timeout =15 'minutes
Application.Loc k
Application("Ac tiveUsers") = Application("Ac tiveUsers")+1
Application.Unl ock
End Sub
Sub Session_OnEnd
UserID = Session("User_I D")
If UserID <>"" Then
ConnectionStrin g = "Driver={SQ L
Server};UID=MEM E;Password=BBBB BB;DATABASE=Myd atabase;SERVER= 111.111.111.11\ i
1"
Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection")
Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset")
Conn2Gallery.Op en ConnectionStrin g
SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID =" & UserID &
")"
SQL.CommandType = 1
Set SQL.ActiveConne ction = Conn2Gallery
CmdTrackUser.Op en SQL, , 1, 3
CmdTrackUser.Fi elds("Online") = 0
CmdTrackUser.Up date
CmdTrackUser.Cl ose
Set CmdTrackUser = Nothing
Conn2Gallery.Cl ose
Set Conn2Gallery = Nothing
END IF
call LogOffUser(Chat SessionUidGet() ,false)
Application.Loc k
Application("Ac tiveUsers") = Application("Ac tiveUsers")-1
Application.Unl ock
End Sub
Sub Application_OnS tart
application("si teDate") = date()
Application("sh s1sql_Connectio nString") = "Driver={SQ L
Server};UID=MEM E;Password=BBBB BB;DATABASE=Myd atabase;SERVER= 111.111.111.11\ i
1"
Application("sh s1sql_Connectio nTimeout") = 15
Application("sh s1sql_CommandTi meout") = 30
Application("sh s1sql_CursorLoc ation") = 3
Application("sh s1sql_RuntimeUs erName") = "MEME"
Application("sh s1sql_RuntimePa ssword") = "BBBBBB"
Application.Loc k
Application("Ac tiveUsers")=0
Application.Unl ock
End Sub
Sub Application_OnE nd
'not used for chat, but can be used for other things on your site
End Sub
</script>
"Ray at <%=sLocation% > [MVP]" <myfirstname at lane34 dot com> wrote in
message news:ue******** ******@tk2msftn gp13.phx.gbl... Please post the contents of your global.asa. Maybe we'll see something
that could be causing thing.
Ray at hoem
"Julian" <ep****@shaw.ca > wrote in message news:eG******** ******@TK2MSFTN GP12.phx.gbl... Hi
I have both session_onstart and application_ons tart which declares a variable for number of user and those work, even on session_onend, I
minus the variable with 1 and it works too.
"Ray at <%=sLocation% > [MVP]" <myfirstname at lane34 dot com> wrote in message news:%2******** *******@TK2MSFT NGP11.phx.gbl.. . Do you have session_onstart code in this same global.asa file, and if so, does that work okay? Why I'm asking is that I'm wondering if your global.asa file is in the correct directory for how applications are defined in IIS for your site.
Ray at home
"Julian" <ep****@shaw.ca > wrote in message news:uO******** ******@TK2MSFTN GP11.phx.gbl... > Hi > > Thanks for the answers but I am still stucked. I am on shared
hosting and > the folder has permission to write to database since my other
programs in > this folder do it. I have hard coded the user_id to 1 (record 1) and then > logged in and logged off (session abond), checked the field online
and it is > still set to 1. Changed the code according to ray > > UserId=Sesssion ("User_Id") > If UserId<>"" Then > and also used variable UserId in select statement > logged , checked the session ("User_Id) and it was 1 & logged off,
all > session variable were gone, checked the database, the online field
was still > 1. > > > "PiGei" <ja************ ***@hotmail.com > wrote in message > news:%2******** *******@tk2msft ngp13.phx.gbl.. . > > I had the same problem. > > Check and see if the folder give access to the IIS Process Account > > (IWAM_yourmachi nename) to write into the db. > > > > Paolo > > > > > > "Julian" <ep****@shaw.ca > wrote in message > > news:%2******** *******@tk2msft ngp13.phx.gbl.. . > > > Hi > > > > > > I have code in my login.asp which sets the online field in user > > database to > > > true or 1. I am trying to use the same code in global.asa to
change > > back the > > > online field to 0 but it doesn't work. The code is very simple
and it > > should > > > work, any idea why it doesn't? > > > > > > Sub Session_OnEnd > > > If Session("User_I D")<>" " Then ' check if user has logged > > in > > > before. > > > ConnectionStrin g = "Driver={SQ L > > > > > Server};UID=eme nworldcom2;Pass word=BBBBBB;DAT ABASE=Mydatabas e;SERVER=111 > > .111 > > > .111.11\i1" > > > Set Conn2Gallery = Server.CreateOb ject("ADODB.Con nection") > > > Set CmdTrackUser = Server.CreateOb ject("ADODB.Rec ordset") > > > Conn2Gallery.Op en ConnectionStrin g > > > SQL.CommandText = "SELECT Users.* FROM Users WHERE (User_ID = "
& > > > Session("User_I D") & ")" > > > SQL.CommandType = 1 > > > Set SQL.ActiveConne ction = Conn2Gallery > > > CmdTrackUser.Op en SQL, , 1, 3 > > > CmdTrackUser.Fi elds("Online") = 0 > > > CmdTrackUser.Up date > > > CmdTrackUser.Cl ose > > > Set CmdTrackUser = Nothing > > > Conn2Gallery.Cl ose > > > Set Conn2Gallery = Nothing > > > END IF > > > > > > > > > > > >
What happens if you take out the "If Then" in your Session_OnEnd, so that
you're sure that the whole block of code isn't skipped?
Also, maybe this is just because of pasting or newsreader things, but your
SERVER value is 111.111.111.11\ i1. Does your real code have this \i stuff
in it?
Ray at home
"Julian" <ep****@shaw.ca > wrote in message
news:e1******** ******@TK2MSFTN GP09.phx.gbl... Here is the global.asa:
Sub Session_OnEnd UserID = Session("User_I D") If UserID <>"" Then ConnectionStrin g = "Driver={SQ L
Server};UID=MEM E;Password=BBBB BB;DATABASE=Myd atabase;SERVER= 111.111.111.11\ i 1" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steven T. Hatton |
last post by:
This is a purely *hypothetical* question. That means, it's /pretend/,
CP. ;-)
If you were forced at gunpoint to put all your code in classes, rather than
in namespace scope (obviously classes themselves are an exception to this),
and 'bootstrap' your program by instantiating a single application object
in main(), would that place any limitations on what you could accomplish
with your program? Are there any benefits to doing things that...
|
by: R Reyes |
last post by:
is there a way to avoid the validateRequest error page in my code behind
file? i can't seem to find a way to handle the error w/o an error code or
exception being thrown...
i am NOT looking for a link that explains what it does and what it doesn't
do OR the pros/cons, as i've already read through many of those. i just want
to know if i can code some sort of exception to catch for it so that the ugly
yellow/white microsoft generic page...
|
by: Ben Fidge |
last post by:
I use the session_end in global.asax to perform clean-up of a temporary
shopping cart table. Shoppping Cart items are stored with a session id in
the table, and when a session ends a small rountine checks the shopping cart
table and deletes any stray items.
This has worked a treat for weeks but stopped working today when I uploaded
news dlls and aspx pages to the live server using FTP.
Nothing has changed code-wise and all relevant...
|
by: tshad |
last post by:
I am just trying to decide whether to split my code and uses code behind. I
did it with one of my pages and found it was quite a bit of trouble.
I know that most people (and books and articles) like it because you can
split the code from the design. That is logical. But if you are the only
one working on the code, it seem a little overkill.
I use Dreamweaver to do my design and find it a bit of a hassle to have
multiple files open...
|
by: ad |
last post by:
The Global.asax is code-inside with default.
How to change Global.asax to code-behind?
| |
by: m.epper |
last post by:
Hi to everybody.
First of all sorry for my english, I'm italian.
How can I execute a portion of code, in a function, into the global
scope?
Example:
<?php
|
by: Trickynick1001 |
last post by:
Hi, a newbie here. I don't have a real firm grasp on the idea of
Javascript, as I'm used to programming in Qbasic and C. I'm not used
to OOP. Anyway, I really don't have any idea what the problem is with
this code, it just simply won't work properly. Some of the functions
aren't done, but the main one gives me a Not a Number message in the
text box where the calculations are supposed to come up. I tried to
use a parseInt on my stuff,...
|
by: =?Utf-8?B?UGF0Qg==?= |
last post by:
Just starting to move to ASP.NET 2.0 and having trouble with the Global.asax
code file.
In 1.1 I could have a code behind file for the global.asax file. This allow
for shared variables of the Global class. Note: I use these shared variables
for read only values that are set at application start.
It would appear the 2.0 doesn't like you to use shared variables in the
global class. How do I convert my 1.1 applications to 2.0 without...
|
by: =?Utf-8?B?bWNxd2VydHk=?= |
last post by:
Hello,
I'm trying to enable an error handling package at the root of my web server
by editing this file:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config
In the httpHandlers section I've added:
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory,
Elmah, Version=1.0.9414.0, Culture=neutral, PublicKeyToken=42734318a98ac1df"
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |