Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Handle session time out when resorting / navigating grid
21/10/2009
16:21
Avatar
betty
Member
Members
Forum Posts: 22
Member Since:
24/06/2009
sp_UserOfflineSmall Offline

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.

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.

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't seem to work this time (works in other servlet page). Such as,

if (userSessionHelper == null)

{

    //response.sendRedirect("/session_timeout.html");

    response.sendRedirect("http://google.com");

}

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.  So the specified redirect page could not got redirected, I guess.

I appreciate if anybody have suggestions, or example of handling the similar situation?

Betty

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
50 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information