Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session_OnEnd no delete?

Status
Not open for further replies.

GIGN

Programmer
Oct 6, 2000
1,082
NZ
Is there any reason why my Session_OnEnd sub would not be working? It is calling another Function which deletes temp files from the server.

The creation of these files works - but it seems deletion is not? It is not called when I use Session.Abandon either.

I know the delete function works on it's own. Is there something else I should know?

[bb]
 
Hi,

where is location of your database. If it is on some other computer that it is know problem with authentication.
I can not remember what post or document on microsoft site but you can find explanation there.

btw. I fixed my problem by creating SQL Server job which is executing every 20 minutes and change status of some of my flags, but I have data-time field so I can know what I have to change.


Hope that you will find documentation.

Oliver
 
Who said anything about database action?

I am trying to delete files on the same server - like I say the subs work when I test them with another page or something.

I have also had no trouble at all implementing database actions - it is just getting this file stuff to be called.

Almost like the event handler is not being called at all?

<bb>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top