Solved

ASPState Table

Posted on 2004-03-30
3
635 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
3 Comments
 
LVL 22

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

786 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