Welcome Guest, Not a member yet? Register   Sign In
View image or pdf failure. How to redirect a page without avoiding server error ?
#2

[eluser]bigtony[/eluser]
Approach 1: Your view could check for the file's existance before it puts the link on the screen, and display a friendly message if not found.

Approach 2: Your link could call a controller function passing in the file name, and the called function can check for the file existance.

Probably may other ways...


Messages In This Thread
View image or pdf failure. How to redirect a page without avoiding server error ? - by El Forum - 08-25-2009, 01:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB