Click here to Skip to main content
15,915,780 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: ASP page crashed if form field has ' and REPLACE word Pin
SABhatti22-Oct-07 9:23
SABhatti22-Oct-07 9:23 
GeneralRe: ASP page crashed if form field has ' and REPLACE word Pin
Guffa23-Oct-07 21:47
Guffa23-Oct-07 21:47 
QuestionWeb Serviece Error Pin
Navneet Hegde18-Oct-07 23:02
Navneet Hegde18-Oct-07 23:02 
AnswerRe: Web Serviece Error Pin
Guffa18-Oct-07 23:18
Guffa18-Oct-07 23:18 
GeneralRe: Web Serviece Error Pin
Navneet Hegde18-Oct-07 23:36
Navneet Hegde18-Oct-07 23:36 
AnswerRe: Web Serviece Error Pin
Guffa20-Oct-07 10:30
Guffa20-Oct-07 10:30 
GeneralRe: Web Serviece Error Pin
Navneet Hegde22-Oct-07 23:25
Navneet Hegde22-Oct-07 23:25 
Questioninternet explorer cannot read post data from form Pin
Now_Loading18-Oct-07 8:43
Now_Loading18-Oct-07 8:43 
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:



<%
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:





<%=Request("test")%>








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.


-- modified at 14:52 Thursday 18th October, 2007
AnswerRe: internet explorer cannot read post data from form Pin
Fred_Smith18-Oct-07 11:30
Fred_Smith18-Oct-07 11:30 
GeneralRe: internet explorer cannot read post data from form Pin
Now_Loading19-Oct-07 2:41
Now_Loading19-Oct-07 2:41 
GeneralLooking for Web Developers in Boston Pin
Judith Kane18-Oct-07 6:36
Judith Kane18-Oct-07 6:36 
GeneralRe: Looking for Web Developers in Boston Pin
led mike18-Oct-07 6:55
led mike18-Oct-07 6:55 
GeneralRe: Looking for Web Developers in Boston Pin
Vasudevan Deepak Kumar19-Oct-07 2:57
Vasudevan Deepak Kumar19-Oct-07 2:57 
Questiondownloading a file from another sys which is connected through LAN [modified] Pin
Sunil Wise18-Oct-07 0:37
professionalSunil Wise18-Oct-07 0:37 
Questionunable to add horizontal scroll bar to select tag Pin
amit4uall17-Oct-07 22:25
amit4uall17-Oct-07 22:25 
AnswerRe: unable to add horizontal scroll bar to select tag Pin
Bjohnson3317-Oct-07 22:59
Bjohnson3317-Oct-07 22:59 
GeneralRe: unable to add horizontal scroll bar to select tag Pin
amit4uall18-Oct-07 2:27
amit4uall18-Oct-07 2:27 
GeneralRe: unable to add horizontal scroll bar to select tag Pin
Bjohnson3318-Oct-07 2:37
Bjohnson3318-Oct-07 2:37 
GeneralRe: unable to add horizontal scroll bar to select tag Pin
amit4uall18-Oct-07 20:00
amit4uall18-Oct-07 20:00 
GeneralRe: unable to add horizontal scroll bar to select tag Pin
amit4uall18-Oct-07 20:26
amit4uall18-Oct-07 20:26 
GeneralRe: unable to add horizontal scroll bar to select tag Pin
Bjohnson3318-Oct-07 21:28
Bjohnson3318-Oct-07 21:28 
AnswerRe: unable to add horizontal scroll bar to select tag Pin
Bjohnson3318-Oct-07 21:17
Bjohnson3318-Oct-07 21:17 
GeneralRe: unable to add horizontal scroll bar to select tag Pin
amit4uall18-Oct-07 23:46
amit4uall18-Oct-07 23:46 
Questionchange css class of inner elements javascript Pin
tjawed17-Oct-07 13:08
tjawed17-Oct-07 13:08 
AnswerRe: change css class of inner elements javascript Pin
Guffa17-Oct-07 20:17
Guffa17-Oct-07 20:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.