Web Forms :: How To Call Specific Code In Specific Time
Jun 7, 2010I have function named (display)
I need to call this function (display) avery two second
I have function named (display)
I need to call this function (display) avery two second
I have a web program that creates a url for a file, where it usually calls
item.Url=downfile+"?fileid="+reader["id"];
which save the item url. Which is called up again when trying to access the file (tho only for half a second)
websiteURL/DownFile.Aspx?fileid=8 what I want to do is to make this not so easily changeable. Now I still need the ID from the database to call that specific file. is there anyway I could do this? or is the best option making my ID field a hash and basically unreadable thus making it hard for anyone to guess the fileid. I have tried reading some Encrypt QueryString documents but they don't seem to be what I am looking for, as the url is saved to the item before any QueryString is called.
I am trying to figure out how to associate a specific user to a specific data on the site, like social networking site.
View 3 RepliesI have a client request that all times be displayed in Pacific Time Zone, regardless of client settings. I'd like to avoid a scenario where I have to call a function for every time display and instead have a single point where I can make the switch.
I'm thinking a custom culture might do the trick, but I wanted to ask before I set off down a potentially blind alley (or miss something trivially easy).
This is my Controller Action which takes a Page entity from database and shows it in the Show.aspx view using the "Site.Master" master page:
[Code]....
This is the "Show" view rendering "Page.Title" in the "MainContent" content placeholder:
[Code]....
And this is the "Site.Master"
[Code]....
Using this approach i can show "Page.Title" in Show.aspx using any master page that has a "MainContent" placeholder, but my real goal is if i can when i choose the MasterPage for that particular Page to also see a list of available ContentPlaceHolders and when i choose one to then render "Page.Title" in that particular ContentPlaceHolder.
My application for "Members subscriptions registration" working online and different users using it.
Database type is Mssql Server 2008 R2, Size is around 1 Gb
What happen exactly there is specific record delete from table "Members" in random times, For example I add 100 new subscriptions with around 800 records and make confirm and checking next day find it loss 3 records find it deleted.
I checked all the applications no any delete query, I removed all delete query from application to make sure no any delete also I save any delete query happen in system inside table for log.
i need to rotate images after a specific time interval and images coming from Database.
my main problem is that i am not allowed to use ajax or ajax toolkit for performing this function. and i don't know how to do that without ajax?
the way by which i rotate the image with out ajax
I want that a specific asp.net control get refresh within a specified time period like there is datalist and i want that its content will be change after 10 sec.
View 4 RepliesI have been struggling with this for a long time. I have a form in which there is a textbox using an ajax calender extender. Now, the problem is that, I want to take the Date value which is string format and format it to a specific date format before inserting it into the database. The following is the core problem:Dim MDate as string=txtMeetingDate.Textdim d as new Datetime ' I want to convert the d to a datetime using the Mdate/// The problem is that I don't know what's the date format in the TextBox because users can use any time format they want, it is based on their windows settings!!!
So, I am struggling to change my String (MDate) into a DateTime in the same format the user have and then convert it into my format:"dd/MM/yyyy" and after I have the date in the correct format, I want to change it back to string and save it in the database.I am doing this so that I have the same dateformat saved in my database.
How to Automatically send birthday emails daily at specific time using in global.asax in asp.net without using windows services.
Firstly check and fetch all records of Students who have a Birthday today ....
I have a VB.NET ASP.NET webserver program running. One or more VB.NET clients are making use of it. Nothing special so far. As far as I know, the server is not really aware of the clients. Clients can request data. But is it also possible to let the server call-back a specific client when something happens? So that the client doesn't need to poll?
To be more specific, this server is connected with hardware modules. Clients could be terminals that show the status of a sensor for example. When a sensor gives an "alarm" value, it would be nice if the server could pass that alarm towards the clients. Instead of letting the clients to check each X seconds if that alarm is active. Would be a waste of energy, especially because the chance this alarm goes off is almost zero...
I want to refresh a page on a specific time.
From http-equiv="refresh" content="30" the page is refresh very 30 seconds,But I want page is refreshed on the specific time. like page is refresh on 1:30 of every day.
I want to redirect users when they reach a page in my web project. I want this to happen in page load after say 2 seconds.
I'm using this code on page load:
[Code]....
With this code, as soon as the page loads it redirects to that page. There are some text in this page that i want the user to see while the page is redirecting. What are my options? Should i use Timer? and tell it to redirect after two or three ticks?
how can i search on my web page a specific string in source code ?
View 5 Repliesi want to disable a button for a specific time. how can i do that?
View 3 RepliesHow It Possible Unpublished Record On Base Specific Time Like 22-03-2011 11:01 Pm All Record Are Unpublished It Is Possible From Sql Server Side.
View 2 RepliesI'm trying to built a website which performs actions (for example, perform backup or sends email or process data) on a specific time like every Friday 12 PM. Is there any tricks I can do with ASP.NET using C#?
View 2 RepliesMy Company registered in certain services on the Web and are relying on the company's Ip to use these services, Director asked me to allow some staff to enter these sites from outside the company,after authorized staff enter to comany's site, How could they use the company's Ip to allow them to browse services sites ? Do I need to use a method such as proxy sites like youtube proxy? or there is another way?How do I do this in asp.net?
View 10 RepliesMy Company registered in certain services on the Web and are relying on the company's IP to use these services, Director asked me to allow some staff to enter these sites from outside the company, after authorized staff enter to comany's site. How could they use the company's IP to allow them to browse services sites? Do I need to use a method such as proxy sites like youtube proxy? or there is another way?How do I do this in asp.net?
View 2 RepliesBelow code is working fine, it will logout user in after 1 minute, since I have another login control in Home page, I was trying to add another line:
<forms loginUrl="Default.aspx" timeout="1"/>, but gives me error: The element <forms> may only appear once in this section,
so the timeout in the webconfig can only have one page for the function?
[Code]....
I am working with asp.net 2008 and sql server 2005 . I get a situation where i have to delete data after 30 days. a suitable query how to do the same. I have go through different query but nothing going right for me.
View 2 Repliesi have made application...that can have numbers of Event on Specified Date, So i want to code tat when time for event is arrived so tat automatically the participant get information about the event..so i want to send email to all participant before a day.
View 3 RepliesI have 25 websites in which each website have 500 pages. I want to know in which page the specific code was implemented let say if i want to know in which page <span>test<span> is implemented under each website. Is there any way to know through any tool or application.
View 1 RepliesI want to terminate the session after specific time. So how can solve it.
View 3 RepliesI have written the following code to display multiple markers in google map and i succeeded in it.Now i want to have a drop animation applied to markers and want to drop marker after a specific interval of time.I know i want to call setTimeout method ,but don't know where to call this method to achieve the result
<script type="text/javascript">
window.onload=function(){
if(markers.length>0){
var mapOptions={
center:new google.maps.LatLng(markers[0].lat,markers[0].lng),
[Code] ....