Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP!! Apache with Sun One

Status
Not open for further replies.

Eddiehui

Technical User
Jul 30, 2002
5
HK
Dear all,

I encounter a strange problem in using SunOne in our production system. My platform is Windows 2000 SP3, SunOne 3.62 running on Apache 1.3.22 with SSL. I discover that the session object is not persistent across page for the same session. I tried to test it using the following ASPs:

test.asp:
<%response.redirect &quot;test1.asp?session=&quot; & session.sessionID%>

test1.asp
<%response.write session.sessionID%>

If I run &quot;test.asp&quot;, it will redirect to &quot;test1.asp&quot;. What I expected is the session id display on the URL should be the same as the session id written out in &quot;test1.asp&quot;. However, I discover that the session id on the URL is always less than the session id written out by 2! Which means for each redirection a new session will be created by the web server.

I tried to test these pages in the same machine using IIS but it works fine (both session ids are the same). Is there any setting I've missed in configuration the Apache / SunOne?

Kind appreciate any comment since we are urgently need to fix it, our production system depends on it :~ (

Many thanks,
Eddie.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top