C# - Collecting Extra Information Using Dot Net's Standard Authentication
Apr 3, 2011
I'm using the inbuilt dot net authentication to register users in a simple web site and trying to add some extra information to be collected on registration. It currently asks for Usernname, email, password, confirm password. I'd like to add some extra bits, something like "favourite colour" - just a simple stringIs there an easy way of doing this? Maybe a simple tutorial I could follow?
View 2 Replies
Similar Messages:
Mar 8, 2011
I want to add a page to an existing website with a list of practical system information about the server that's running the site. For example, which windows version, 32 or 64 bits, SQL Server version, some host variables, amount of RAM, disk space and whatever else. Basically, anything practical that could tell me more about the health of the server. So, how do I get the most practical information through .NET?
Not important how it's going to be displayed but assume it's a list with three columns: Name of the setting, value for the setting and a description that tells what the setting is for... (The first two would already be enough, though, but for clarifications a description would be nice.)
One added complication, though: I need both 32-bits and 64-bits solutions...
View 3 Replies
Feb 17, 2010
is it posseble to send some extra information to AutoCompleteExtender from another textbox to get filterd list to target textbox
View 4 Replies
Feb 3, 2011
In my code I am using a popup window to display extra information. I also have the ability to export the information in the main window to Excel.The problem is, after the window pops up -> I see the info -> I close the popup window -> but if I try the export to Excel button, it throws the exception "null object referrence" (if I use a try/catch, the exception doesn't occur - but I don't get any information). In the export function I am doing something like this:
{
//some code .... here
con.close();
session["dss"] = mydataset;
}
In the export button click event:
system.data.dataset dss = (system.data.dataset)session["dss"];
//then some work on this
I think, probably when the popup window opens it ends the execution and that's why when I come back to the main window and try the export button the values for the tables and all goes out of scope.Also, if I refresh the main page after closing the popup window I don't have any issue and can export the data.
View 1 Replies
Nov 14, 2010
I need my child pages to be able to set the values of certain properties of the Master page before loading. In other words, how my application builds the Master page for the client depends upon what properties are set by the child pages on the back-end. For example:
public partial class mstrPage : System.Web.UI.MasterPage
{
public int Rows { get; set; }
public int Cols { get; set; }
protected void Page_Load(object sender, EventArgs e)
{
/* Build a .NET two-dimensional-array of divs
that is <Rows> tall and <Cols> wide. */
}
}
In this example, the child page needs to set the values of <Rows> and <Cols> before Page_Load() is invoked for the Master. This is fairly simple to accomplish with inheritance in OOP, but ASP.NET web pages do not "inherit" their master pages in the code-behind. In the given example, what would the code-behind look like for the ASP.NET child page that sets these properties?
View 1 Replies
Mar 10, 2010
I'm using the ASP.NET membership framework in my ASP.NET application. I'd like to save a few extra pieces of information in the cookie so that when I need it, I don't have to go back to the database. I want to save user's email address, full name and time zone.How do I save this information in the cookie?
View 1 Replies
Sep 18, 2010
i want to add few text values when user want to add extra information
so i need ajax popup window that having two or three dropdown list and one submit button that batton insert the values from ddl into database..
how can i show that popoup window?
View 2 Replies
Aug 29, 2010
I am trying to collect extra information about a user when the user account is created using the Create User Wizard. This info will be stored in a new table in the standard ASP membership SQL database.I have read several books and loads of online tutorials on the subject and they all take different approaches and seem to make the process hard work.Is there any reason why I can't add an SQL datasource and a number of textboxes to the wizard step, 'connect' the values from the textboxes to the Insert Parameters and then put an Insert Statement in a suitable event handler to cause the insert?
View 9 Replies
Oct 12, 2010
With Forms Authentication when the app needs to redirect to sign-in page is there an event or any extensibility point that will let me do additional work to the request before it redirects to the sign-in page?
I would like to send additional information in the query string that could vary such that it wouldn't work to just statically embed that in the link in the loginUrl node in the web.config.
Edit: For clarification, I want to intercept the request prior to being redirected TO the login page.
Example:
<authentication mode="Forms">
<forms loginUrl="http://the/interwebs/login.aspx" timeout="2880"
enableCrossAppRedirects="true" />
</authentication>
And prior the user being redirected to http://the/interwebs/login.aspx I would like to be able to pack in query values so the url could end up something like http://the/interwebs/login.aspx?Action=Refresh
View 3 Replies
Aug 18, 2010
I've made a for a web app to use sql server session state, in the event viewer I get a re-occuring informatation message:
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired.
Event time: 17/08/2010 10:37:01
Event time (UTC): 17/08/2010 09:37:01
Event ID: 623a3b87c23541b9b8b49d9a9a167bde
Event sequence: 7699
Event occurrence: 124
Event detail code: 50202
Process information:
Process ID: 10188
Process name: w3wp.exe
Account name: NT AUTHORITYNETWORK SERVICE
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITYNETWORK SERVICE
It dosnt seem to be causing any problems, just filling the event viewer...
View 3 Replies
Jan 22, 2011
I have a checkboxlist inside of a wizard control. I need to collect the value of all items that are checked, as well as whatever value is inside of a textbox if "other" is checked, to insert into my database during the Wizard.FinishButtonClick event. How do I do this?
View 1 Replies
Oct 8, 2010
I have a website which I want to use to collect payments from customers. An essay writing service is provided through the site.User's fill in a form and submit it. At the moment, when the form is submitted, it just fires an acknowledgement to the user that their order is being processed.I have used ASP.Net/C# for the web applicatioHow do I integrate paypal in the website so that user's can make paymen
View 1 Replies
Jan 12, 2011
I want to write the above form data to a sql server database
View 2 Replies
May 20, 2010
Asp.net web application (source stored in svn) sqlserver database. (Database schema (tables/sprocs) stored in svn) db version is synced with web application assembly version. (stored in table 'CurrentVersion')CI hudson server that checks out web app from repo and runs custom msbuild file to publish/package app.
My msbuild script updates the assembly version of the web app (Major.Minor.Revision.Build) on each build. The 'Revision' is set to the currently checked out svn revision and the 'Build' to the hudson build number (incremented on each automated build).
This way i can match the app to a specific trunk revision also get other build stats from the hudson build number.
I'd like to automate the collecting of migration scripts (updated sprocs etc) to add to the zip package. I guess by comparing the svn revision of the db that has yet to be deployed to, to the revision being deployed, i can find what db files have changed in the trunk since the last deployment to that database/environment.
This could easily be achieved by manually calling the svn diff -r REVNO:REVNO command to list changed .sql files. These files could then manually have to be added to the package.
It would be great if this could be automated.
Firstly i'd imagine I'll have to write a custom task to check the version of the db that has yet to be deployed to. After that I'm quite unsure. how this would be achieved through an msbuild task either existing or custom?
Finally I'll have to autogen a script to add to the package that updates the database version table so as to be in sync with the application.
View 3 Replies
Sep 21, 2010
I have an application that has a user Login Control (provided by ASP). I am just now working with the integration of a dataBase created in MS visual studio 2010, to a developed website created in MS visual web developer 2010. My main goal is to create an authentication ticket that enables a user to be able to see a dataBase information only after that user has been successfully authenticated.
Up to now I'm able to see the dataBase when i run the website even if I'm not log-in, how i can create a home page that tells the user to log-in and once that user has successfully log-in it redirects the user to another page where the user can see the database and how I can add information to that dataBase only to specific members
View 4 Replies
Dec 2, 2010
I'm fairly new so I've been learning via examples. The idea of this part of the project is to present a list of items (out of a DB), and when you click on an image that's on the list, it should open a new window with the details. this is the snippet where
I send the variable:
<asp:ImageButton runat="server" ID="imagebutton1" ImageUrl="images/icon_lupa.gif"
View 3 Replies
Mar 24, 2011
I'm trying to make a .Net, c# application for online creating surveys. I have a few types of questions, and than I dynamicly put labels, combos, textboxes ... on the form. Up to this point, I somehow managed to get. Than, on click on add button, I write down the responses in html format using stringBuffer and append function. Example.
public string RetOptionalQuestion(string seq_numm, string question, string answersOpt)
{
StringBuilder _output = new StringBuilder();
[code]...
View 1 Replies
Sep 17, 2010
Just going to start making a web application and was wondering which was better, or at least what are the main differences between them (as it probably matters what I am using them for)?
View 3 Replies
Apr 11, 2010
I display a bunch of projects in a GridView. I want to create a TemplateField with a TextBox in it in my GridView. I want user to enter a dollar amount for each row i.e. project in the GridView which is the project budget. When the user clicks submit, I
want to collect the dollar amounts entered and commit them in the database to their corresponding projects.My question is: how do I itereate through all the rows of the GridView to see if user entered a dollar amount, and if so, collect it so that I can send it to my stored procedure?
View 2 Replies
Sep 9, 2010
I just wanted to get some ideas of what you would think be the best way to collect data/numbers that are part of a time series? Let's say I'm collecting monthly data from the users, related to some product and I'd like to be able to provide them a simple and efficient way of entering these numbers based on some month end period. So for instance on 6/30/2009, they could enter some numbers for a set of data points that pertain to that product. Would one of the data controls (such as GridView or DetailsView) be sufficient to do this? I know the GridView isn't so much able to save data but I believe the DetailsView has some functionality for that. In the end, I'd really like to provide a seemless way to do show this and ability to enter and save this.
View 2 Replies
Jan 19, 2011
I am making an online form (literal form) that needs to have a certain function: when the user enters a 5-digit number, the form should automatically query the MS SQL DB and retrieve information associated to that number and populate other form elements (text boxes, etc.) accordingly.
So say the # was 12345 and in the DB, the record matching 12345 has name=Fred. So, when I enter 12345 into the form textbox, the name text box should be automatically populated with Fred in it.
If this is not easily achievable, I guess a submit button beside the 5-digit number text box can do.
I am still learning my way around ASP.NET and Visual Studio 2005, however I have ample experience with HTML, CSS, JavaScript, C/C++. The ASP.NET app is to be written in C#.
View 1 Replies
Dec 28, 2010
Is there a way to determine how an application was opened?
Lets say i have app A and app B.
App A, runs and checks for license information,if everything is ok, it creates a process and opens up app B.
on App B, can i tell if the app was called or opened from app A or it is was opened from a doule click, or right click --> open?
View 5 Replies
Feb 8, 2011
I'm trying to debug one specific issue with ASP.NET application and I suppose the problem could be somewhere in the server configuration.
Specifically the standard ASP.NET header is sent to the client instead of the header crafted by the ASP.NET application
Date: Fri, 04 Feb 2011 12:15:04 GMT
Server: Microsoft-IIS/5.1
X-Powered-By: ASP.NET
My question is - where does this header come from exactly? Who is responsible for producing it and sending it to the client? Why would is be sent to the client instead of the once crafted by the application?
View 4 Replies
Sep 21, 2010
I'm using standard routing for asp.net 3.5 sp1, which is setting in global.asax in this way:
[Code]....
This is, certanly, only part of it.
So, the question is: how i can get the title of the routing rule, which is using with current path? When i'm on page "pages/1/first.aspx" how can i get the "pages" as a name of the rule?
View 1 Replies
Sep 8, 2010
So for example, I have a lovely button control:
<asp:Button ID="Button1" runat="server" Text="Button" />
Which when renders, is a lovely dull grey, nice and rectangular, etc, etc.
I know I can apply a new CSSClass to amend the CSS of said control, but where can I find the original CSS properties for this?
View 4 Replies