Storing SQLConnection string in registry

Discussion in 'ASP .Net' started by MattC, Jun 25, 2004.

  1. MattC

    MattC Guest

    I'm trying to store my sqlconnection string in the registry but all I have
    found is aspnet_setreg which only stores the username and password, I want
    to store the entire string.

    I then found I could store the sqlconnectionString in <sessionState> in the
    registry but cant find a way of reading it back out. You cant access
    Session.sqlconnectionString.

    How does this work?

    thanks
     
    MattC, Jun 25, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark

    Can't open a SqlConnection

    Mark, May 9, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    911
  2. Nayt Grochowski
    Replies:
    1
    Views:
    602
    Nayt Grochowski
    Aug 1, 2003
  3. HK
    Replies:
    1
    Views:
    4,371
    Cowboy \(Gregory A. Beamer\)
    Apr 1, 2004
  4. Replies:
    0
    Views:
    1,012
  5. Leny
    Replies:
    3
    Views:
    17,229
    Daniel
    Feb 1, 2005
  6. toton
    Replies:
    11
    Views:
    973
    toton
    Oct 13, 2006
  7. Jonathan Wood
    Replies:
    1
    Views:
    715
    Jonathan Wood
    Jun 2, 2008
  8. Collin Miller
    Replies:
    10
    Views:
    1,003
    Roger Pack
    Jul 9, 2010
Loading...