Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
01-26-2005, 07:37 PM #1
- Join Date
- Jun 2004
- Hershey, PA
- Thanked 0 Times in 0 Posts
Connection String in Session_OnEnd
My Session_OnEnd event is not executing properly and I believe it's due to a problem with my connection string...
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\domain.com\database\mydb.mdb;"
The connection is required to set a field in a database when the session is abandoned or times out. I have used the identical connection string in another ASP file without any problem. I believe it's the connection string because I've commented out all my other code for opening the recordset, etc. and this is where the failure occurs. Any thoughts. Thanks.