login for non vb page
I want to ask users to login first on vb-page to be able to access non vb-page. I have tried several options and I have no luck yet.
My situation is as follows:
1. When a user tries to access a non-vb page then he should be redirected to the page that is brought up by print_no_permission() function.
2. If the login is successful then he should be redirected to the non vb-page.
Can anyone help me.
|