Hi,
what is best practice for redirecting a user when he opens a specific page.
I have a solution with a custom master page and several webparts. When a user opens my solution (every page based on the same master).
What i need to do now is, when the user opens the page i have to check before rendering the page and the webparts some criteria. When the user is not allowed to open the page i need to redirect him to another location.
How could q redirect a user in a sharepoint solution?
I thought about some ways:
- develop a webpart (without any rendering) and put in onprerender event the check and the redirect
- create a codebehind for the masterpage
- create an httpmodule
...
What would you prefer? How could i solve it?
Best Regards
Bog
Developers Field Notes | www.bog1.de