I would possible embed a flag in the session and have each action check for
it's existence. if it doesn't exist, redirect them to the index page.

I always have an action before I go into a page and one to exit a page.

Regards,

Stephen.


-----Original Message-----
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: 29 August 2002 16:01
To: Struts Users Mailing List
Subject: RE: Setup globals per new session


> -----Original Message-----
> From: [EMAIL PROTECTED] 
>
> You could have an index page that automatically redirects to 
> a struts action. This action could retrieve the information 
> you require and then decide which way to direct the user.

I had thought of this option.  But that wouldn't work if the user has
bookmarked a page and went in via the 'back door' if you get my meaning.

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


-------------------------------------------------------------------------------------------

Copyright material and/or confidential and/or privileged information may be contained 
in this e-mail and any attached documents.  The material and information is intended 
for the use of the intended addressee only.  If you are not the intended addressee, or 
the person responsible for delivering it to the intended addressee, you may not copy, 
disclose, distribute, disseminate or deliver it to anyone else or use it in any 
unauthorised manner or take or omit to take any action in reliance on it. To do so is 
prohibited and may be unlawful.   The views expressed in this e-mail may not be 
official policy but the personal views of the originator.  If you receive this e-mail 
in error, please advise the sender immediately by using the reply facility in your 
e-mail software, or contact [EMAIL PROTECTED]  Please also delete this e-mail and 
all documents attached immediately.  
Many thanks for your co-operation.

BMW Financial Services (GB) Limited is registered in England and Wales under company 
number 01288537.
Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF
------------------------------------------------------------------------------------------

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

Reply via email to