ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 4th, 2009, 05:56 PM
SKMR SKMR is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2009
Posts: 1 SKMR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 50 sec
Reputation Power: 0
POST method not working

I just started working on ASP. I tried a simple code for post method but the form does not return anything.
Request.querystring and GET method works but request.form does not work.
I am using windows xp professional with sp2. Quick heal total security 2007 is installed.

Request.form.count returns 0.

I have tried possible solutions through this forum.

This is my code for demo_requery.asp

<html>
<body>
<form action="demo_requery.asp" method="post">
Your name: <input type="text" name="fname" size="20" />
<input type="submit" value="Submit" />
</form>

<%
dim fname
fname=Request("fname")
response.write(request.form.count)
If fname<>"" Then
Response.Write("Hello " & fname & "!<br />")
Response.Write("How are you today?")
End If
%>
</body>
</html>

Reply With Quote
  #2  
Old April 5th, 2010, 03:06 AM
agrajtech11 agrajtech11 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Location: US
Posts: 1 agrajtech11 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 38 sec
Reputation Power: 0
I think you should try to edit in your submit button. You should use the input button which runs ontheserver instead of html button. And in input tag you should define your method name.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > POST method not working


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap