
Newbie question: Session_OnEnd question
nevermind, it was working...at Session_OnStart, i set the timeout to 60
mniutes and totally forgot about it.
so the session_onend executes 60 minutes after the user close the browser...
thanks guys...silly me.
Sonny
Quote:
> Is your virtual directory marked as an application and is the global.asa
in the root directory of
Quote:
> the site and is the global.asa accessible by the IUSR_machinename account
(even for authenticated
Quote:
> sites)?
> --
> Michael Harris
> Microsoft.MVP.Scripting
> --
> Please do not email questions - post them to the newsgroup instead.
> --
> > i tried that but it doesn't seem to work. I know the code is fine
because I
> > tested it within an ASP page.
> > My code was placed in the Session_OnEnd in the Global.ASA file.
everything
> > starts up fine and close fine but it just doesn't delete the files. what
> > could be causing this?
> > sonny
> > > In Session_OnEnd
> > > Jeff
> > > > I have a site that generates PDF files dynamicly each time a user
views
> > > it.
> > > > Problem is, after so many visits those pdf files builts up in the
> > > directory.
> > > > I want to delete the pdf files when a user close their browser. I
wrote
> > > some
> > > > VB Script to do so but where should I place this code so it execute
when
> > > > ther user timeout or close their browser? Any help would be helpful.
> > > > Sonny