Parent path and ASP Database (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


kkwwex -> Parent path and ASP Database (3/19/2008 12:34:21)

I have the parent path enabled on the web server. Everything works just fine for a few days and then the database results are not dispayed properly on the webpages. The problem fixes itself after a couple of days and then it reappears. Does anyone have any idea what could possibly be causing this "glitch"?




rdouglass -> RE: Parent path and ASP Database (3/19/2008 12:58:33)

I'm not sure of the reason why but you may be able to solve it permanently by using virtual paths instead of Parent paths. Basically all the lines like :

<!--#include file="../_fpclass/fpdbrgn1.inc"-->

becone:

<!--#include virtual="/_fpclass/fpdbrgn1.inc"-->

Don't forget that backslash. "virtual" basically sets everything from the root downward.

Hope it helps.




kkwwex -> RE: Parent path and ASP Database (3/19/2008 14:18:33)

do i have to disable parent path on the server prior to doing this? i tried changing the code but Frontpage doesn't save it and it goes back to the original line




OscarSierra -> RE: Parent path and ASP Database (4/1/2008 12:04:54)

Take a look at this http://www.outfront.net/spooky/adv_drw_diet.htm




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0703125