Results 1 to 4 of 4
  1. #1

    Default ASP.net C# problem..


    its me again..I encountered another problem...Is there a way of using Request.QueryString[ "variableName" ] using the "POST" method? instead of the "GET" method? because the program i'm making needs to use to "POST" method...the program works properly when i use the "GET" method but doesnt work when i use "POST"..is there a solution to this??can anyone help??

  2. #2
    post and get have different way of extracting the data. In GET, you have to extract your data in Query_String, but in POST it's usually the STDIN, that's what I learned from CGI concepts, I don't know if it does apply the same in C#.

    just my two cents.

  3. #3
    Quote Originally Posted by shawn87chau View Post
    its me again..I encountered another problem...Is there a way of using Request.QueryString[ "variableName" ] using the "POST" method? instead of the "GET" method? because the program i'm making needs to use to "POST" method...the program works properly when i use the "GET" method but doesnt work when i use "POST"..is there a solution to this??can anyone help??
    Please tell me what you want specific scenario you are dealing with. I may be able to provide you with other workarounds. If you are dealing with the statelessness of the web, there are other ways to pass data around other than the querystring. You can use viewstate, session, etc.

    Google for 'ASP .NET State Management'.

  4. #4
    unsa diay nga software imong gamit pag-himo ug ASP.NET C# application bai?

    gamit nalang nga Request instead of Request.QueryString
    example:
    Request["someName"] instead of Request.QueryString["someName"]

    ang nakalahi sa "Request" kay pwede pwede makakuha bisan GET or POST nga method ang gamit


    yeah! bling bling men..abz'

  5.    Advertisement

Similar Threads

 
  1. ASP.net webhosting?
    By kempee in forum Websites & Multimedia
    Replies: 1
    Last Post: 04-07-2009, 01:09 PM
  2. ASP.Net: Problem on runtime checkboxes in panel
    By janjerell in forum Programming
    Replies: 1
    Last Post: 04-15-2008, 12:58 PM
  3. Replies: 4
    Last Post: 11-04-2006, 03:59 PM
  4. vb.net/asp.net
    By Drksrvnt in forum Programming
    Replies: 0
    Last Post: 08-30-2006, 01:36 PM
  5. ASP.net tutorial
    By nullvalue in forum Websites & Multimedia
    Replies: 0
    Last Post: 03-28-2006, 04:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top