Hello,
I'm developing a stateful BSP app that has to start with the specific entry page, so if users somehow navigate to a non-entry page (e.g. via a bookmark or by refreshing that page after their session has timed out) they should be redirected back. What I have came up with is this check:
IF application->my_state_property IS INITIAL. response->redirect( '../MAIN/default.htm' ). EXIT. ENDIF.
This works, but I don't like having to insert this bit into every page while keeping track of the relative URL, and relative redirects seem to be disallowed by HTTP specs. Is there a better way?
Thanks,
Pavel.