session problem on firefox

Joined
Jul 12, 2005
Messages
1
Reaction score
0
Hi all,

I been bothered by this problem for very long time and i hope maybe some of you can help me out. Thanks in advance.

My company website have this problem that it cannot remember the session for those user who use firefox. To make thing simple, i wrote somthing like this:

Code:

<html>
<body>
<%
Response.Cookies("SSDC")("User_ID") = 1234
session("test1") = "firefox"
session("name") = "wee"
session("enrol_id") = 654321

%>

<a href="sessionTest2.asp">link</a>
</body>
</html>



The code above will set a normal cookies as well as set some session variables. And also a hyperlink to the second page as below:

Code:


<html>
<body>
<p>session id is <%=session.sessionID %> </p>
<p>time out is <%session.timeout%> </p>
<p>Browser is <%=session("test1") %> </p>
<p>Name is <%=session("name") %> </p>
<p>enrol is <%=session("enrol_id") %> </p>
<p>cookies is <%=request.cookies("SSDC")("User_ID") %> </p>

</body>
</html>



So, supposingly when the user click the hyperlink to the second page, The second page should display all the values set in the first page. But this only true for internet explorer but not firefox. And more interesting is when i comment away the response.cookies in the first page, all the session variables can be captured.

I also sure that firefox is set to accept cookies.

Any help is appreciated. Thanks again and sorry for my poor english.


Regards,

fender79
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top