struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Doubleday" <den...@righthandmanager.com>
Subject Unexpected login behavior in struts-example from 1.1b
Date Thu, 18 Apr 2002 14:44:22 GMT
So, I log in as "user" to the struts-example app, go to the "Edit
Subscription" page and bookmark it. (The bookmarked URL is
http://foghorn:8088/struts-example/editSubscription.do?action=Edit&usern
ame=user&host=mail.yahoo.com).

Then I log out of the application. (I verified that I was logged out-the
main menu offers a link to login.) Now I visit the bookmarked URL. At
this point I expected to be directed to the login screen, because
EditSubscriptionAction checks for an existing session with a user
attribute.

Instead, the Edit Subscription screen was displayed exactly as it was
when I had an active session. ONLY when I tried to submit the form did I
see the login screen.

Why don't I get forwarded to "Login" right away? I am confused--the code
seems to be there.
 


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message