Welcome Guest, Not a member yet? Register   Sign In
redirect() and db connection
#1

[eluser]m4rw3r[/eluser]
When I started to do an auth with drop in folder protection, I took a look at redirect() to see what it needs to do a redirect.

And it does not close the DB connection, it just sends a header then calls exit().

I've searched for a shutdown_function, but I didn't find it, so it seems to skip the closing of the db connection completely.

Should it skip the DB connection closing, it doesn't skip it during normal requests (without redirect())?


Messages In This Thread
redirect() and db connection - by El Forum - 10-04-2008, 11:50 AM
redirect() and db connection - by El Forum - 10-05-2008, 08:12 AM
redirect() and db connection - by El Forum - 10-05-2008, 09:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB