Last post Jun 30, 2011 08:28 AM by link_it
Jun 30, 2011 03:31 AM|link_it|LINK
Okey... I'm out of ideas, don't know how to do this. This is the first time I'm doing session timeouts and I'm really not so clued up on this. It pics up when the session ends but It's giving me an error when I try to redirect to the login form... No Idea
why... This is what I've tried:
void Session_End(object sender, EventArgs e)
Can anybody tell me what I'm doing wrong? or help me in the right direction... please....
This is the error that I get: Response is not available in this context.
Jun 30, 2011 03:52 AM|Yousef_Jadallah|LINK
Try to use
Jun 30, 2011 03:56 AM|link_it|LINK
It gives me an error: Object reference not set to an intance of an object...?
Jun 30, 2011 06:01 AM|Yousef_Jadallah|LINK
I've searched and figured out that we can't use response.redirect in Session_End,
because it is firing internally by the server.
You can find this link I think it will help you
Jun 30, 2011 08:28 AM|link_it|LINK
Thanks this will work :-)