Article View: aus.computers.java
Article #209Help Please! Cookies working with NT, but not linux?
From: anthony
Date: Sun, 19 Aug 2001 12:02
Date: Sun, 19 Aug 2001 12:02
39 lines
2204 bytes
2204 bytes
Help Please...
This code works fine with Personal Web Server and www.brinkster.com (a FREE
NT-based
web host), but not under my web hosting (they use some version of Linux).
Any ideas why? Do I have to do something different when working with
something other
than NT?
Thanks in advance!
-anthony
==================================================
<%
if (request("REQUEST_METHOD") = "POST") then
Dim userinput
nick = request("userinput")
response.cookies("userinput") = nick
end if
%>
<%
if request.cookies("userinput") = "" then
response.write "<BR><FORM NAME='message' METHOD='POST'
ACTION='index.asp'><INPUT TYPE='text' NAME='userinput' Size='25'
MAXLENGTH='25'><BR><INPUT TYPE='SUBMIT' VALUE='Set ccmail'>"
end if
%>
Technical Details
Message-ID:
<DVNf7.131308$Xr6.721564@news-server.bigpond.net.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a872,cb1ecaae0351b037,start X-Google-Attributes: gid10a872,public X-Google-Thread: 10d6db,cb1ecaae0351b037,start X-Google-Attributes: gid10d6db,public X-Google-Thread: 105516,cb1ecaae0351b037,start X-Google-Attributes: gid105516,public X-Google-Thread: 10b423,cb1ecaae0351b037,start X-Google-Attributes: gid10b423,public X-Google-ArrivalTime: 2001-08-19 05:02:45 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail From: "anthony" <lhampshi@bigpond.net.au> Newsgroups: aus.computers.java,microsoft.public.ado,microsoft.public.inetsdk.programming.scripting.vbscript,microsoft.public.scripting.vbscript Subject: Help Please! Cookies working with NT, but not linux? Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: <DVNf7.131308$Xr6.721564@news-server.bigpond.net.au> Date: Sun, 19 Aug 2001 12:02:43 GMT NNTP-Posting-Host: 61.9.185.209 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 998222563 61.9.185.209 (Sun, 19 Aug 2001 22:02:43 EST) NNTP-Posting-Date: Sun, 19 Aug 2001 22:02:43 EST Organization: BigPond Internet Services (http://www.bigpond.net.au)