Can i set the request parameter in asp.net | Bytes (2024)

Home Posts Topics Members FAQ

Navaneet

Hi,

I need to set a request parameter, is it possible?
If yes, how?

Actually i have a sever side code(in vb) like.
if trim(request("a ddCustomCD")) = "1" then
--
--
end if
At the end of this if, i need to set addCustomCD to 0.

Thanks,
-Kumar N

Nov 22 '07 #1

Subscribe Reply

3 Can i set the request parameter in asp.net | Bytes (1) 9300 Can i set the request parameter in asp.net | Bytes (2)

Marc Gravell

You can't change the request. The VB code you compared to simply reads
the request, which isn't the same thing. Perhaps either redirect, or
set some cookie / session token to avoid repeats.

Marc

Nov 22 '07 #2

=?Utf-8?B?SHVzYW0gQWwtQScnYXJhag==?=

does this help ?

http://www.thescripts.com/forum/thread176964.html
Cheers,
Husam Ala'araj
www.aaraj.net

"Navaneet" wrote:

Hi,

I need to set a request parameter, is it possible?
If yes, how?

Actually i have a sever side code(in vb) like.
if trim(request("a ddCustomCD")) = "1" then
--
--
end if
At the end of this if, i need to set addCustomCD to 0.

Thanks,
-Kumar N

Nov 22 '07 #3

Vincent A.

On 22 nov, 13:38, Navaneet <tonavan...@gma il.comwrote:

Hi,

I need to set a request parameter, is it possible?
If yes, how?

Actually i have a sever side code(in vb) like.
if trim(request("a ddCustomCD")) = "1" then
--
--
end if
At the end of this if, i need to set addCustomCD to 0.

Thanks,
-Kumar N

Why don't you use Session("addCus tomCD") parameter ? It may be
simplier.
Session parameter can be get and set.

Vincent.

Nov 22 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3 1976

forward the request to a window with specific parameters (please help)

by: jrefactors |last post by:

page0.asp->page1.jsp When the user click submit button in page0.asp, it will post the form request to page1.jsp. page0.asp and page1.jsp are in separate machines. In page1.jsp, based on the parameter interfaceName, it will forward to different jsp pages. However, we want to forward the request to a window with parameter like the following, without the menu bar and toolbar.

Javascript

3 45976

Can Javascript access request object? Need to persist data

by: news.rcn.com |last post by:

How can I access the request and response object for a page using javascript. I want to stick some data on with something like request.setAttribute( "User's choice for later use" ). I can't seem to find a reference to request or response objects in JavaScript either in Google Groups or O'Reilly's "JavaScript the Definitive Guide" (surely it should be in the latter, huh?) I know I could use a hidden form element but the data would be a...

Javascript

4229

"MSXML2.ServerXMLHTTP" add 'HTTP' in front of all request parameter

by: Sia Jai Sung |last post by:

Hi, I need to write a ASPX file that will post some request to other party (web service written in java), here is my code, <%@ Page aspcompat=true %> <% Dim xml, url

.NET Framework

1074

Simple POST request of .net web service

by: ClydeL |last post by:

I am trying to access a .net web service from c++ code using xmlhttprequest. It works fine for methods that don't take parameters. I get the same (correct) response for parameterless methods that I get when accessing the asmx page through the browser. For a method that takes a parameter, the browser shows a HTTP-POST request including a parameter, 'aInput=string'. No matter how I implement the request parameter of the...

.NET Framework

2524

Page Load event, Request Form, and controls

by: Frank 'Olorin' Rizzi |last post by:

Hello everyone. This is quite convoluted, but I'll try to make it simple. I have a couple of bottom-line questions (I guess): 1~ what happens between the Page_Load routine in the code behind of an aspx page and the presentation of the page to the user? 2~ is it true that the engine takes data from the Request.Form and puts them

ASP.NET

8 2103

Request Object

by: Angel |last post by:

I am trying to access in Javascript within an ASP.NET web page the Request Object. I am specifically trying to access the values in the Request.QueryString. When I try to access the values I get an error specifying that the Request object is undefined... The Jscript code is as follows: alert(Request.QueryString("CASE")); In any thoughts or am Is my syntax incorrect. I need to be able to access the QueryString from within jscript...

ASP.NET

8 3086

Request.form("max")

by: abcd |last post by:

I can get the value on the form at the server side by using Request.form("max") when max field is disabled I dont get value. For GUI and business logic purpose I have disabled some fields with the values, but when I update Request.form does not return me anything for disabled fields. How to read disabled fields at the server side

ASP / Active Server Pages

3 1726

request parameter names

by: Davy |last post by:

I 'd like to print out all posted parameter names and values. I'm able to print all the posted request values, but not the parameter names. any suggestions? thanks in advanced Davy

ASP / Active Server Pages

4753

SoapClient: __doRequest doesn't get XML SOAP Request in its $request parameter?

by: Florian Laws |last post by:

Hello, to work around an interoperability problem with the PHP5 SOAP extension, I'd like to modify the generate XML SOAP request. (as described in http://www.schlossnagle.org/~george/blog/index.php?/archives/235-Salesforce.com-and-PHP.html ) To acheive this, I subclass SoapClient and overwrite the __doRequest() method. According to the PHP documentation and the article above, the

PHP

9325

What is ONU?

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...

General

9152

Changing the language in Windows 10

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,...

Windows Server

9930

Problem With Comparison Operator <=> in G++

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...

C / C++

9716

Maximizing Business Potential: The Nexus of Website Design and Digital Marketing

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...

Online Marketing

9571

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

by: tracyyun |last post by:

Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...

General

1 7116

Access Europe - Using VBA to create a class based on a table - Wed 1 May

by: isladogs |last post by:

The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...

Microsoft Access / VBA

6410

Couldn’t get equations in html when convert word .docx file to html file in C#.

by: conductexam |last post by:

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

C# / C Sharp

5180

Windows Forms - .Net 8.0

by: adsilva |last post by:

A Windows Forms form does not have the event Unload, like VB6. What one acts like?

Visual Basic .NET

2 3185

How to add payments to a PHP MySQL app.

by: muto222 |last post by:

How can i add a mobile payment intergratation into php mysql website.

PHP

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisem*nts and analytics tracking please visit the page.

Can i set the request parameter in asp.net | Bytes (2024)
Top Articles
Latest Posts
Article information

Author: Dong Thiel

Last Updated:

Views: 5924

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Dong Thiel

Birthday: 2001-07-14

Address: 2865 Kasha Unions, West Corrinne, AK 05708-1071

Phone: +3512198379449

Job: Design Planner

Hobby: Graffiti, Foreign language learning, Gambling, Metalworking, Rowing, Sculling, Sewing

Introduction: My name is Dong Thiel, I am a brainy, happy, tasty, lively, splendid, talented, cooperative person who loves writing and wants to share my knowledge and understanding with you.