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 .

View Replies


ADVERTISEMENT

Exit While Statement

how do you exit a while statement? i've tried

exit
exit loop
exit while

what am i missing? or is it not possible?

View Replies View Related

Run On Page Exit

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 Related

Return Or Exit

is there a concept of return exit To terminate program execution ?

View Replies View Related

Exit Above The Top Directory

I'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 Related

Cannot Exit Existing Frames

Within 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?

View Replies View Related

How Does Asp Exit/close Application?

Can anyone give me a simply and short paragraph answer to the quest : How does ASP close/exit an application?

View Replies View Related

Format Textbox On Exit

I 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?

View Replies View Related

Creating Exit Poll For Websites

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.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved