Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 11th, 2005, 08:35 PM
Registered User
 
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default firefox session cookies problem

Hi,

I had written these sample codes and test it using internet explorer 6 sp1 and firefox 1.01

sessionTest1.asp
Code:
<html>
<body>
<%
response.cookies("abc")("userID") = 1234
session("test1") = "testing"
session("name") = "testAgain"
session("test2") = "Thirdtrial"
%>

<a href="sessionTest2.asp">link</a>
</body>
</html>
sessionTest2.asp
Code:
<html>
<body>
<p>test1 is <%=session("test1")%> </p>
<p>name is <%=session("name")%> </p>
<p>test2 is <%=session("test2")%> </p>
</body>
</html>
When i test on internet explorer
the sessionTest2.asp can display all the session variables but on firefox, all the session variables gone. And when i comment away the normal cookies (response.cookies)on sessionTest1.asp, both browsers can display the session variables properly. Any idea?

Rgs,

fender79






Similar Threads
Thread Thread Starter Forum Replies Last Post
Session cookies in global.asa mabelis Classic ASP Professional 7 August 4th, 2007 07:48 AM
Session Vs ASP cookies mikedeepak Classic ASP Professional 1 June 19th, 2006 12:25 PM
firefox session problem fender79 Classic ASP Professional 0 April 12th, 2005 02:51 AM
Session without cookies kumar_sampath Pro JSP 2 October 8th, 2004 10:02 AM
session management without cookies Nazu Classic ASP Professional 3 November 14th, 2003 03:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.