Search

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

Matching Posts

  • Session variables as property

    Hello, I have a wrapper of a session variable in one of my classes: public List<string> MyList { get{return Session["someList"] == null? new List<string>():(List<string>) Session["someList"];} set{Session["someList"] value;} } when i access MyList in other classes and I do: TheClass.MyList.Clear(); By doing this, how can i clear ONLY the Session["someList"] variable as well? thank you
    Posted to Web Forms (Forum) by donkaiser on 10/11/2009
    Filed under: list, session asp.net
  • Re: Session variables as property

    I know about session.remove. i want to clear it when i do MyList.Clear() because i suppose to hide the session variable.
    Posted to Web Forms (Forum) by donkaiser on 10/11/2009
  • Re: Observer pattern-like asp.net projects?

    Thank you every one for your suggestion. I was thinking about something like Web Client Software Factory: http://msdn.microsoft.com/en-us/magazine/cc163381.aspx I think it will served the purposes: dynamically detecting new projects by other developers and I don't have to recompile everytime. Since I am already using MVP pattern it should be pretty swift. what do ya'll think?
    Posted to Architecture (Forum) by donkaiser on 9/24/2009
  • Observer pattern-like asp.net projects?

    Hello, I have a project which has a menu for users to access different forms. The menu can be in a master page. So far it's pretty obvious. Now i want to make the menu to be dynamic to list automatically when a new form is added to the project. On the top of that i would like to set up that my project with the menu don't have to be recompile everything when a new form is added. Probably the new form can be a different build but how can i set up all the referecing so that my main project knows
    Posted to Architecture (Forum) by donkaiser on 9/21/2009
    Filed under: observer pattern like, dynamic menu
  • how to convert linq result to ConfigurationElementCollection

    Hello, I have a custom configuration section in my web.config. I retrieve successfully the collection. But i want to manipulate the collection with linq. how can i convert the result form linq back to a configurationelementcollection? Thanks,
    Posted to Configuration and Deployment (Forum) by donkaiser on 9/2/2009
    Filed under: ConfigurationElementCollection, linq, conversion
  • Re: Asp.net membership + access to different DBs + IIS 6 = "Cannot open database in login 'DBName'.

    I think i found the solution but i don't know its a good way. I basically add the server name where IIS resides to the list of users in my SQL Server DBs. It seems odd to add a servername as a user since my connection string has user credentials to use the DBs. Oh the Authentication mode is set to Windows Authentication. Any better suggestion?
    Posted to Security (Forum) by donkaiser on 8/6/2009
  • Asp.net membership + access to different DBs + IIS 6 = "Cannot open database in login 'DBName'.

    I have implemented asp.net membership. My app needs to query data from 2 separate databases (DB1 and DB2). DB1 contains the app main data and membership data. DB2 is an external database. So I set up 2 string connection in the web.config. I also set the app name. Everything is working fine when i debug and run it in my VS2008 PE. But once i deploy the app to IIS 6, i got this error: Cannot open database requested in login 'DB2'. Login fails. Login failed for user 'MyDomain\MyServername
    Posted to Security (Forum) by donkaiser on 8/5/2009
    Filed under: membership, cannot open databse in login
  • Loginstatus without javascript

    I have a requirement to make a website free of javascript. Is there a way to custom or similate the loginstatus control with a button? Thank you
    Posted to Security (Forum) by donkaiser on 7/2/2009
    Filed under: loginstatus control, without javascript
  • Re: exit app without logout error

    Thank you for the advises. I still have the same problem specially on firefox which seems to keep my session alive even i close the browser. After logged in, open another tab in firefox3 or IE8 and go to my app, it will display the default page with any css or link not working. If clicking on a link, it will give me the 404 error.
    Posted to Security (Forum) by donkaiser on 6/30/2009
  • Re: exit app without logout error

    Hi Andrew, 1. that is correct 2. that is also correct here is my part of my webconfig. <?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration> <configSections>
    Posted to Security (Forum) by donkaiser on 6/29/2009
Page 1 of 14 (137 items) 1 2 3 4 5 Next > ... Last »