asp isobject check and timeout

MattLorieah

New Member
i have this skratch of code that manage the user session:\[code\]if IsObject(Session("operator")) then Set operator = Session("operator") operatore_id = operator.Item("id")else response.redirect "controller.asp"end if\[/code\]before this i have set the Session.Timeout = 30, but after about a couple of minutes, the user get redirected to "controller.asp" as if the session("operator") isn't prsent anymore.any advice to prevent this? i would like to let users remain "logged" as much as possble, becouse most times they have to write lot of text and most of the time they get redirected when they try to save the work.any advice?
 
Back
Top