Classic asp paging and session state

Posted by flavour404 on Stack Overflow See other posts from Stack Overflow or by flavour404
Published on 2010-05-27T23:50:18Z Indexed on 2010/05/27 23:51 UTC
Read the original article Hit count: 183

Filed under:
|
|
|
|

Hi,

Working on a classic asp page that uses paging. The error I am having a problem with is this: Lets say that you have 5 pages returned in your record set and you are on page 2. You leave and come back, you then press the link for page 3, the trouble is your session has timed out. I don't know why this happens but the page is reloaded, but the session check is bypassed and of course when the page attempts to retrieve the record set the session variables are now empty so I am getting a message stating: error near ',' line 1, because now the query is defunct. How do I get around this?

Thanks, Ron.

© Stack Overflow or respective owner

Related posts about asp

Related posts about visual