User Management In Website?
Jan 28, 2010
We are doing a web project for Container transaction Company. One of their requirement is User Management. The admin can set the permissions for the users. The users can only do anything according to the permissions given by the admin . How can Implement this feature.
View 2 Replies
Similar Messages:
Apr 13, 2010
How to get that how many pages accesses by a user in a website.
Actually, rather then putting code in each page I want some generalized method/technique that if user Logged to a website and during his Login period what was his activity and which page(s) he accesed.
Note:
1. My website pages are under MasterPage.
2. MasterPage has a MasterMenu.
3. For singlePage activity I used Page.GetType.Name
View 2 Replies
Nov 25, 2010
is there a way to set code that automatically signs out the logged in user if they are redirected away from any file or directory under the main url?
View 2 Replies
Jul 28, 2010
when we accept user details in a login page and i want to use login details throughout the website.....can we do like this
session["uname"]=username;
string s=session["uname"].tostring(); this is in first page
string str=session["uname"].tostring(); this is my second web page
it is giving error
we can't access in other pages
View 5 Replies
Sep 20, 2010
We use windows authentication. User opens our website in tab1 and does some action but with out clicking on save he opens a new tab tab2 and opens the same website again. Now, if the user session in tab1 is active i need to warn users that the he is already logged on to application in some other browser and go to some log out page. But if the user session in tab1 is timed out then he must be able to continue with the website in tab2 as usual, but if he tries to do anything in tab1 he should go to session expired page.
I tried implementing it in following way.
I have a hidden field in each page which will be set to unique Id using GUID.NewID().
when user requests for a page the following code is executed.
[Code]....
View 1 Replies
Dec 1, 2010
Is it possible to perform user management (store user info, login , logout etc) without using session or cookie?
View 3 Replies
Apr 23, 2010
I am a little bit new at handling multiple sessions congruently.
Basically i have created a chat application. In which i have a moderator page.
Now the moderator has the privilege to block particular users from the chat. Every user including the moderator has a session variable defined as Session["UserID"].
e.g for the username "moderator" the Session["UserID"]=moderator.
Now as i am logged in as the moderator how do i delete the session of a particular user whom i want to block the chat from commencing.
View 3 Replies
Aug 10, 2010
i want to send some user information one website(ASP) to another website(ASP.NET)
View 3 Replies
May 7, 2010
I have an ASP.net website where there are files available for download. I was looking at adding a page for admin who would get a listing of files from a sql database and if they want to they would be allowed to remove files permanently from the server (delete). The server would log this activity to a database, when and by whom the file was removed. The database limits their view of files available to them.
What would be the preferred method to perform this function? Would it be better that their request would be logged to a table in the DB which would be monitored by a service that would perform this operation locally on the database? I get an access denied error when attempting this operation directly from a webpage and I'm a bit reluctant to change my security policy to allow ASPNET direct access to the folder.
View 2 Replies
Oct 19, 2010
We have a .Net solution for a website, consisting of 5 projects, and there are a few(less than 10) developers working on the solution. We deploy almost on a daily basis. The question is, how to setup the SVN repo to support this scenario (the daily deploy), also mentioning that not every commited file should go to production, there is a QA check before deploying.
View 2 Replies
Jul 11, 2010
have few doubts running though my mind which I want to clear. Here is my scenariolet's say I want to create a website for library management.I need to have registration page where I will allow users to register and login. My doubt is : After login how do I restrict users from accessing only the authorized page ? also I need to make sure that they should not access pages by entering the url directly without authentication ? i don't want to use the login controls provided in asp.net by default.
View 4 Replies
Jun 26, 2010
am building a asp.net website. Here I want ot use a preloader where diffrent-diffrent will load and work as preloader. These images will load untill full website is not loaded.
View 1 Replies
Aug 18, 2015
i have read your article on aspsnippets.com. Multilingual Website and i have implemented that i works good .but there is new problem arrising. suppose my default language is english set in internet option so the whenever website reloaded or redirected then all content will show in english language but
when i changed it to hindi then current webpage converted to hindi but after that if i pressed any button on current page or i redirected to any other link of particular website then again hindi is converted to english.
View 1 Replies
Jan 29, 2010
I created timecard for a website and I would like to automatically clock out the user everytime when user logout or close the website. Is there a control for that? And if yes, where do i have to put he code at?? I think it should be in the code behind of master page... and on the Page_Load function
View 1 Replies
Jun 16, 2015
I have a signup page and Main page in my web site. i want to prevent an user to type directly the Main page URL, user should have access after signup/login.
View 1 Replies
May 7, 2015
Nowadays having activity logs of the system is needed for history and if someone who is trying to mess your site, it is easily to define who is it and when it happen. And even Facebook have it.
View 1 Replies
Aug 8, 2010
I have a Webservice that receives a file (byteArray) and saves it on server disk.
[Code]....
But my webservice isn't hosted on the same folder of my website.
I mean: [URL] Is it possible to put a webservice on the same folder of the main website? Or it's not a problem ? (Can I retrieve the files in the webservice's folder from website?)
View 1 Replies
Nov 30, 2010
I am creating a website, where my client is planning to target 1000's or user registrations with their login area etc. Is it a good idea to use role management/aspnetdb for this purpose?
View 9 Replies
Sep 15, 2010
i have 2 web application that resides in 1 IIS7 application via Virtual Directory, i hope to connect the 2 website via Session, my question is can i pass a session value from website 1 to website 2?
View 3 Replies
Aug 28, 2010
I use cookie to change the language of my website.
When I click a LinkButton to change the language for first time it works but the other button doesn't work to change the language . I should delete cookie to change the language.
<asp:LinkButton ID="LinkButtonEn" runat="server" CommandArgument="en-US" OnCommand="LnkLang_Command" Text="English"></asp:LinkButton>
protected void LnkLang_Command(object sender, CommandEventArgs e)
{
Response.Cookies["mylang"].Value = "";
Response.Cookies["mylang"].Value = e.CommandArgument.ToString();
Response.Redirect("~/Default.aspx");
}
View 3 Replies
Apr 4, 2010
i need to count clicks on my website plus the pages the users are visiting.
at the moment i am using the page load and send the number of loads into a xml file, but i don't think is counting right.
i need to capture the URL and store it on the database
View 5 Replies
Jan 5, 2011
I read somewhere the website quits running after sometime if no one pings it. I wanted to know is there any way on IIS 6 that will keep the website up all the time(alive) even if no one accesses it
View 2 Replies
May 20, 2010
I have a question about viewstate:I have created a simple little website in 2008 (.net 3.5)I have one page with markup that looks like this:
[Code]....
View 2 Replies
Sep 30, 2010
I work in a multi server , multi webfarm environment (without sessions). We need to be able to identfy if a customer has arrived here for the first or has been before (even though they have not logged in)Not only will we change the text of our salutations depeding on this state but we will also use it in other busness logic. I can check for the existance of a cookie when they fire the Session_onStart event but I would have to write a cookie out to show they had previously visited for the next time the customer came to call.
If I wrote the cookie out in the Session_onStart then somehow I would have to tell the website that this was a first time visit. Also as this is a stateless webfarm - the next server may be different from the previous one which would fire a new Session_onStart event in its own right - which would see the cookie and assume it was not my first visit, even though it was my first visit on a different web page of the web site.
I dont want to write it out and say if its within X minutes of the cookie creation time you are still in your first visit as that x minutes wouldnt work 100% of the time If I dont write the cookie out on Session_onStart then when could I write it out?
View 6 Replies
Apr 10, 2010
Now i have faced some strange problem.I have added an arralist into session.And then accept it from another page .Every thing is work fine when locally(visual web developer).But when uploaded most of time error occured "System.NullReferenceException: Object reference not set to an instance of an object.".why?pls help me..
View 8 Replies