Cross Contamination Of Data Between Forms
I have just taken over an ASP application that has a form whereby the user on entering details submits it, where an administrator approves the form. lately I have been getting calls from people who on opening a Finalsed Form (non-editable) to copy similiar data to the new form, are finding the new form disapearing and the Finalised form taking on the new data.
Being new to ASP, I am assuming this would be a session thing, considering the Form number is held in a session variable, as are many other fileds of the form? Is this a common "break" in ASP - a user opening another copy of a form and ending up with cross-contamineted data? I havent included intracate details as at this stage I wouldnt know what to include without including the whole 20 pages of 1300+ lines of code...
View Replies
ADVERTISEMENT
I currently have 2 asp forms on one page, posting to different pages,one an email form, the other an upload. Is it possible that someone could help me with merging them together?The scripts and pages are below on my 3rd post below.
View Replies
View Related
I have been using the post method, but that only works for one other page...how do I go about making variables available to more than one page?
View Replies
View Related
For the register and login pages, etc (ie, any pages with forms), I'm wanting to encrypt the data using the basic form encryption method: Code:
enctype="multipart/form-data"
However, I have no idea how to get ASP to de-encrypt the data on the other side.
View Replies
View Related
I have a table layed out in SQL 2000 like the following:
Username Date Hours Period
john 1/1 10 1
john 1/2 20 1
How simple is it for me to build a data entry form in ASP that would display this with input boxs for the hours field. The problem is I need it to span left to right on th eweb page.
Period 1
1/1 1/2 etc------------>
box box
SUBMIT BUTTON.
The key to the look would be the current period.
View Replies
View Related
I Need to collect about 400 pieces of text information (of various types and sizes) in about seven forms in seven different pages and post all the data finally to a database. I would like to know what is the best mechanism to pass data from form1 through form 7.
Users should be able to go to previous pages and edit entered data. Should I pass them as hidden variables or retain them as session variables or are there other more efficient ways to do this?
Also, I want to be able to later retrieve the data and porpulate the forms with the data so that users can edit the data and post it again. I am using ASP to do this (not .net). Any help from a generous programmer?
View Replies
View Related
I have a simple application setup where people can submit a request for a sample of our product to be mailed to them. It's a very simple form with name and address information. I have a page setup where our warehouse guys can pull up current requests and then the plan is to use USPS.com to print shipping lables.
While it's already a big time saver, they're still having to either copy/paste or re-type the information into USPS.com's forms. Knowing the names of the form fields on their site, is there a way I can populate their forms with the data in my recordset from my details page?
For instance, they pull up the current requests and they click into the details page for one of them which lists the person's name and address. If I have the USPS.com page open in another window and on the screen which contains the form fields is there a way to call that page and populate those fields accordingly?
View Replies
View Related
1) This is page built as a form which displays the content of a SQL database (a specific row) for users to update.
2) Each form field contains the actual information that the database has at this time (some Columns May or May not have info in it. No actual way to determine if its NULL or Just Empty).
3) I have the actual row selector based on the Unique ID (autonumber value). Its selected from a previous page and passed through GET.
Code:....
View Replies
View Related
I have a swf file in one domain and an ASP file in another domain; the swf doesn't not receive the variables form the ASP, how can solve the problem with crossdomain policy?
View Replies
View Related
My code works in IE but not in Netscape. Can someone let me know what should be done in order to view the javascript function also in Netscape. Thanks.
Script:
Quote: <script language="javascript">
function showurl(v){
var layers = document.all.tags("DIV");
layers['show'].style.visibility=v;
}
</script>
Form:
Quote: <input type="radio" name="check1" value="1" onclick="showurl('visible')"> View all Links
<div id="show" style="visibility: hidden;">
<a href='http://www.myurl.com'
target="_blank">www.myurl.com</a><br />
<a href='http://www.someurl.com'
target="_blank">www.someurl.com</a>
</div>
View Replies
View Related
Can anyone tell me how i can access the value of a variable created in javaScript, within an ASP statement and vice-versa if poss??
View Replies
View Related
Anyone know of a way to allow a cookie to be read by multiple domains, or even better a specific IIS server IP? We're looking to track users across multiple domains within our website group.
View Replies
View Related
We have web server A, sitting outside out firewall in the DMZ
Database server (FoxPro) B, sitting inside out firewall
No trusts, seperate domains.
Webserver A, running just ASP (No ASP.NET) needs to access a DB on B, but
just times out
with no error (bottom of page says done).
I have a strong feeling it is because we need to do cross domain pemissions.
I know how to set this up for ASPNET, but not just ASP.
View Replies
View Related
anyone know how to include a cross domain page?
eg: www.mydomain.com/index.asp, want to include www.yahoo.com page.
View Replies
View Related
I have a web application mainly written in ASP. How can I prevent my pages like login.asp and other important pages from Cross-site scripting malicious attacks. What precautions should I take ?
View Replies
View Related
I manage a site with a normal address like: www.mysite.com
I'm using a cookie to store nicks of my users, with a code like this:
----
Response.Cookies("mycookie").Expires = #January 1, 2030#
Response.Cookies("mycookie").Path = ""
Response.Cookies("mycookie").Secure = FALSE
Response.Cookies("mycookie")("nick") = nick
----
and I'm deleting it, if a user wants so, with:
----
Response.Cookies("mycookie").Expires = #January 1, 2003#
Response.Cookies("mycookie").Path = ""
Response.Cookies("mycookie").Secure = FALSE
Response.Cookies("mycookie")("nick") = ""
Response.Cookies("mycookie") = ""
----
(I know, there's too much stuff in the delete procedure!)
Now I'm going to open some new sections of my site, with subdomain
adresses, like search.mysite.com, shop.mysite.com... and I need that
cookie authentication for the main (www) address is working also in
these subdomains.
I red on the Internet that with the DOMAIN property, I can set my
cookie to make it work for every subdomain, with something like:
----
Response.cookies("mycookie").domain = ".mysite.com"
----
.... and it works!
My problem is when I try to DELETE it: after I set a cookie with
..domain property, it seems to become "read only": any my attempt to
delete (or modify) it seems to be ignored.
Results are the same when I try to write it from the subdomain that
created it (www), or when I try from the "chief" address (mysite.com,
without any subdomain).
Where's my mistake?
View Replies
View Related
At risk of being flamed for mentioning the N-word here ...
Has anybody yet cracked the knotty problem of sharing Session
state between ASP and ASP.Net sites (within the same domain)?
Last time I looked, the two Session() mechanisms were totally
divorced and separate, making step-by-step conversion of Session
-dependent web sites from ASP to ASP.Net all but impossible.
View Replies
View Related
Im in contact with the developer who built the other website and he is being helpful in writing the code on the payment confirmation (which only he has access to).
I need to be able to update my database when an order has been completed (from the confirmation page on the other domain). Can you update an access db from another domain? if so are there any security issues? what, if any, permission do i need to set up ie: on the database or on my domain? what is the code to do this?
View Replies
View Related
I'm wondering if it is possible to have an ASP page that "links" to another ASP page on another domain that is generating variables (in the form of a URL string)?
iframes can connect to the ASP file on another domain, however, I don't know how to access that data in ASP.
View Replies
View Related
I am trying to find a way to make an asp page on one computer access a database stored on a different computer and perform numerous operations on it. I am unsure if this is possible as up til now I've always used a database in the same folder as my .asp pages. Can anyone provide some insight into this?
View Replies
View Related
What libraries would I need installed, or what configuration to the server is needed, to allow me to set a cookie on 'site1.com' that can be read on site2.com
No log-in, just using a cookie from a form on site 1 (name) and being able to print out their name on site 2, without messy querystrings. Is this possible? I cannot find proof that this is supported.
View Replies
View Related
Does anyone have a successful experience in using XMLHTTP or ASPtear to read
a cookie on another domain? Can it be done at all using these or similar
technologies or can it only be done using the redirect trick?
View Replies
View Related
I am trying to write a simple script that will allow me to have someone complete a form and depending on which location they choose an email will be sent to a specific person.
I have a page that validates and sends and email to me correctly, now I am trying to simply add a case statement that will allow me to change the recipient to the individual it needs to go to. What am I doing wrong? Is there another way of doing this?
View Replies
View Related
Basicly I would like to know how to transfer data entered on a form one one page, to another - for example a signup:
Page one - Contains initial form
Page two - other details form ] both pages emailed through the same form.
View Replies
View Related
I am trying to take that is submitted in a form and put it into a querystring. I have a text field with the name "company_name" and has the value of <%= cCompany%> when submitted I want to take the value of the text field and send it to another page called submit.asp. then from the submit page I will append it into a table. I can append to the table fine but when I pass the value its blank. I have tried Request.Form(company_name) and Response.Write(cCompany). None of these seem to work the variable is always blank when I submit it. I can use javascript to get the value, which works correctly but cant dont think I can pass a javascript variable into a querystring.
View Replies
View Related
how come the second one has the forms lined under eachother
when the first one looks like it does?
How do i make the "boxes" in a straight line under eachother?
View Replies
View Related
I’m working on an Invoice page. The user may edit some of the vars on the page. Then The user will want to re calculate the totals. Then after seeing the re calculated totals then I will want to submit this info to the next page where the data will be put into a DB.
The question is how do I do this without using 2 forms, It looks like you can not put a form with in a form. Yet it looks like that’s the only way to be able to pass the vars iEither to the page where were calculate the vars, or the other page where we submit the data to the DB.
View Replies
View Related
i have
printerdropdown = printerdropdown & "<option value=" & rsPrinter("id") & ">" & rsPrinter("id") & " " & rsPrinter("name") & " ( " & rsPrinter("location") & " )</option>"
and want to pass two variables across my forum by selecting just the one.
i.e. rather then just passing rsPrinter("id") id also liek to pass rsPrinter("ccid")
But dont know how to without making it joined when i cann it on the next page via request.form("printerid")
View Replies
View Related
Is it possible to call ASP functions from event handlers? I am trying to find a way to have a form call an ASP function, if there is a better way let me know.
View Replies
View Related
Is it possible to create a form that will authenicate against a 2003 domain?
View Replies
View Related
A client of mine has a couple of simple contact forms on their web site and they have asked if I (their web guy) could put together an ASP Form for them as their current form is out-dated and the radio buttons don't work right.
Not only that but, they do not even have a re-direct page setup so when a prospective customer completes the form and hits "submit" the form they just submitted stays in their browser window.
I have put together html forms but, I was wondering if I could get some help with creating an ASP Form for my client with disrupting the format & layout of their current Forms?
I have checked out some ASP tutorial sites but, they really do not give you the full picture in creating a "working" ASP Form.
View Replies
View Related
how do you get the infromation from a form and put it into a database using sql .
View Replies
View Related
I am trying to create a page with a drop-down select upon it. When the user clicks on a selection I want a new frame to appear with a new URL (associated with the selection) appearing in it.
previously when I have used select I have passed the value to the new page, but this time I want to go to a different page depending on the selection.
View Replies
View Related