473,413 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Request objects working fine locally on IIS, but not on my live site

I'm cannot seem to get my request objects posted from a form on a
previous page to show up on the page I'm posting to. When I try it
locally on my IIS webserver, it works fine. But the form posting does
not seem to work when I do it live (on Windows 2000). Below is the
series of statements I'm using.

<%' QUERY POST stuff
dim req
if request("DBCode") = "LY-YrToDate" or request("DBCode") = "YrToDate"
then
req = 1
elseif request("DBCode") = "LY-Last8wk" or request("DBCode") =
"Avg(YrTD-LY)" or request("DBCode") = "Rolling-6wk" then
req = 2
end if
'''''''''''''sql ''''''''''''''''''''''''
dim sqlstr
sqlstr = "SELECT season,gameweek,dbcode,gamedata FROM tblNFLGameData
WHERE season = '" & request("season") & "' and gameweek = '" &
request("gameweek") & "' and DBCode = '" & req & "'"

Set rf = Server.CreateObject("ADODB.Recordset")
rf.Open sqlstr,sqlc,3
''''''''''''''''''''''''''''''''''''''''''
'get date from the week queried
'dim datsunday, datgamedate
'datgamedate = rf("gamedate")

%>
<%
If rf.BOF and rf.EOF Then
response.write "<b><h3>There are no games for this query!</h3></b>" &
req & "?" %>

As you see, I am testing the output of the variable "req" in my
response.write . The variable (either 1 or 2)shows up fine when doing
this locally on IIS, but the variable, or the posted data, doesn't show
up when doing it live. I even tried using Request.form("myvariables")
object.

???
Muench

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
0 1282

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

Similar topics

8
by: turnit \(removethis\) | last post by:
I have a login form that uses the post method to carry the information to the next page. The form works just fine in ie6.0, but fails in mozilla and fails in ie5.2 on a mac. "HTTP/1.1 400 Bad...
38
by: Radi Radichev | last post by:
Hi! I'm making a database application and i heard from a friend that it is more proffecional and easy to do this with bussines objects. Can anyone tell me where i can find more info on bussines...
4
by: Trond Meistad | last post by:
I have a website where I run a simple asp.net web application. On Sunday night, requests to this webapplication started to time out. After much debuggeing with no result, I created a new...
8
by: Brad Simon | last post by:
I have written a shopping cart using ASP .NET (VB). It has been running quite successfully on a site for about a year or so. I use the SessionID as the key to hold information on the shopping...
2
by: John Wilson | last post by:
I have an application that can access data both locally and through web services (it may be working in a disconnected mode). I have defined my data objects (e.g. ObjectA) in a separate component...
2
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. ...
6
by: Guy Thornton | last post by:
I have an application in asp.net using vb. The asp.net portion of this application is mainly the user interface. The UI has references made to our business logic layer. And the business logic...
5
by: BSM | last post by:
Hi, I have used some validator controls in my project and itz working fine in developement enviro. But it does not work in the Live site. Help me to solve this issue. bsm
4
by: BT | last post by:
I just started working with some Server Side Includes to streamline a website that I inherited. I think that I've got the SSI stuff figured out, but it is a pain to work on. When I edit an SSI, I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
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...
0
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...

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

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.