Search

You searched for the word(s): userid:838674

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.
Page 1 of 7 (66 items) 1 2 3 4 5 Next > ... Last »