M
Mr. Smart
Error Type:
(0x8002802B)
Element not found.
//global.asa, line 28
The above is what I always get when I tried to log on to my website. I am
still developing it using localhost. So the very first time I typed
http://localhost, it will give me the error above.
Here is what I i have in the file (Session_OnStart):
....
StartPage = "http://" & Request.ServerVariables("SERVER_NAME") &
"/Default.asp"
Session("referer") = Request.ServerVariables("HTTP_REFERER")
currentPage = "http://" & Request.ServerVariables("SERVER_NAME") &
Request.ServerVariables("SCRIPT_NAME")
....
Even if I comment the Startpage = ..., and I re-start the app, it jumps to
the next line.
Here is what I am trying to do. I want to be able to monitor how many people
logged on to my website at any momemt. Also I want to make sure users logged
in and monitor where they are coming from. So, I have the above lines. Down
below, I have the following lines
if strcomp(currentPage,startPage,1) then
Application.Lock
Application("NofUsers") = Application("NofUsers") + 1
Application.UnLock
Response.Redirect(startPage)
else
Application.Lock
Application("NofUsers") = Application("NofUsers") + 1
Application.UnLock
end if
If they did not come in thru the start page Default.asp, it pushes the user
to default.asp, else it increases nofusers. However, as I indicated above, it
gives the error above. However, if I click on Refresh, it works correctly.
Any ideas?
(0x8002802B)
Element not found.
//global.asa, line 28
The above is what I always get when I tried to log on to my website. I am
still developing it using localhost. So the very first time I typed
http://localhost, it will give me the error above.
Here is what I i have in the file (Session_OnStart):
....
StartPage = "http://" & Request.ServerVariables("SERVER_NAME") &
"/Default.asp"
Session("referer") = Request.ServerVariables("HTTP_REFERER")
currentPage = "http://" & Request.ServerVariables("SERVER_NAME") &
Request.ServerVariables("SCRIPT_NAME")
....
Even if I comment the Startpage = ..., and I re-start the app, it jumps to
the next line.
Here is what I am trying to do. I want to be able to monitor how many people
logged on to my website at any momemt. Also I want to make sure users logged
in and monitor where they are coming from. So, I have the above lines. Down
below, I have the following lines
if strcomp(currentPage,startPage,1) then
Application.Lock
Application("NofUsers") = Application("NofUsers") + 1
Application.UnLock
Response.Redirect(startPage)
else
Application.Lock
Application("NofUsers") = Application("NofUsers") + 1
Application.UnLock
end if
If they did not come in thru the start page Default.asp, it pushes the user
to default.asp, else it increases nofusers. However, as I indicated above, it
gives the error above. However, if I click on Refresh, it works correctly.
Any ideas?