Results 1 to 2 of 2

Thread: web.config

  1. #1
    Join Date
    Dec 1969

    Default web.config

    I have just discovered this web.config. But ended up stumped. How do I go about setting the session, so that it will timeout, and set a session variable before returning to the index.asp?<BR><BR>I also realized that web.config allows you to set the connectionstring. However, I dun have the database name. How do I actually set up in web.config, so that I wouldn&#039;t have to set the below code at every pages? Appreciate help. <BR><BR>Public Dim sConnString As String = "Driver={Microsoft ODBC for Oracle};" & _<BR> "Server=server;" & _<BR> "Uid=Uid;" & _<BR> "Pwd=Pwd"

  2. #2
    Join Date
    Dec 1969

    Default RE: web.config

    Try this link<BR><BR>http://aspnet.4guysfromrolla.com/articles/053102-1.aspx<BR><BR>It is an article within this site that discuses using web.config files particularly for storing connection strings to databases

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts