Click here to Skip to main content
15,906,272 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hai,

I have one login page. If i login successfully i should show the popup message after 30mins from successfully login time. I may be at any page. But after 30mins i should show popup message window in asp.net. how to do?

Please help me
Posted
Comments
Sergey Alexandrovich Kryukov 30-Nov-11 0:01am    
I wonder why. I can imaging my irritation if I face with it. Probably, will never visit this site again... :-)
--SA
Member 7684075 30-Nov-11 0:37am    
Nobody asking you to visit this site. But for me its very helpful.

1 solution

Hi,
you can write javascript in .aspx page like this
JavaScript
<script type="text/javascript">
window.setinterval("test()",1800000);
function test()
{
alert('Yes 30 minutes is over');
}
</script>

the javascript is not taken minutes so we can convert minutes to milliseconds
60000*30=1800000.
Thank U.
 
Share this answer
 
v2
Comments
RaisKazi 30-Nov-11 0:04am    
Edited: Added "pre" tag.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900