471,859 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,859 software developers and data experts.

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 1567
> Set Session("App")=Nothing
Set Session("oAppUser")=Nothing

Yikes, you're storing objects in the session? Have you read the associated
links here:

Also, session_onEnd is about the most unreliable routine in all of ASP. You
might see here:
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 NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.