Disable "hidden Name" In Code

How can I disable this, because I don't want to see in my code such mess:

<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTQ2NTk3NzQ1D2QWAmYPZBYMAgUPFgIeBFRleHQFpAk8cD48c3Ryb25nPkplaWd1IHR1IGr EhSBzdWt1cnNpLCBhciBqaWUgcGFzIHRhdmUgYXRlaXM

and

<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBALcufqyCgKv5ePqBwL38czfDgLQw732CI5SDkmlRttSZ8a30lEFXHcdhZDz" />

View Replies


ADVERTISEMENT

Hidden Code

I am totally new to ASP.Till now the i have been using php, so i will try & relate my question with php.If a page is written in php & is seen by the client browser only the html code is visible to the client if he wants to see the code.But for the person who has access to the server,he can easily see the code by viewing the file in any text editor.What i want to ask is that if i write pages in ASP is it possible in any way that the people who have access to the server are unable to view the ASP code? Something like an exe file where the person cant see the code but just use the application.I want to know this cos if i want to hide my code of a web based application located in the server is it possible to do this in ASP?As far as i know this is not possible in PHP.

View Replies View Related

Code To Disable Caching Of ASP Files

I am tryin to disable a file from loading into the user's cache as it may chnage frequently and in order for them to see tyhe most upo to date version i wanted to disalllow caching.

View Replies View Related

Hidden Value

I want to pass a hidden value from Page1.asp to Page2.asp. My Codes for Page1.asp

<TR><TD><LI>
<form action="Page2.asp" method="POST" name="form1">
<input type="hidden" name="num1" value="<%= value %>">
<A HREF="Page2.asp" title="Click here." <%=blank%>> Example</A>
</form>
<script>
document.form1.submit();
</script>
</TD></TR>

Page2.asp
Num = trim(Request.form("num1"))

But when i click on the hyperlink and is at Page2.asp. When i click the back btn on the IE, it cant bring me back to Page1.asp. It is always in a loop.

View Replies View Related

Hidden Input

I have a simple problem :

When I try to pass a variable via an hidden input and it contain a word with a space (ex :The Wall), only the first part is sent(ex: The).

<INPUT TYPE=HIDDEN NAME="Charge" VALUE=<%=Charge%>

View Replies View Related

Passing A Hidden Value

passing a hidden value to a querystring via a form. It is not working correctly because when I submit, it will go to calendar.asp?date= instead of calendar.asp?date=12/13/2004.

Here's the code for the hidden value:

<input type="hidden" name="CURDATE" value="<%=dtCurViewMonth%>">

This code works because I have already tested. The value was correct.Here's the code for submitting the hidden value (this is the line of code that I need help with):

<form name="frmCalendar" action="Calendar.asp?date=<%=CurDate%>" method="POST">

View Replies View Related

Hidden Visible

how to make an onmouseover:visible area in the page? i mean ie. i have an output page, and list of datas from database. i want buttons releated its appear when i get my cursor over area of any data. but my buttons are called from includes file.like this:Code:

<td><%if session("isUserLogin") then%>
<%select case cint(session("userLevel"))%>
<%case 10%>
<!--#include virtual="/includes/data.buttons.10.inc.asp"--><%case 15%>
<!--#include virtual="/includes/data.buttons.15.inc.asp"-->
<%end select%><%end if%></td>

View Replies View Related

Hidden Text Box

I building online forms for our new client acceptance forms. The first page has 35 fields, the second page has 20, and the third has 8. My question is how is the best way to move the data from page 1 to page 2 then pages 1 and 2's data to page 3? Should I use hidden text boxes or write them to a temporary table then move them once the form is submited? Network traffic is not an issue.

View Replies View Related

Send Hidden Value

how to send hidden value to more than one page.

View Replies View Related

Hidden Process

when i call for a asp page i c some process still running in the status bar. but when i click on the same link again, i could not find the process. it happens alternatevely.why is this happening? how to prevent?

View Replies View Related

Get Hidden Value From A Iframe

I need your help for this:

<script language="javascript" >
var getvalue

getvalue = top.markcountframe.document.hiddenform.element[0].value;

</script>

<iframe src="" width=480 height=0 center name="markcountframe" scrolling="no">
<form name = "hiddenform" >
<input type= "hidden" name="count" id="count"
value=<%=defaultStr%>>
</form>
</iframe>

How to make this work?

View Replies View Related

Hidden Fields

When I create a form with hiddenfields and then view it in an ASP web page the following shows where the hiddenfields are on the form- "> -this appears for every hiddenfield is there anyway these can be hidden from view on the web page.

View Replies View Related

Using Hidden Fields

how can i set the value of a hidden field at run time in my page? how can it be done in scriplets (<%%>). the second issue is that if we define a function using javascript, how can it be called at any place.

we don't want to call that function at any event but instead want to call that function every time or on validating an if condition.

View Replies View Related

Checkbox Disable

if i want to display many records from database with each record has one checkbox.. if the record do not meet the constraints.. e.g. if supplier name has no email address.. then that checkbox will be disabled....the rest will appear.. i tried the disabled/// but no result.

View Replies View Related

Option Disable Value

how extract previews option value disable from script.

View Replies View Related

Alert And Disable

How can I check if the file is an JPG within my form??
If the file is JPG then the submit button should be enable, if not the
submit button should be disable

View Replies View Related

Disable Explorer

I would like to open up explorer without any of the top menu.

View Replies View Related

Disable A Link

Can anyone please help me how to disable a link when i submit a form. I am using <a> tag for the link. I dont know how to do it.

View Replies View Related

Disable A Controls

I am just learning asp and I have a question. Is it possible to disable a control that is on one page from another?

For example, I have a control on "Control.asp" and I want to disable it from "Sample.asp"? Is that posible? If it is, how is it done?

View Replies View Related

How To Disable Button

disable button if no conditions are met. how to do it in asp?

View Replies View Related

Disable Button

I have a page that updates/deletes user records. I made the mistake of thinking that because admin's use it, that I didn't have to make it stupid proof.How do i enable/disable submit buttons based on a radio button selection? or what would be the best way of prompting a "are you really sure you want to delete this record?"I'm not finding much info with being able to do this in vbscript.

View Replies View Related

Disable An Input Box

I'm using an input box in a form

(<INPUT TYPE="SUBMIT" NAME="btnLocation" CLASS="btnLocation" value="<%=btnString%>">).

Is there a way to put this button in a disabled state, where it can't be clicked? I've tried adding an "enabled" property, but that doesn't work. I've even tried "visibility" property, but the input box doesn't seem to support that either.

View Replies View Related

Disable Submitbutton With Asp

I am trying to disable submit button after user submits the form.

View Replies View Related

Disable IE Header

I am trying to print HTML page from Internet explorer. In default IE prints header and footer when you print HTML page, I just want to disable those header and footer while printing my page...not permanently.

View Replies View Related

Function Hidden Fields

Can I add a function to a hidden field to get the value of that field?

View Replies View Related

ASP / Hidden Text Box Issue

I am having a really strange issue. I have a few users calling in
saying they are getting an error. On further review I found this line is
what is causing it...

Set strLookup = cnAddStep.Execute ("SELECT * FROM ActionSteps WHERE
planId = '" & intPlanId & "' ORDER BY stepId DESC")

The exact peice causing it is intPlanId. For some reason the form
request isn't getting the ID.

intPlanId = Request.Form("hdnPlanId")

intPlanId is populated from a hidden text box in the previous page. But
only on a very few users machines will the post not occure. Any ideas?

View Replies View Related

Parse Hidden Variable

i hav drop down menu wif 6 titles. this is populated using the Table Grade.
Now for example, im selecting Senior, which has the ID 4. how do i parse the ID thru when pple select the title? it must be hidden

View Replies View Related

Using Sessions Within Hidden Fields

I have a product ordering process that passes information between 3 asp pages using web forms.

I am attempting to set a session on form2.asp with data entered into form1.asp . This session is then displayed.
I then wish to use this session value within a hidden field on form3.asp as follows

<input type="hidden" name="productname" value="<% Session ("productname") %>" >

This hidden field value is not being parsed in formmail.pl - any suggestions why this will not work?

View Replies View Related

Input Type Hidden

i need to track the source of a page which user browses ex: aboutus.html, contactus.html in which there is a link to enquiry.php where a user fills out a form. so i need to track which page the user originally came from(aboutus.html or contactus.html)

presently i am using enquiry.php to track the previous page with the following code

<input type='hidden' name='fromPage' value='<?php print $_REQUEST['fromPage']; ?>' />

i need to know what is the syntax in ASP for the above statement so that i can read the hidden value into a variable called source using Request.Form and later i can read this source variable in php

View Replies View Related

Hidden Form Action

Is there a way with ASP or Java to hide the form action part of a form? I have someone that has found the location of a script by looking at the source of one of my forms.

They run some type of script that trys to post bogus info from 6:00 in the morning till 12:00 in the afternoon. Although it gets denied due to wrong input by the user, it sends administrative emails that are annoying (hundreds). If the user only saw the client side (below), they could not do it. Is there a way? Code:

View Replies View Related

Pass Hidden Values In ASP

We are integrating 3rd party s/w which would process online
transactions.

this product would require that we pass some sensitive information over
the web, using FORM-POST-Hidden fields method. On viewing source this
page we are able to see this info. To overcome this - steps followed.

PageA.asp - collect information, exists on our server
PageB.asp - request info from PageA.asp, append sensitive information,
automatically POST to client server - this code exists on our server.

The issue arises that while connecting from PageB.asp to client server,
there is a little delay which shows the hidden page.

View Replies View Related

Hidden Fields Are Visible

I have a form in which if i check one checkbox it makes 2 textboxes invisible. Thats working fine.( I am using java script to perform this)Now when user fill the form and hit submit and if some required field is missing than it forces the user to go back to form and complete it.
While going back it retains all the values for all the fields.It also retails the checkboxs but even though the checkbox is checked now but textboxes which should be hidden are visible.

View Replies View Related

Hidden Data In Hyperlink

I have a set of asp hyperlinklinks on my asp pages which direct the user to specific products.i.e. the link jumps to ....../product.asp?product=productA&ID=1
is there anyway to still carry over the ID, but hide it from the link,so that visitors will only see

/product.asp?product=productA

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved