Click here to Skip to main content
15,888,157 members
Home / Discussions / C#
   

C#

 
AnswerRe: Auto tune channels in DirectX.Capture Pin
leppie17-May-06 19:33
leppie17-May-06 19:33 
Question Problem in opening model dialog window from worker thread Pin
Krrish17-May-06 19:13
Krrish17-May-06 19:13 
AnswerRe: Problem in opening model dialog window from worker thread Pin
leppie17-May-06 19:31
leppie17-May-06 19:31 
AnswerRe: Problem in opening model dialog window from worker thread Pin
S. Senthil Kumar17-May-06 19:42
S. Senthil Kumar17-May-06 19:42 
AnswerRe: Pin
stancrm18-May-06 3:35
stancrm18-May-06 3:35 
GeneralRe: Pin
Krrish22-May-06 0:24
Krrish22-May-06 0:24 
GeneralRe: Pin
stancrm22-May-06 0:51
stancrm22-May-06 0:51 
Questionform Authenication with users in databse Pin
saud_a_k17-May-06 18:44
saud_a_k17-May-06 18:44 
I have user table.. (Uid, Uname, Upwd) , I need to authorize users like for each form. Im loging in like..
txtUserName + txtPwd->check for User exists in DB : login,Session["login"]=true, Session["UID"] else error,Session["login"]=false
simple...
But I dont want to checkup the Session varible in each form and see if the user can be allowed to view the page.
So I check up form authentication... I got this example...

<authentication mode="Forms">
<forms loginUrl="Login.aspx" protection="All" timeout="30" path="/">
<credentials passwordFormat="Clear">
<user name="test1" password="test1" />
<user name="test2" password="test2" />
</credentials>
</forms>
</authentication>

here the user name and password are in the Web.config file..
There can be many users, so I cant put all of them here...
Is there a way?

_____________________________________________________
Yea! I could be wrong...

-- modified at 0:54 Thursday 18th May, 2006
AnswerRe: form Authenication with users in databse Pin
Kakuji17-May-06 18:52
Kakuji17-May-06 18:52 
GeneralRe: form Authenication with users in databse Pin
saud_a_k17-May-06 19:01
saud_a_k17-May-06 19:01 
GeneralRe: form Authenication with users in databse Pin
Colin Angus Mackay17-May-06 23:42
Colin Angus Mackay17-May-06 23:42 
GeneralRe: form Authenication with users in databse Pin
Colin Angus Mackay17-May-06 23:42
Colin Angus Mackay17-May-06 23:42 
AnswerRe: form Authenication with users in databse Pin
Colin Angus Mackay17-May-06 23:45
Colin Angus Mackay17-May-06 23:45 
GeneralRe: form Authenication with users in databse Pin
saud_a_k18-May-06 0:17
saud_a_k18-May-06 0:17 
QuestionDotNetNuke Skin Pin
Kakuji17-May-06 18:41
Kakuji17-May-06 18:41 
AnswerRe: DotNetNuke Skin Pin
leppie17-May-06 19:10
leppie17-May-06 19:10 
QuestionAdding new Rows to the Data base table Pin
Ashraj198217-May-06 18:21
Ashraj198217-May-06 18:21 
AnswerRe: Adding new Rows to the Data base table Pin
leppie17-May-06 19:12
leppie17-May-06 19:12 
GeneralRe: Adding new Rows to the Data base table Pin
rah_sin17-May-06 19:17
professionalrah_sin17-May-06 19:17 
GeneralRe: Adding new Rows to the Data base table Pin
leppie17-May-06 19:28
leppie17-May-06 19:28 
Questionhow to user mail merge feature of microsoft word from c# Pin
Amrit pal Singh17-May-06 18:19
Amrit pal Singh17-May-06 18:19 
QuestionSending multiple files through same TCP connection! Pin
eyej17-May-06 15:36
eyej17-May-06 15:36 
AnswerRe: Sending multiple files through same TCP connection! Pin
led mike17-May-06 18:15
led mike17-May-06 18:15 
AnswerRe: Sending multiple files through same TCP connection! Pin
leppie17-May-06 19:07
leppie17-May-06 19:07 
GeneralRe: Sending multiple files through same TCP connection! Pin
eyej18-May-06 2:08
eyej18-May-06 2:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.