PC Review


Reply
Thread Tools Rate Thread

Can i set the request parameter in asp.net

 
 
Navaneet
Guest
Posts: n/a
 
      22nd Nov 2007
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("addCustomCD")) = "1" then
--
--
end if
At the end of this if, i need to set addCustomCD to 0.

Thanks,
-Kumar N
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SHVzYW0gQWwtQScnYXJhag==?=
Guest
Posts: n/a
 
      22nd Nov 2007
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("addCustomCD")) = "1" then
> --
> --
> end if
> At the end of this if, i need to set addCustomCD to 0.
>
> Thanks,
> -Kumar N
>

 
Reply With Quote
 
Marc Gravell
Guest
Posts: n/a
 
      22nd Nov 2007
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
 
Reply With Quote
 
Vincent A.
Guest
Posts: n/a
 
      22nd Nov 2007
On 22 nov, 13:38, Navaneet <tonavan...@gmail.com> 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("addCustomCD")) = "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("addCustomCD") parameter ? It may be
simplier.
Session parameter can be get and set.

Vincent.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd Parameter request in Crosstab AccessKay Microsoft Access Queries 4 23rd Mar 2010 06:57 PM
Multiple request for parameter value. howie Microsoft Access Reports 2 8th Jul 2009 06:44 PM
Request for Parameter - where coming from? =?Utf-8?B?Sm9obiBIIFc=?= Microsoft Access Reports 5 20th Apr 2005 11:25 PM
Request parameter =?Utf-8?B?THVib21pcg==?= Microsoft ASP .NET 1 8th Mar 2005 10:29 PM
Never-Ending Parameter request! MariK Microsoft Access Reports 9 26th Jan 2004 10:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:02 AM.