Assign the connection to a session based variable then use that variable
throughout the site. On the error page close it out. Something of that
sort would work great. I have example code along these lines if needed.
Matt
Matthew L. Wright
Java Internet Programmer
Jupiter One
Web World Studios West Coast
www.jupiterone.com
(818) 763-2927
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 4:16 PM
Subject: Accessing a variable from errorpage?
> Is there a way to access a variable from the page that threw the
exception?
>
> Because what i'm finding is that when an error occurs, I can't access my
db connection to close it. Anyway around this without having to wrap every
page in my own try block?
>
> Travis Reeder
> Chief Software Architect
> ThinkVirtual
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists