karnatis
Sep 30th, 2009, 05:42 PM
Hi All,
I'm using AMFChannel to communicating Spring DAO from flex user interface(UI). Everything is working good, I'm able to send requests from Flex and it is calling Spring DAO for getting values.
I'm having following code for communicating with Spring DAO in Flex
var amfChannel:Channel = new AMFChannel("my-amf","http://localhost:7001/flexbb/spring/messagebroker/amf");
var amfChannelSet:ChannelSet = new ChannelSet();
amfChannelSet.addChannel(amfChannel);
this.ro.channelSet = amfChannelSet;
With above ro(remote object) variable, I'm making calls to spring beans.
Now, say I configure session timeout in web.xml file to 20 min, when user leaves web page for more than 20 minutes(in-active) upon for next request from this user I'd like to display login page, how to do this using BlazeDS?
Session timedout will be happening in server side so every request coming from flex channel we need to check server session for this user and we need to display login page in case of session timedout. What changes we need to make for doing this functionality.
Thanks in advance.
Regards,
Sharath.
I'm using AMFChannel to communicating Spring DAO from flex user interface(UI). Everything is working good, I'm able to send requests from Flex and it is calling Spring DAO for getting values.
I'm having following code for communicating with Spring DAO in Flex
var amfChannel:Channel = new AMFChannel("my-amf","http://localhost:7001/flexbb/spring/messagebroker/amf");
var amfChannelSet:ChannelSet = new ChannelSet();
amfChannelSet.addChannel(amfChannel);
this.ro.channelSet = amfChannelSet;
With above ro(remote object) variable, I'm making calls to spring beans.
Now, say I configure session timeout in web.xml file to 20 min, when user leaves web page for more than 20 minutes(in-active) upon for next request from this user I'd like to display login page, how to do this using BlazeDS?
Session timedout will be happening in server side so every request coming from flex channel we need to check server session for this user and we need to display login page in case of session timedout. What changes we need to make for doing this functionality.
Thanks in advance.
Regards,
Sharath.