Click here to Skip to main content
15,911,035 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: problem with session Pin
Christian Graus19-Mar-09 18:28
protectorChristian Graus19-Mar-09 18:28 
AnswerRe: problem with session Pin
Abhijit Jana19-Mar-09 18:40
professionalAbhijit Jana19-Mar-09 18:40 
GeneralRe: problem with session Pin
prasadbuddhika19-Mar-09 19:03
prasadbuddhika19-Mar-09 19:03 
GeneralRe: problem with session Pin
Abhijit Jana19-Mar-09 19:10
professionalAbhijit Jana19-Mar-09 19:10 
GeneralRe: problem with session Pin
prasadbuddhika19-Mar-09 19:20
prasadbuddhika19-Mar-09 19:20 
QuestionHTML Login Controls help! Pin
Necron819-Mar-09 14:11
Necron819-Mar-09 14:11 
AnswerRe: HTML Login Controls help! Pin
Stein The Ruler19-Mar-09 16:11
Stein The Ruler19-Mar-09 16:11 
GeneralRe: HTML Login Controls help! Pin
Necron820-Mar-09 1:06
Necron820-Mar-09 1:06 
Yes I get the idea, so I make my custom controls using textboxes/labels/buttons etc to connect to my database. So that's problem solved.
Second prob which is of administration. so I add a field to the client table as IsLoggedIn (as bool - Yes/No) and make a session. Now do I have to create the session in the master page? And how should i create it?

Also another idea is:
For the administration page, while the user logs in, I check for the username and password the client has together with his permission. If the username and password match, the user is logged in as a normal registered user (if permission is User). If the username and password entered are in the database and his permission is Admin, he is redirected to the Admin page. Is that a secure solution or?

If you could send me some sample small login with the session please do so. I'm not requesting the whole code, just a sample so as to help me make this type of feature in my website. Thanks!

I thank you for the help and for administrators, sorry that I've made my question too long.

Thanks!
AnswerRe: HTML Login Controls help! Pin
Abhijit Jana19-Mar-09 18:43
professionalAbhijit Jana19-Mar-09 18:43 
AnswerRe: HTML Login Controls help! Pin
tech60320-Mar-09 17:39
tech60320-Mar-09 17:39 
QuestionImage.FromStream - Parameter is not valid. HELP! Pin
Stein The Ruler19-Mar-09 13:00
Stein The Ruler19-Mar-09 13:00 
AnswerRe: Image.FromStream - Parameter is not valid. HELP! Pin
Christian Graus19-Mar-09 13:16
protectorChristian Graus19-Mar-09 13:16 
GeneralRe: Image.FromStream - Parameter is not valid. HELP! Pin
Stein The Ruler19-Mar-09 14:01
Stein The Ruler19-Mar-09 14:01 
GeneralRe: Image.FromStream - Parameter is not valid. HELP! Pin
Christian Graus19-Mar-09 15:53
protectorChristian Graus19-Mar-09 15:53 
GeneralRe: Image.FromStream - Parameter is not valid. HELP! Pin
Stein The Ruler19-Mar-09 16:30
Stein The Ruler19-Mar-09 16:30 
GeneralRe: Image.FromStream - Parameter is not valid. HELP! Pin
Christian Graus19-Mar-09 17:08
protectorChristian Graus19-Mar-09 17:08 
QuestionCompareValidator firing server side on date input [modified] Pin
DanB198319-Mar-09 12:32
DanB198319-Mar-09 12:32 
AnswerRe: CompareValidator firing server side on date input Pin
DanB198320-Mar-09 2:33
DanB198320-Mar-09 2:33 
QuestionProblem with image transparent background Pin
StuffyEst19-Mar-09 9:25
StuffyEst19-Mar-09 9:25 
AnswerRe: Problem with image transparent background Pin
Christian Graus19-Mar-09 9:55
protectorChristian Graus19-Mar-09 9:55 
GeneralRe: Problem with image transparent background Pin
StuffyEst19-Mar-09 9:58
StuffyEst19-Mar-09 9:58 
QuestionDrag and Drop images using .net and flash Pin
dotnetlover_1119-Mar-09 8:06
dotnetlover_1119-Mar-09 8:06 
AnswerRe: Drag and Drop images using .net and flash Pin
Christian Graus19-Mar-09 9:53
protectorChristian Graus19-Mar-09 9:53 
QuestionSiteMapPath problem Pin
TAK7819-Mar-09 6:52
TAK7819-Mar-09 6:52 
Questionstress testing webservice Pin
dd31415919-Mar-09 6:25
dd31415919-Mar-09 6:25 

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.