I want to redirect the user after 2 mins if there is inactivity for 2 mins. I am not using ASP.NEt membership. And I dont want to use Sessiontimeout for this. Session timeout will logout the user even if he is working on the system. My objective is like screensaver process.
If there is no action for the specified time, the screensaver runs. Similarly, I want to redirect the user to login page.
note that i have already handled it with the following javascript:
[Code]....
Here what my problem is,
the user is working on the site...ok.. he want to see someother site.he browse someother site and works on....or even he can do some other work in his system...but he is active in his system... What this script does is, it automatically logout the user and redirect him to login page. But it should not do while he is active...IT SHOULD REDIRECT IF HE IS NOT ACTIVE REALLY (Similar to Screensaver process)
I am using my own custom code to create users, log them in etc... but using Forms authentication.I need the ability to "automatically" logoff a user. There is a process that occurs when the user is "logged off". Now, when the user logs in, the user object is held in session.The user can logoff via the site, or when the forms authentication times out, the user is logged off by obtaining the user object in session.However, if the browser is closed then how can I detect a period of inactivity so then i will have the ability to log off the user? Javascript/AJAX solutions are not permitted
i waould like to know how i could run code when the user is about to logout due to inactivity.The reason for this is, i have 2 things, a chatroom, and a members online list, and the chat deletes any users that may still be logged in, and removes them off members online list, but ONLY when they click on logout.
And i have realised that hardly any users click logout, but simply close their browsers. So i would like to know, is there any way i could maybe add a delete code when the user is being logged out due to inactivity
I am developing a Login Screen and I want to Print the name of User at the page who have login last in all users (just like Hotmail).I dont know how to do it.
I set the impersonation to true in web config. First time accessing the page, it implements the impersonation to access Sql sERVer. However the second request and so on to page, it does not implement impersonation, rather it uses NT AUTHORITYIUSR user account.
I need to impersonate based on the user login all the time.. How can I achieve this?
I have several settings in my project area (stored in web.config). However, the scope is not editable and is permanently set to "Application", which means I can't edit them at run time. I would really like to be able to edit these from the web interface. I know that doing so would restart the application (since the web.config was modified), but I'm okay with that, once the settings are written.
Is there any way to programmatically modify the settings in the <applicationSettings><PROJECT.Properties.Settings> area of the web.config?
i need this Profile to add Unique IP address that has been used by the UserName ,,,
meaning :
If i logged in for the first time , it will save my IP address , next time if my IP has changed and i logged in , i need to keep the old IP address and add to it with comma seperated the new IP ..
When I say shuts down, I mean in terms of the next time the application is hit global.asax will run.
Let's say I have no requests for 2 hours, in this time will the web application close down and then the next person to access it will cause global.asax startup method to be run again?
I'd like to record more information than the default control allows as well as perform actions with the input when the form is submitted but I'm having trouble figuring out how.
So firstly, if I want to record the middlename for example, how would I do that, and by default, where would it go if anywhere?
When the form is submitted, I'd like to take specific input, such as just the middlename for example, and write some linq to sql code to specify when and how it's stored. In what event would I put this code?
I received a user defined XML file and want to programmatically read and display it on a browser using ASP.net. I also want to allow users to add more tags, elements with their attributes according to the existing schema through the web interface used to display the XML. Where can I find some techniques with examples?
Example:
<?xml version="1.0" standalone="yes"?> <bookstore> <book ISBN="10-000000-001" title="The Iliad and The Odyssey" price="12.95"> <comments> <userComment rating="4" comment="Best translation I've read." /> <userComment rating="2" comment="I like other versions better." /> </comments> </book> </bookstore>
The XML file contains a nested structure — each book can contain its property values, as well as one or more comments as separate elements. I want to allow users to view each of the property values and change them as well as add more userComment tags.
I need to modify the CreateUser function because I want to pass an additional parameter to the function. I think the neatest way would be to edit the current IMembershipService interface so that the CreateUser contract includes my additional parameter in all calls to CreateUser.Is this the suggested approach when needing to modify the parameters of the 3 functions?
I'm making my first professional website. I don't know what goes on when developing websites, so my question here could be incorrect. Anyway, I want a way to have an administrator login to my website and have the ability to modify, edit, delete, or add whatever he wants on the fly. How would I do that?! I really don't think that whenever the people I'm making the website for would need changes or adding new pages would call me to do that for them! So, I must provide them with their own means of administrating their own site after I'm done with it.
I have thought about using webparts but they're not thorough for everything in the site. Also, a side question, where should I put text content of the page in? Should I store it in a database, text file, or hard code it in the page?
the current page code below lists profile information of all users within with my site. i'd like to modify it so that it only displays information about the current user logged in.
This is the first time i would be using .net membership providers and i need to add some extra columns and chage a couple of existing datatypes of the exising columns.
my Q is:
1)can i do this without having to suffer down the road.
2)can i modify the existing sp's in sql08 or would i need to use additional sp's for the new columns that i add.
In my asp.net application I user Microsoft Membership to manage site access security and find the time saved into LastLoginDate is ahead of local time (Eastern Time Zone) 3 hours. What is wrong with it and how to ajust it to local time by application system only such as changing some properties od application?
but when I run it, it doesnt show it, until after i chose something else and it postback then it shows it at the top. I think it has something to do with the process in which things are loading, this being first, then overriden by the sqldatasource, how can i make this load last? or maybe im just not right about this.
have a button called "Confirm" which updates the datas entered in the screen. But the procress takes 1-2 minutes to update. I want to add a progress bar which automatically appears when the "confirm " button is clicked and automatically closes once the update is done.
I am trying to implement a license in which we will provide a license file which will be placed on the server root directory.This license file contain encrypted strings which have ServerName, Concurrent Sessions , Timeperiod.n this i have two issue.How could i calculate time as user can change server time.How could i maintain the concurrent login sessions [because i can't catch the event hen user close the browser].I will welcome any tehcnique otehr then javascript solution.[even polling] but i can't save session information in database