Click here to Skip to main content
15,924,935 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to call a server side sub procedure through a javascript function Pin
jagan12319-Dec-07 17:37
jagan12319-Dec-07 17:37 
AnswerRe: how to call a server side sub procedure through a javascript function Pin
_AK_19-Dec-07 19:08
_AK_19-Dec-07 19:08 
GeneralChecking pbm in checkboxlist when we check the checkbox in grid Pin
SreejithAchutan19-Dec-07 17:09
SreejithAchutan19-Dec-07 17:09 
GeneralObtaining the Request Object for a Web Service Pin
Skippums19-Dec-07 13:34
Skippums19-Dec-07 13:34 
AnswerRe: Obtaining the Request Object for a Web Service Pin
Skippums20-Dec-07 8:50
Skippums20-Dec-07 8:50 
GeneralAccessing Control from Master Page Pin
DotNetXenon19-Dec-07 10:04
DotNetXenon19-Dec-07 10:04 
GeneralRe: Accessing Control from Master Page Pin
pmarfleet19-Dec-07 10:55
pmarfleet19-Dec-07 10:55 
GeneralProblem Calling Web Service From Production Environment Pin
AdamNThompson19-Dec-07 10:01
AdamNThompson19-Dec-07 10:01 
GeneralTransparent GIFs Pin
Monin D.19-Dec-07 9:12
Monin D.19-Dec-07 9:12 
GeneralLinq Query to sort in Column-Header in GridView Pin
Terppe19-Dec-07 5:59
Terppe19-Dec-07 5:59 
Questionhow to convert .aspx page to .pdf document in asp.net [modified] Pin
gopal_Pandey19-Dec-07 4:12
gopal_Pandey19-Dec-07 4:12 
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 
Guys,

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...

Earlier that day a colleague recommended to use GC.Collect(), which we tried in the Global.asax file (at Session_end). It didn't work. Now, just to make sure, I tried also a GC.Collect() right after the Close (so in the button event handler)... Lo, the socket connection dissappears. Move the GC.Collect() to the Global.asax; no avail anymore...

So why doesn't it work in Global.asax and it does work in the Page itself? (I also tried to put the connection in a Session variable, but that didn't work either)

thanks.
V.

Stop smoking so you can: Enjoy longer the money you save.
Moviereview Archive

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 
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 

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.