Hi
I have a standard html form which is generated by an XSL sheet. The
form data is submitted to the server and is passed on to file.aspx for
processing. However file.aspx is refreshed every 5 seconds, when this
happens the form data is lost, is there anyway whereby when the page
is refreshed the form data remains. I thought with ASP.NET all data is
maintained- so a refresh will still maintain the form data. The form
data is obtained through the Request.Params.
In this scenrio when file.aspx is refreshed will the server side
script be executed again? thus obtaining the form value again...
You help will be much appreciated.
Abz 1 2023
If you refresh using Request.Params then each time it refreshes it is
looking at the querystring. So if you come to the page with
file.aspx?value 1=test1&value2= test2 then you fields get populated with that.
But if you are doing a meta-refresh then what is getting passed the second
and any time after that is only file.aspx. What you need to do is to either
populate session variables for each value passed or perhaps just check to
see if the viewstate is already populated and if so then do not get the
values from Request.Params.
Stanley
"abdul bari" <ah******@yahoo .com> wrote in message
news:1a******** *************** ***@posting.goo gle.com... Hi
I have a standard html form which is generated by an XSL sheet. The form data is submitted to the server and is passed on to file.aspx for processing. However file.aspx is refreshed every 5 seconds, when this happens the form data is lost, is there anyway whereby when the page is refreshed the form data remains. I thought with ASP.NET all data is maintained- so a refresh will still maintain the form data. The form data is obtained through the Request.Params.
In this scenrio when file.aspx is refreshed will the server side script be executed again? thus obtaining the form value again...
You help will be much appreciated. Abz This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: matt |
last post by:
I have compiled some code, some written by me, some compiled from
various sources online, and basically i've got a very simple flat file
photo gallery. An upload form, to upload the photos and give them a
caption, storing the caption and filename in a text file. It's a bit
buggy when removing the photos and captions from the file, and also in
displaying them on the delete page. you can see it in action at
www.4am.com.au/gallery/upload.php...
|
by: Jack |
last post by:
I have a asp form where among others there are few text boxes and one check
box. The checkbox is
to indicate whether the entry is final. The checkbox is attahced to a field
in table of type yes/no.
After saving the documents,the form is refreshed. At this point, if the
checkbox has been saved with checked,
it shows unchecked, if it has been saved unchecked it shows unchecked.
Here, if the checkbox shows checked, I want to disable (or...
|
by: baustin75 |
last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie
only when debugging in php designer 2005
--------------------------------------------------------------------------------
Hello,
I have a very simple problem but cannot seem to figure it out. I have a
very simple php script that sends a test email to myself. When I debug
it in PHP designer, it works with no problems, I get the test email. If
|
by: Das |
last post by:
Hi all,
I'm using Asp.net. Within a form I have declared declared a public variable. When the form is loaded I set the property for the variable. but it doesn't maintain its state on postback. I there any way to maintain the state for variable?
Thanks,
Das
|
by: DOTNET |
last post by:
Hi,
Anybody help me regarding this error:
I am assigning the values to the session variables when the button is
clicked and passing these session variables to the next page and when I am
printing these session variables they are printing. After that I am
assigning these things in hidden object and in the form submit action I am
receiving these hidden values like the following:
| |
by: SSS |
last post by:
Hello there,
My problem is that I have a page which is displaying 4 real time data values which are being refreshed every one minute.
On the same page I have other text boxes where user enters some data. The page is being refreshed through code using META tag. When page is refreshed, the data entered is lost. How do I maintain the data?
We tried to use viewstate, but since the page is autorefresh, we cannot store the viewstate values in...
|
by: ganesanji |
last post by:
Hi,
I have written a simple php coding for getting the name , phone number and insert the values into data base. My problem is that when ever I just click the refresh button in the browser window, it will automatically previous inserted values are once again inserted into databse as a new entry.
Please anybody give the perfect coding which will avoid automatic insertion of previous values into database.....
I attched my coding...
|
by: vijcbe |
last post by:
Hello friends,
I am having a big time problem.
I have a list of textboxes, radios, etc., in a login page for the user to enter his/her data. I have two drop downs, in which the second one is populated according to the first one's choice. I used javascript onchange function to do this.
Later in the Js, I get the selected value and pass it to PHP again so that the second dropdown is populated accoding to the first choice.
Coding:
function...
|
by: vjayis |
last post by:
hi
i have a php page in which i have included few tabs links like
games, news,entertainment etc.,
when i click the tablink an ajax page is loaded below.
In that ajax page several pages(iframes) are loaded inside the tables, such that it contains three tables in a row.
each table contains different pages loaded through iframes,
and an close button is available so that we can close the unwanted tables(containing frames).
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |