How can I redirect the user to the first page when they've been idle for more than 20 minutes or so?
Here's my session timeout time in my web config file:
View Complete Post
I know there are several articles explaining how to warn the user before their session times out, but so far none of them have worked for our scenario, so I'm hoping someone here will be able to help me figure this one out... Here's what we've got:
I am creating web application. In that I want to set session timeout (not idle timeout). If a user logged in that time the session time will start and it automatically should detect session timeout the page should redirect to another page. How can I acheive this.
I have asp.net membership login in my asp.net application in that i have 30 users, What i need is
I have one xxxx.aspx page if user name 'John' is logged in then i need to redirect to that page xxxx.aspx and other user will not able logged in to that page except 'john'.. so let me know how to do this
I have some problems whereby sometimes my application redirects to the login page if the users sessions timesout.
What I'm finding though is that pages that are ajaxified with update panels etc don't appear to redirect to the login correctly.
Meaning that my users come back and click a button and a horrible 'object not set to an instance of an object' error appears.
If a normal session timeout occurs we could handle the session timeout.
But say we are using a lot of ajax calls, webhandlers etc. How would we catch session timeout here and redirect to error/login page.
How would I go about to solve this:
When the user clicks a button and the user has been inactive for too long (session is gone), then redirect the user to the login page and back to the current page after logging in?
Is there a built in solution to this or do I have to do it manually? If so, how?
I want to know how can i redirect a user to a different page when he tries to access a page restricted to another role?
The scenario is as follows:
I have a folder "Gestao" that only allows users in role "Administrator"
If an anonymous user tries to access that folder he is redirected to the login page, but if a logged in user whose role is "friend" tries to access this folder he is also redirected to the login page. I want to redirect him to a page showing a message that he has no permission to access that page/area.
How can I do that? Should i have code on the Page_load event of the login page checking the user role and then redirect him to the correct page? Or is there some otherway to do this?
Thanks in advance!Rui Palhinhas
Is it possible to use workflow to redirect a browser to a specific website after a list item is submitted?
If so, can someone please point me in the correct direction in setting this up?
I want my application to send the user to the page he last visited (stored in a cookie).
If i want to do this using an http module then in which event of the module should i do this?