Session Problem

6 views
Skip to first unread message

Nishant Gupta

unread,
Aug 5, 2011, 1:48:36 AM8/5/11
to newidea_or...@googlegroups.com
Guys,

I want to implement a mechanism where in the application is automatically directed to an error page, when the user session expires.

Any Ideas guys ?

Thanks & Regards,

Nishant Gupta,
Developer (TCS-Apple)
nishant_gupta @ im.apple.com )

Shailendra shail

unread,
Aug 5, 2011, 2:17:14 AM8/5/11
to newidea_or...@googlegroups.com
This can be achieved via Reverse AJAX. You can use

Piggyback machanism
"As the name suggests, it is the piggy backing of new data on top of an unrelated response to a client’s request. When new information arrives at the server it is stored until the client next makes a request to the server. When the server replies to the request it also adds all the new information which was updated.

We know HTTP protocol is synchronous and stateless. AJAX saves us from synchronous to server and user doesn’t lock down there. But how to solve the “server-push” issue? Good news is Servlet 3.0 is included."


Our Gmail &  Gtalk use this method for 'Server Push'

Note: I think on this topic Mr. Dheeraj Bhushan can give more information as he has implemented in his CRM Project.

I would like to request to mr. dheeraj to provide some more information about this.


-Shail




--
You received this message because you are subscribed to the Google
Groups "Technical Discussion" group.
To post to this group, send email to
newidea_or...@googlegroups.com
To unsubscribe from this group, send email to
newidea_or_techn...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/newidea_or_technical?hl=en



--
Shailendra Kumar shail

Reply all
Reply to author
Forward
0 new messages