Hi,
In my application,
I am using authentication mode as form and cookieless as UseDeviceProfile.

i set in sessionstate cookieless as UseDeviceProfile and timeout="60"

in global.asax ,Application_AcquireRequestState method i used to redirect to timeouterror page.

if i run my application first time it redirects to timeouterrorpage.but it should go to default page.

The HttpApplication.AcquireRequestState event occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request.

Since you used to redirect to timeouterror page in the Application_AcquireRequestState event, first time it redirects to timeouterror page.

Why do you redirect to timeouterror page in Application_AcquireRequestState event?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.