I have a netwebPage called CheckAvailability on my webserver
A client has a website on which he has various hotspots.
Clicking a hotspot links him to a url
www.mysite\CheckAvailability?stall=F01
If I don't find a matching record I redirect the user to the calling website.
p_web.Script( P_web.WindowOpen('
http://www.callingsite.co.za.html') )
If I find a matching record with this value I pass the user through to my website index page where he can register and then login.
p_web.Script('ntAlert("This Stall is still available.","Wonderful");')
p_web.Script( P_web.WindowOpen('IndexPage') )
The internal logic works fine.
My problem
This line only displays for a fraction of a second
p_web.Script('ntAlert("This Stall is still available.","Wonderful");')
I understand from what Kevin (MyBrainIsFull) said that it needed a page for the alert message to stay on the screen.
What I would like to do then is when the menu displays if the sessionvariable that the stall number is stored in is not blank to display an alert message.
Something in the nature of:
If you have not visited the website before please register otherwise login with your assigned password.
which I would like to stay on the screen until the user clicks OK.
Where should I place this code to achieve this effect?