hi,

please can someone help? i am building a struts 1.1 based web app using 
j2sdk1.4.2 & tomcat 4.0.6. i'm using a 3rd-party tree applet for site 
navigation (a constraint specified by the client). if a user does the 
following steps - in *EXACTLY* the following order:


1) *FIRST* load http://www.thefreelancer.net:8080/soa/jsp/enterAreaToRead.do?
areaid=3. you should be taken to the error page.

2) then, load http://www.thefreelancer.net:8080/soa/jsp/mockups/index.jsp. 
you can see that the user is "logged in" by the message at the very bottom 
of the page. (simulated by instantiating a user been inside a scriptlet and 
placing it in the session)

3) then click on the "Standard Area Page" node of the navigation applet on 
the left-hand side of the page. if you've done the steps in the  above 
order, then you will have been forwarded to the error page (which  isn't 
suppose to happen because you are "logged in").

*IMPORTANT* in order to reproduce the problem i am describing, all the above 
3 steps *MUST* take place in the same browser session and they *MUST* be 
followed in the numbered order above.

the error page that appears in step 1 is meant to happen if the user *IS 
NOT* logged in, so step 1 is fine. if there *IS* a logged in user in the 
session, (which there *IS* after step 2) then the error page should *NOT* be 
appearing in step 3.

the problem is this: if a user's very *FIRST* visit to the site is the 
enterAreaToRead.do action, then - even if the user *IS LOGGED IN* - any 
subsequent attempt to execute that enterAreaToRead.do action from the 
navigation applet results in the enterAreaToRead.do action ignoring the 
logged in user which *HAS* been placed into the session in step 2. there is 
something peculiar happening where it seems like the applet is working with 
one session and the action is working with a totally different session.

*HOWEVER*, if a user's very first visit to the site is the url in step 2, 
then everything works as it should. any ideas? thanks in advance for your 
help.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to