Hi Nitin,
If the system time on the client is earlier than the system time on the
server (because of either the client or server having an inaccurate time
setting, or time-zone differences), setting the parameter to 0 does not have
the effect of expiring the page immediately. You can use the
Response.ExpiresAbsolute property to immediately expire a page. In addition,
you can use a negative number for the Expires property to expire the response
immediately.
Response.Expires = -1
Cheers,
Jerome. M
"Nitin" wrote:
When the user logs out from my user page I don't want him to be able to come
bak to that page by pressing the 'Back' button of the browser.
i use this code in the page_load event
'
Response.Expires = 0
Response.Cache.SetNoStore()
Response.AppendHeader("Pragma", "no-cache")
'
It doesn't seem to work. Please suggest.
Regards,
Nitin