I have a netweb page which is a landing site from another client's website. I receive the parameter like this:
http://www.mysite.com/checkavailability/stall=F01 I have stored the value in the sessionvalue RequestedStall
I check in my database and can get 3 results
1.The stall with that number does not exist
2.The stall exists but has already been allocated to another applicant
3.The stall exists and can still be booked.
In the case of 1 and 2 I want to redirect back to the original website e.g. http:/www.show.com/map.htm
In the case of 3 I want to then send them to my website
http://www.mysite.com/index where they will either login or register depending on whether they have accessed the site before.
I should have the SessionValue RequestedStall stored so when they go to the booking screen I can populate it with the relevant details
All the above logic works I can popup an alert message with the correct status but now I want to send them to the correct destination
My question is how do I code the redirect command within the NetWeb page?
Obviously <a href="
http://www.mysite.com" >
or <a href="http:/www.show.com/map.htm" >
I also tried:
packet.Append('<a href="
http://www.mysite.com"> ')
DO SendPacket
Where nothing happened
don't work so what do I do?