<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Handle session time out when resorting / navigating grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/handle-session-time-out-when-resorting-navigating-grid</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/handle-session-time-out-when-resorting-navigating-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>betty on Handle session time out when resorting / navigating grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/handle-session-time-out-when-resorting-navigating-grid#p10970</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/handle-session-time-out-when-resorting-navigating-grid#p10970</guid>
        	        	<description><![CDATA[<p>I have a session_timeout.html, which got redirect to when session timed out. I have not figure out the way to handle the following jqgrid session time out scenario.</p>
</p>
<p>For example user generated a report with 25 records and the setup was 10 records per page. Then the user left with 1-10 records displayed in jqgrid. After a long time (session timed out), the user came back and tried to see 11-20 records by clicking the navigation bar.</p>
</p>
<p>I have grid.jsp (user interface grid setup) and gridXMLData.jsp (data handling). In gridXMLData.jsp, I have some logic checking and then a redirect to session_timeout.html may be performed, but it doesn&#39;t seem to work this time (works in other servlet page). Such as,</p>
<p>if (userSessionHelper == null)</p>
<p>{</p>
<p>&#160;&#160;&#160; //response.sendRedirect("/session_timeout.html");</p>
<p>&#160;&#160;&#160; response.sendRedirect("http://google.com");</p>
<p>}</p>
</p>
<p>I am thinking the reason may be the design of jqgrid. In grid page, a url is specified for data processing, which is gridXMLData.jsp in my case. And then the result set always post back to grid.&#160; So the specified redirect page could not got redirected, I guess.</p>
</p>
<p>I appreciate if anybody have suggestions, or example of handling the similar situation?</p>
</p>
<p>Betty</p></p>
]]></description>
        	        	<pubDate>Wed, 21 Oct 2009 16:21:28 +0300</pubDate>
        </item>
</channel>
</rss>