473,732 Members | 2,201 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cookies problem on Win2003 Eng + IIS 6.0

I have a demo app where cookies does not work.
The first page create a cookies. The second read the contet.
If I browse the pages via IE6.0 the pages does not work.
If I browse the pages via FireFox the pages work fine.
************ SetCookies.asp
<%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ARXiva r Test - Generazione Cookies</title>
</head>

<body>
<form name="Test" action="./SetCookies.asp" >
<strong>Pagin a di generazione Cookies</strong><br><br>
<input name="GeneraCoo kies" type="submit" value="Genera Cookies »">
</form>
<%
If Request("Genera Cookies") <> "" Then
Response.Cookie s("Nome").Pat h = "/"
Response.Cookie s("Nome") = "Claudio"
Response.Cookie s("Nome").Expir es = DateAdd("h", 4, now) 'Date + 1

Response.Cookie s("Cognome").Pa th = "/"
Response.Cookie s("Cognome") = "Maccari"
Response.Cookie s("Cognome").Ex pires = DateAdd("h", 4, now) 'Date + 1

Response.Write( "Cookies generati")
Response.Write( "<br><br><a href='./GetCookies.asp' >Clicca qui per leggere
il contenuto dei cookies</a>")
End If
%>
</body>
</html>
************ GetCookies.asp< %@LANGUAGE="VBS CRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ARXiva r Test - Lettura Cookies</title>
</head>

<body>
<strong>Contenu to dei cookies:</strong><br><br>
Nome: <%=Request.Cook ies("Nome")%>
<br>
Cognome: <%=Request.Cook ies("Cognome")% >
</body>
</html>

Jan 31 '06 #1
0 1708

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

Similar topics

0
1517
by: Scott Townsend | last post by:
We are trying to get the Microsoft ASPFileUpload to work on both Win2003 and Win2000 http://support.microsoft.com/default.aspx?scid=kb;en-us;q299692 We can now get large and small files on our Development machine. (Win2003 IIS6) Though now that we have posted it to the Production server we cant seems to upload small files. The Production machine is a Win2000 IIS5 machine. It can take large files just fine. The Small files are what...
0
1390
by: Randy | last post by:
Hi all, I'm a developer on the database backend and need to figure out how to get a c++ .net executable to run on a win2003 server. The executable transfers data between oracla and sql server for datawarehousing. I dont know much ..net. It works fine on win2000 and my group has set up another win2000 server and migrated to that one OK. On the win2003 the error in the log file is this : ERROR: Run_Spec_ADO_Curs::get_curr: caught...
5
3127
by: Frank Borell | last post by:
I'm having a problem retrieving the ShortName from a file that was written by a MAC and only from a Windows 2003 server. I realize the file has a space after it, but I can retrieve the short name from Windows XP and 2000; >>>print win32api.FindFiles(process_source_dir + "*") Excluding the results from "." and "..", it returns: (32, <PyTime:10/13/2005 8:12:12 PM>, <PyTime:10/13/2005 8:41:40 PM>,
1
4893
by: Jody Gelowitz | last post by:
We are having an issue in that when trying to read a file that is on Server2 from Server1 (through our ASP.NET project), we receive the error: Access to the path "\\Server2\MyShare\MyFile.tif" is denied. Here is the server setup that we have: Dev - Development Computer on WinXP Pro SP2 (IIS5), VS2003 developing under .NET Framework 1.1 Server1 - Web Server on Win2003 Server (IIS6) Server2 - File Server on Win2003 Server
4
1340
by: Adrian Parker | last post by:
I have a web app that has one problem when deployed on win2003 but works fine on win2k. On a page, I have a button that causes a reload of the page with a different set of querystring values (to move to next week) the codebehind the button just says Response.Redirect("mypagename.aspx?year=2005&month=11&day=21")
2
1318
by: the friendly display name | last post by:
Easy to describe that problem: The cookies will be deleted after the user closes the browser, but I have set persistance to true. Code: ------ TicketForPremium = new FormsAuthenticationTicket(1, UserID, DateTime.Now, DateTime.Now.AddHours(10), true, "1"); TicketForPremiumCrypted = FormsAuthentication.Encrypt(TicketForPremium); Response.Cookies.Add(new HttpCookie(FormsAuthentication.FormsCookieName,
1
1252
by: Meya-awe | last post by:
Hi, I have a C# program which creates a FileSystemWatcher and sets IncludeSubdirectories property to true with filter set to "*.txt". The program runs fine under WinXP but in Win2003, it does not always work. specifically another program is writing into the directory being monitored by my app. When i do a copy from command prompt into the directory, my app picks it up. But when the other app writes a file into the directory being...
2
1503
by: Don Rich | last post by:
Please share with me any ideas you may have for troubleshooting and resolving the subject problem. I can give more details as necessary. (Please advise if I should post this problem to a more specific group.) Here's the situation in a nutshell. We're using WinXP Pro workstations configured to a common standard on a nation-wide intra-network and we recently migrated one operation involving networking with a WinNT server (with...
4
2133
by: Khafancoder | last post by:
Hi guys, we are developing a webapplication which let user create their own virtual website on their real domain. in other word, users could create their virtual web-sites by this application and app will recognize each website by its domain. we needed a passport system (like .Net Passport) to identify users in all of these virtual web-sites (& various domains)
0
9447
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
9307
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...
1
9235
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9181
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...
1
6735
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
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
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
2180
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.