Yea, Thanks, any articles or help would be appreciated. I have pulled this off a few different ways. I have a feeling there must be a better way. I feel like I am reinventing the wheel. Thanks, Jon Vickers
jon vickers
Posts
-
User definable fields -
User definable fieldsHi, Does anyone know where to find best practices on allowing users to create user definable fields. I have tried a few methods in ASP30. I am trying to figure out the proper way to do this. Salesforce.com has a feature inside the program where a user and create as many fields as they like. They have many fields to choose from. I don't fully understand how to pull this off in a RDMS. I have tried creating many "blank" fields of each type: varchar, datetime, text, bit. The system salesforce uses seems to not be bound by a certain number of colums. I assume they are actually altering each clients db schema. What ways have any of you guys allowed your users to create new fields on the fly? Where are some good articles on this subject? And also, what do you call this, I must not be searching using the correct words? Thanks, Jon Vickers
-
help with download filesI think I know what you are talking about. You don't want them to click a link, the file just starts coming down? Depending on your page/site design you may have to use some sort of javascript to control "popup at any time". But, as far, as I can tell what you are talking about, you need to create an aspx page that does a response.binary write to the browser. You will have to search around as there are some headers that need to be set. Such as: file size, mime type, etc. But I have done this many times to binary write pdf and jpg files directly from an aspx page. I can't find any code at the moment but there are many examples out there. Thanks, Jon Vickers
-
help with download filesIsn't that what it does already. You click on the file, then click "Save As" and the file save dialog box opens to browse and save the file? Thanks, Jon Vickers
-
help with download filesCould you clarify this part: David Flores wrote: (instead of the Open dialog box like when using a input control). Thanks, Jon Vickers
-
Advice: .NET AuthenticationThanks John, "I don't want all my of my applications tied to one database." Right now each application has its own database on its own db server. So even if I loose a db server we loose one application. The problem I am worried about is tieing 3-4 applications to one central db that could cause all applications to fail. Forms Authentication: I understand that if you setup the machine.config flies correctly they can share the authentication cookie. How does this work if the applications are running under seperate domains? The browser will not send the cookie to another domain, right? I am leaning towards creating some sort of web service that each application will call to authenticate the user. Encapsulating this in a try/catch block. If the web service does not respond I will check the local applications login table and use the last known good credentials, how does that sound? Does anyone have any examples of transfering an authenticated users from Application A on domain A to application B on domain B, possibly on a seperate server. I assume there will have to be some sort of token transferred from one db to another, then transfer the user to application B, then destroy the token once the users arrives. Does anyone have any input on this concept. Thanks, Jon Vickers
-
Advice: .NET AuthenticationHello, I need advice. I have created a series of ASP 3.0 and ASP.Net applications. I am currently in the process of trying to create a global groups and authentication system that works across all applications. I would like to create something similar to Active Directory, where the database can be replicated and updated anywhere. My concern is, I don't want to tie all of my applications to one database. If that database were to fail it would shut down all of my applications. Has any created anything like this? Does anyone have any articles that reference this type of situation? I also need to figure out an efficient and secure way to transfer users from one application to the other application without having to relogin. I assume I will use some sort of transfer token or something. Also, I know that ASP.Net Form authentication can work across multiple apps if you setup the encryption keys manually. I am not sure if this is the right solution for me. Thanks, Jon Vickers