Hi guys,
Sorry for the confusion.
In all the pages on my site I have a little iframe that updates every 2
minutes, displaying a little message (similar to breaking news etc). Because
each time this page updates the session.timeout got reset the user's session
never expired. I was hoping there was a way to stop the session.timeout from
being reset. This is not possible.
I have created a workaround by holding in a session datetime.now from the
main page and checking in the message iframe if this is more than 20 minutes
then killing the session. This suits my needs.
Thanks for your time.
"Martin" <du***@somewhere.nl> wrote in message
news:40***********************@news.euronet.nl...
I want to write an apsx page that when loaded does not refresh
Session.Timeout. It is going to be running in an iframe and refreshing
every couple of minutes. i'm not really understanding what you want to do here.
It took me a while too but I think I understand what he is after. He wants
to make a sneeky request that does not prolong the session's lifetime. He
probably wants to achieve something the wrong way.
Is this possible?
No. You'd better tell what you really want, there is probably a right way
to get there instead of using session timeout. You may already be using
session timeout for the wrong purposes. Do you want to track users beyond a
certain page? You may want to use authentication for that instead. Think of
session as something ASP.NET uses for keeping track of browser instances. Tracking
users is something different that you will be doing independently from
sessions.
Martin.