469,328 Members | 1,324 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,328 developers. It's quick & easy.

Session_OnEnd not working

Hi there,

My session_OnEnd code is like this:
---------
Dim oApp
Set oApp=Server.CreateObject("AppTDE.TDEManager")
Set oApp.AppInfo=Session("App")
oApp.Logout 'calls a dll that calls another dll...to
update a row
Set Session("App")=Nothing
Set Session("oAppUser")=Nothing
Set oApp = nothing
---------

It works perfect ONLY when all my related dlls are running
through VB on my PC. If I set a breakpoint, it goes into
the function logout and it works. If I recompile
everything and close the projects and run my web app...
It won't work ?

What the hell ?!

Jul 19 '05 #1
1 1527
> Set Session("App")=Nothing
Set Session("oAppUser")=Nothing


Yikes, you're storing objects in the session? Have you read the associated
links here:
http://www.aspfaq.com/2053

Also, session_onEnd is about the most unreliable routine in all of ASP. You
might see here:
http://www.aspfaq.com/2078
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by cab | last post: by
4 posts views Thread by Propin | last post: by
4 posts views Thread by Renjith | last post: by
4 posts views Thread by anand | last post: by
1 post views Thread by Andy Kasotia | last post: by
11 posts views Thread by David Thielen | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.