Ask a Question related to ASP, Design and Development.
-
victor #1
Cookies change the character code?
Hi,
I used Cookies to store username.
In a Windows98 client, I typed some Chinese characters into the login
box in login.asp. After submit, in c.asp, the username is stored in
the cookies. The original username and the one got back from the
cookies are displied in c.asp, they are different! Use WindowsXP
client will be fine.
Can you help?
login.asp, login username:
<%@codepage=936%>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<form action="c.asp" method="post">
<input name="username"><input type="submit">
</form>
</html>
c.asp, display the usernames:
<%@codepage=936%>
<%
username=request.form("username")
response.cookies("username")=username
response.write(username & "<br>") 'these two usernames are not the
same!
response.write(request.cookies("username"))
%>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</html>
victor Guest
-
This piece of code is not working for storing cookies
:( Gurus, I have a need of selecting a country name from list of countries that is displayed through a combo box control. There is also a... -
InDesign ME Character Problem! Character-Change by Printing or saving *.PS!
Hi everybody! I have some problems with ME Version. When i want to print a page with FARSI-Text in it, he changes one character! on screen he... -
#25427 [Fbk->NoF]: XML-parser fails when entity &#XX; encountered ( XX is a code of character )
ID: 25427 Updated by: sniper@php.net Reported By: sad at spider dot ru -Status: Feedback +Status: No... -
How to change Character set
Hi, I want to change Character set in DreamweaverMX, Dialog window: Edit/Preferences/Font - Font settings. But when I change setting eg. to... -
change cursor code to set based code
INSERT INTO TableA (Col1, Col2...) SELECT Col1,Col2... FROM TableB -- Andrew J. Kelly SQL Server MVP



Reply With Quote

