473,769 Members | 6,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cookies not working in japanese vitual folder.

I created an asp page that writes to cookies and copied it to a japanese virtual folder.

The cookie writing code is below.

first.asp
var sUserId = new String();
var sPassword = new String();
var cCookieExpiryDa te = "December 31, 2010";

sUserId = "manjunatha ";
sPassword = "password";

Response.Cookie s("ERMSUserId ") = sUserId;
Response.Cookie s("ERMSPassword ") = sPassword;
Response.Cookie s("ERMSUserId") .Expires = cCookieExpiryDa te;
Response.Cookie s("ERMSPassword ").Expires = cCookieExpiryDa te;

Created another page in the same virtual folder which displays the values of the cookies.
The cookie reading code is below

second.asp
Response.Write( "User Id : " + Request.Cookies ("ERMSUserId")) ;
Response.Write( "Password : " + Request.Cookies ("ERMSPassword" ));

I executed the first.asp and later executed second.asp. The second.asp didn't display the cookie values i have written in first.asp.
I gave an English name to the virtual folder and repeated the same process again. This time it displayed cookie values.

Can anybody tell me what is the problem and suggest a solution.

Regards,
Manjunatha
Jul 19 '05 #1
0 1155

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

Similar topics

4
2661
by: Phil Powell | last post by:
Ok now it has turned to the bizarre. In /cma/index.php, which sets the cookie: setcookie('username', $username, time() + 600); .... header("Location..."); It redirects to the TCL CGI /cma_main.cgi which in turns does NOT see the cookie name "username" ever set. I go to my /Phil/Cookies folder for the
12
1699
by: Mike | last post by:
Hello, I have been trying to get cookies to work. It seems I can get this cookie to be persistant in the browser but I want to write it to my Cookies Folder. I have tried many variations but when I look in the folder there is nothing there from my Domain. This is a simlified version but, I have tried many things. What am I missing? Yes I allow all cookies Thanks Mike
8
1214
by: Jason Shohet | last post by:
I used to recall, when i started doing .NET years ago, that cookies written in js, or .NET cookies, were placed in the cookies folder (documents & settings, cookies). Now I just see this index.dat file getting updated instead and I suspect the cookies are held in there somehow. How do you get back to normal cookies, that I can view, unencrypted etc? Is it an IE6 on XP issue...? TY jason shohet
1
1560
by: Thomas Scheiderich | last post by:
Just when you figure out one problem another one shows up. I am trying to set up authentication for one of my folders and can't seem to get it to work as advertised (I am sure I am missing something). I want to set it up as sessionless. If I can't get that to work, I would like to get the Timeout period to work correctly. Here is my web.config file:
0
981
by: Ing. Rajesh Kumar | last post by:
Hi everybody I have two local sites on my local machine. Both ask the user to log in and also have an option to remember the user. If i work only with one of these sites, everything works fine. But as soon as I log on to the other site, on the first site system logs me off. Thes are my settings: System : WinXP, .NET1.1, ASP.NET with VB.NET, SQLServer 2000 First Site : Folder : D:\TestSite1; Accessing as : http://localhost/TestSite1;...
5
2811
by: Martin Heuckeroth | last post by:
Hi We are working on a webservice application and are having some problems with the cookies and/or sessions. We have them working on our intranet but then its not working on the internet. We have been looking our asses off but can not find a working solution. the code we came up with is ...
7
2019
by: Marcus | last post by:
I know that when you start a session in PHP, the "cookie" it creates is not the same as those that are stored in your browser's temp folder, and instead is kept in RAM. I am confused because in every session tutorial I have ever read, the author invariably mentions the 2 main ways of propagating sessions - through cookies and appended to the URL. The author also almost always talks about the method being dependent on the user's...
3
4516
by: nabira | last post by:
Hi, I've a problem with cookies for MediaWiki. I'm using: - Windows 2000 server machine as server. - Apache 2.0.61 as Web Server. - PHP 5.2.4 In particular, when I try to login from a client I can't do it. I have an error message like this: "Logon Error: Access to my_web_site needs cookies been enabled in your browser".
7
10207
by: cmrchs | last post by:
Hi, In Windows Vista: where does asp.net write its cookies? I use HttpCookie objCookie = new HttpCookie("nameCookie"); in Win2000 (and later) they used to be in C:\Documents and Settings\Administrator\Cookies but not anymore
0
10222
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10050
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.