Exit
Is it possible to use "exit" or equivalent in a condition in ASP as shown in the example below:
if count >=10 then
exit
else
rest of code
I just want the code to stop executing once a condition is met .
Is it possible to use "exit" or equivalent in a condition in ASP as shown in the example below:
if count >=10 then
exit
else
rest of code
I just want the code to stop executing once a condition is met .
how do you exit a while statement? i've tried
exit
exit loop
exit while
what am i missing? or is it not possible?
I am working on a section of a site that logs the persons with timestamps. There needs to be a small asp script that runs when the page is loaded and another when the user leaves the page. How can I run the script when the users leaves the page?
View Replies View Relatedis there a concept of return exit To terminate program execution ?
View Replies View RelatedI'm getting this issue "Cannot use a leading. to exit above the top directory" when i access in my server, it is working fine in my local. We are using RewriterRule in web.config file. I'm using ASP .net 2.0, IIS 6.0.
View Replies View RelatedWithin my site is a section for visitors to login. Once they have logged in they are directed to a page which uses frames.
existing code is below:
<frame name="leftFrame" src="computer_store_index.asp" scrolling="auto">
<frame name="mainFrame" src="computer_store.asp" scrolling="auto">
</frameset>
<noframes><body>
</body></noframes>
</html>
The problem is when the visitor logs out they are directed back to the login page. The login page and all subsequent pages which the visitor may click on within the site also displays the frames. Is there anyway to close the frames?
Can anyone give me a simply and short paragraph answer to the quest : How does ASP close/exit an application?
View Replies View RelatedI am trying to format a texbox when a user exits it. In Visual Basic you could put the following in the Exit property of the textbox:
textbox1 = Format(textbox1, "Currency")
Is this possible in ASP/VbScript?.show code in your reply, especially where to put this code in the asp page?
I need to offer a questionaire to approximately every 10th user of my website when then are leaving.
My first thoughts were to use an application variable to determine the number of users but this falls over because it would not instantly release the variable when the user left the site.