473,387 Members | 1,641 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,387 software developers and data experts.

internet explorer cannot read post data from form

Hello, I hope this is the right place to post, but anyways, here goes. I
current have a forum, snitz, in place, but am having an IE specific problem.
Basically what happens is, I have a page that drops a cookie which logs in
the user. This all works fine, but once the cookie is dropped ALL post method
data from forms become empty. Get works, and if I post data to a different
site it works, so the break down is reading the data from the post. Here is
the code that logs the user into the site:

<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_func_common.asp"-->
<%
dim rsUser, conn

if len(Mid(Request.ServerVariables("AUTH_USER"), Instr(1,
Request.ServerVariables("AUTH_USER"), "\") + 1)) 0 and not strLoginStatus =
1 then
set conn = Server.CreateObject("ADODB.CONNECTION")
set rsUser = Server.CreateObject("ADODB.RECORDSET")

conn.Open strConnString

rsUser.Open "SELECT m.M_PASSWORD FROM glbPermissions p INNER JOIN
FORUM_MEMBERS m ON p.id = m.M_FITS_ID WHERE p.loginName='" &
lcase(Mid(Request.ServerVariables("AUTH_USER"), Instr(1,
Request.ServerVariables("AUTH_USER"), "\") + 1)) & "'", conn

if not rsUser.EOF then
strDBNTUserName=trim(Mid(Request.ServerVariables(" AUTH_USER"), Instr(1,
Request.ServerVariables("AUTH_USER"), "\") + 1))
strEncodedPassword = rsUser("M_PASSWORD")

if strSetCookieToForum = 1 then
Response.Cookies(strUniqueID & "User").Path = strCookieURL
else
Response.Cookies(strUniqueID & "User").Path = "/"
end if
Response.Cookies(strUniqueID & "User")("Name") = strDBNTUserName
Response.Cookies(strUniqueID & "User")("Pword") = strEncodedPassword
'Response.Cookies(strUniqueID & "User")("Cookies") = Request.Form("Cookies")
if fSavePassWord = "true" then
Response.Cookies(strUniqueID & "User").Expires = dateAdd("d",
intCookieDuration, strForumTimeAdjust)
end if
Session(strCookieURL & "last_here_date") =
ReadLastHereDate(strDBNTFUserName)

strLoginStatus = 1
end if

rsUser.Close

conn.Close
end if

if Len(Request.QueryString("target")) 0 then
Response.Redirect "login.asp?" & Request.QueryString("target")
else
Response.Redirect "default.asp"
end if
%>

All the previous code does is create the cookies. The variables are declared
on one of the included pages. Once this code is executed, nothing works. I
have created a simple asp page that just reads posted data which does not
work once I use the above page:

<html>
<head>
</head>
<body>
<%=Request("test")%>

<form method="post" action="test.asp">
<input type="text" name="test" />
<input type="submit" value="submit" />
</form>
</body>
</html>

Before I log in, the above code will echo everything in the box, but after I
log in, it receives nothing. I have tested this log in feature on firefox,
and it works fine, but on ie, it just refuses to work. Hopefully someone can
shed some insight onto this, because I've been at this for 2 days, and have
made no progress.
Oct 18 '07 #1
0 1808

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

Similar topics

1
by: Apu Nahasapeemapetilon | last post by:
Hello and thank you in advance for your help. Can anyone think of a reason why this code would work properly on one PC, but not another? I've got a System.Windows.Forms.UserControl that...
9
by: Etayki | last post by:
Hi! I am new to VB.net and I am using the Visual Basic 2005 Express Edition I have two questions: 1. I am trying to write an application that will automate Internet Explorer and store data...
1
by: JohnathanKong | last post by:
Hello, I hope this is the right place to post, but anyways, here goes. I current have a forum, snitz, in place, but am having an IE specific problem. Basically what happens is, I have a page that...
2
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...

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.