Solved

ASPState Table

Posted on 2004-03-30
3
638 Views
Last Modified: 2007-12-19
I'm setting up Session Variable with SQLServer mode

Web.config section:
<sessionState
    mode="SQLServer"
    stateConnectionString="tcpip=127.0.0.1:42424"
    sqlConnectionString="data source=127.0.0.1;user id=sa;password=mypassword"
    cookieless="false"
    timeout="20"
/>

I don't want to have my sa password in a file.  Is there anyway to get around this without using window authentication and having to setup permissions for every user in ASPState table.

Can I perhaps force it to somehow use my machinename/ASPNET.  I don't want to store any passwords
0
Comment
Question by:barnetjeb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 23

Accepted Solution

by:
Snarf0001 earned 500 total points
ID: 10716423
You would have to use integrated security:

  "Data Source=127.0.0.1; Integrated Security=SSPI;"

which would then use the logon credentials of the windows user, but it has some issues
see the following article:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;324479
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Responsive Design or Mobile Sites? 4 36
Please explain purpose of GZIP 4 57
javascript form - error when hitting enter 3 27
calculate days away 11 23
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question