[jboss-user] [JBoss Seam] - session problem

pan.pur@gmail.com do-not-reply at jboss.com
Thu Sep 13 03:05:45 EDT 2007


hi... i'm still new to seam

i made simple crud application
everything works fine
except that when i logged out from insert form and then pushed back button in the browser and then execute the process(persist),
seam allowed it to persist the data to db  
i thought session is destroyed when i invoked identity.logout

anyway i wrote the following code to pages.xml to overcome this problem


  | 	<page view-id="*">
  | 		<navigation>
  | 	   		<rule if="${not identity.loggedIn}">              
  | 	    		<redirect view-id="/login.xhtml"/>   
  | 	    	</rule>
  | 	    </navigation>
  | 
  | 	</page>
  | 

but that code only works for links without action attribute

please help, thank's in advance 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083790#4083790

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083790



More information about the jboss-user mailing list