Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:838674
More Search Options
RSS Available
Matching Posts
Re: Restricting Customers to there own data
Basically, you need to filter all your database queries to extract only the data of a customer. This is the only way to make sure you present the right data to the customers. To achieve this, you need to associate your user with the customer in the database. Upon login, you may out the customer_id of a user in the session and use this value to filter out the customer specific data.
Posted to
Security
(Forum)
by
sohan
on 5/12/2009
Re: Need some advice, credentials via webService
Your credentials will be tranmitted over the wire when you are calling a web service if that web service is on a different host from your site. To make sure you secure this channel, you need a https access to the web service. And if you are hosting the service and site on the same server, I think you should not use web service at all. It will be unnecessary coding and management efforts. Moreover, it will slow down the response time.
Posted to
Security
(Forum)
by
sohan
on 5/10/2009
Re: More then 1 login page
I would recommend using a single login page in a website if it is possible. Otherwise, you need to ask sales people to visit a different URL to the sales login page. Again, I suggest it is not a good practice to do so for login page. Conventionally you use a single login page, but based on the role/membership redirect the users to their landing page. This is cleaner approach, since you do not duplicate your login logic.
Posted to
Security
(Forum)
by
sohan
on 5/10/2009
Re: Sys.InvalidOperationException: Component not found + IE7
I believe this is because your ASP.Net Ajax JS files are not loaded by the time you are calling some method. You may use function pageLoad(senders, args){ } in your javascript to make any initialization calls. This method will be called by the ASP.Net ajax library once the library is completed loading to your browser.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
sohan
on 5/10/2009
Re: Access Username within a trigger
You cannot directly access the information. However, if you include the user name in the row that triggered the trigger then you will get hold of it. However, my first advice will be, you should not log raw table edit/delete/updates. That will be too expensive in most cases. Rather, for your application logging, you may use EventLog or Log4Net to Log from your app. This will help you make more meaningful log.
Posted to
Architecture
(Forum)
by
sohan
on 5/10/2009
Re: Error while sending email using SMTP (Gmail)...
Please try with the same From Email address as that of the smtp client credential. It should work fine. The reason is, you are using the smtp server to send an email by faking the from address (if different than smtp credentials).
Posted to
Getting Started
(Forum)
by
sohan
on 5/4/2009
Re: Not staying logged in
Use sessionstate timeout in your config file. More details can be found here at MSDN http://msdn.microsoft.com/en-us/library/ms972429.aspx
Posted to
Security
(Forum)
by
sohan
on 5/4/2009
Re: How to enable JavaScript for WebClient or HttpWebRequest to download AJAX pages ?
This is because the server from where you are downloading the js does adaptive rendering. So, it checks the client's user agent and finds that your application is not js enabled. So, the server sends you the message instead. To bypass this problem, you may ask the server to stop this adaptive rendering, possible. Otherwise, you will need to alter your request so that the server thinks your application is js enabled.
Posted to
Getting Started
(Forum)
by
sohan
on 4/30/2009
Re: Using JQuery
You may take a look at jQGrid, a sortable grid from jQuery. However, that is different from GridView.
Posted to
Web Forms
(Forum)
by
sohan
on 4/30/2009
Re: Problem with adding new record to DB using LINQ
It should be inserted. I guess the problem is in the database connection string or in the data file refresh. Please try changing your database connection string and/or moving the mdf file to see if that particular mdf is being used at all.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
sohan
on 4/30/2009
Page 1 of 7 (66 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
IIS.NET:
SiteShell
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online