Click here to Skip to main content
15,906,285 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblem With RegisterClientScriptResource Pin
scorpion_man198219-Dec-07 3:58
scorpion_man198219-Dec-07 3:58 
GeneralRe: Problem With RegisterClientScriptResource Pin
ToddHileHoffer19-Dec-07 4:44
ToddHileHoffer19-Dec-07 4:44 
GeneralRe: Problem With RegisterClientScriptResource Pin
scorpion_man198219-Dec-07 9:46
scorpion_man198219-Dec-07 9:46 
GeneralRe: Problem With RegisterClientScriptResource Pin
ToddHileHoffer20-Dec-07 1:22
ToddHileHoffer20-Dec-07 1:22 
GeneralGC.Collect question Pin
V.19-Dec-07 3:45
professionalV.19-Dec-07 3:45 
GeneralRe: GC.Collect question Pin
Paddy Boyd19-Dec-07 3:56
Paddy Boyd19-Dec-07 3:56 
GeneralRe: GC.Collect question Pin
V.19-Dec-07 4:18
professionalV.19-Dec-07 4:18 
GeneralRe: GC.Collect question Pin
ToddHileHoffer19-Dec-07 4:37
ToddHileHoffer19-Dec-07 4:37 
V. wrote:
We've spent the entire day looking at why our code kept open several Oracle socket connections on the web server. After a while, we saw that the .Close function was almost never called. Yeah, we thought, this is it. So I made a quick and dirty ASP.Net page with the proper dll's, a button that opens the connection and one that closes it... The socket stays open...


This does't make sense...

You open the connection during the first postback. If you do not close the connection during that same postback, it is going to remain open. I don't see how you could close the object from the code of another button. ASP.Net does not work that way.

So if your application is leaving the connection open after a postback, you have to go back and fix the code. All 20,000 lines of it.

Calling the garbage collector is not going to do anything for you...

I didn't get any requirements for the signature


GeneralRe: GC.Collect question Pin
V.19-Dec-07 4:45
professionalV.19-Dec-07 4:45 
GeneralRe: GC.Collect question [modified] Pin
ToddHileHoffer19-Dec-07 4:57
ToddHileHoffer19-Dec-07 4:57 
GeneralRe: GC.Collect question Pin
Paddy Boyd19-Dec-07 5:09
Paddy Boyd19-Dec-07 5:09 
GeneralRe: GC.Collect question Pin
V.19-Dec-07 5:13
professionalV.19-Dec-07 5:13 
GeneralRe: GC.Collect question Pin
Paddy Boyd19-Dec-07 5:17
Paddy Boyd19-Dec-07 5:17 
GeneralRe: GC.Collect question Pin
V.19-Dec-07 5:25
professionalV.19-Dec-07 5:25 
GeneralRe: GC.Collect question Pin
ToddHileHoffer19-Dec-07 7:08
ToddHileHoffer19-Dec-07 7:08 
GeneralRe: GC.Collect question Pin
V.19-Dec-07 20:44
professionalV.19-Dec-07 20:44 
GeneralSys.Application / Javascript / Remove Extenders Pin
Malcolm Smart19-Dec-07 3:21
Malcolm Smart19-Dec-07 3:21 
Questionhow to retrive data from dataset Pin
biswa4719-Dec-07 2:54
biswa4719-Dec-07 2:54 
GeneralRe: how to retrive data from dataset Pin
Abhijit Jana19-Dec-07 3:59
professionalAbhijit Jana19-Dec-07 3:59 
GeneralConvert Visual Basic 6.0 Forms into ASP.net Web Page. Pin
Binod K19-Dec-07 1:03
Binod K19-Dec-07 1:03 
GeneralRe: Convert Visual Basic 6.0 Forms into ASP.net Web Page. Pin
Paddy Boyd19-Dec-07 1:22
Paddy Boyd19-Dec-07 1:22 
GeneralRe: Convert Visual Basic 6.0 Forms into ASP.net Web Page. Pin
Binod K19-Dec-07 1:29
Binod K19-Dec-07 1:29 
GeneralRe: Convert Visual Basic 6.0 Forms into ASP.net Web Page. Pin
Paddy Boyd19-Dec-07 1:41
Paddy Boyd19-Dec-07 1:41 
GeneralProblem with CascadingDropDown Pin
varshavmane19-Dec-07 0:58
varshavmane19-Dec-07 0:58 
GeneralDeatils view deleteItem Pin
MaruBindiya19-Dec-07 0:58
MaruBindiya19-Dec-07 0:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.