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:740187
More Search Options
RSS Available
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 »
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online