NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: frode on August 16, 2013, 03:03:28 AM
-
Hi,
How do I redirect to the indexpage if the user puts in a direct url in the browser to a page that needs parameters to be shown correctly ?
Could I just use p_web.Redirect in the routine "beginning of procedure" before opening files if the criteria is not met ?
Thanks,
Frode Remoy
-
what type of procedure?
-
Netwebform
-
An example: I log in and navigate to a netwebform from a netwebbrowse that is filtered using a sessionvalue from the netwebbrowse.
I stay inactive until the session timesout.
Then I press F5, complete the loginform and get redirected back into the netwebform I was in the previous session.
In this scenario (like direct access urls to netwebforms where sessionvalues are not set) I would like to redirect the user back to the indexpage of the site.
Frode