Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-08-2005, 02:25 AM   #1 (permalink)
mechtech
Registered User
 
Join Date: Apr 2005
Posts: 1
mechtech is on a distinguished road
Checking a flag in Opened ASP.net page Continously !

I have an opened Asp.net page. I have a flag (say an integer variable temp ) in my database. I want to keep checking this flag in my opened Asp.net page if the flag is true then redirect my page to another page. I am getting this flag in my Asp.net page from a stored procedure and i am getting the right value of this. My question is how can i check this value continously in my Opened Asp.net page.

Is this thing possible. If so what should i do to accomplish this task.

This thread might be my last hope.

Thanx in advance.
mechtech is offline   Reply With Quote
Old 04-19-2005, 12:37 PM   #2 (permalink)
AlexB1234
Registered User
 
Join Date: Apr 2005
Posts: 7
AlexB1234 is on a distinguished road
It sounds like you want to post the page every so often and then you can run your asp.net code to check the db. You can probably do this with the java script setTimeout("function()",X) function. Function() is the function that gets called after the interval elapses and X is the time to wait in millisecs. Just post your page in Function().

Good luck.
AlexB1234 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 01:57 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting