I want to have a simplistic user login functionality.
Basically I don't want to bother setup the an identity database on my
ASP.NET webserver provider, I just want to hard code a very simple 1 hard
coded user (me), which could log in.
However I would like my simplistic customer identification process to play
nice with:
page.User
so login is automatically track and keep in the session.
Anyway to do that.
I have a simplistic login control, but I don't know what to to write in the
"Submit" button handler...
--
I have taken a vow of poverty. If you want to really piss me off, send me
money. 4 1172
Lloyd,
I would suggest you try the ASP.NET Forms Authentication.
At http://msdn.microsoft.com/library/de...entication.asp
you'll find a simple sample how to do it.
Marcus
Lloyd Dupont schrieb: I want to have a simplistic user login functionality. Basically I don't want to bother setup the an identity database on my ASP.NET webserver provider, I just want to hard code a very simple 1 hard coded user (me), which could log in.
However I would like my simplistic customer identification process to play nice with: page.User
so login is automatically track and keep in the session.
Anyway to do that. I have a simplistic login control, but I don't know what to to write in the "Submit" button handler...
-- I have taken a vow of poverty. If you want to really piss me off, send me money.
Real cool :-)
Thanks Marcus!
"theiwaz" <ma***********@ascirum.de> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com... Lloyd,
I would suggest you try the ASP.NET Forms Authentication. At http://msdn.microsoft.com/library/de...entication.asp
you'll find a simple sample how to do it.
Marcus
Lloyd Dupont schrieb:
I want to have a simplistic user login functionality. Basically I don't want to bother setup the an identity database on my ASP.NET webserver provider, I just want to hard code a very simple 1 hard coded user (me), which could log in.
However I would like my simplistic customer identification process to play nice with: page.User
so login is automatically track and keep in the session.
Anyway to do that. I have a simplistic login control, but I don't know what to to write in the "Submit" button handler...
-- I have taken a vow of poverty. If you want to really piss me off, send me money.
One more question.
I know that might sound silly when there is only one user but, anyway, what
if some of the resources I use Allow or Deny access based on the current
user's role?
How do I setup role with this (simple) Form authentication?
I did a quick search but didn't find an as simple answer....
"theiwaz" <ma***********@ascirum.de> wrote in message Lloyd,
I would suggest you try the ASP.NET Forms Authentication. At http://msdn.microsoft.com/library/de...entication.asp
you'll find a simple sample how to do it.
Marcus
Lloyd Dupont schrieb:
I want to have a simplistic user login functionality. Basically I don't want to bother setup the an identity database on my ASP.NET webserver provider, I just want to hard code a very simple 1 hard coded user (me), which could log in.
However I would like my simplistic customer identification process to play nice with: page.User
so login is automatically track and keep in the session.
Anyway to do that. I have a simplistic login control, but I don't know what to to write in the "Submit" button handler...
-- I have taken a vow of poverty. If you want to really piss me off, send me money.
found it: http://www.ondotnet.com/pub/a/dotnet...formsauth.html
"Lloyd Dupont" <net.galador@ld> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... One more question. I know that might sound silly when there is only one user but, anyway, what if some of the resources I use Allow or Deny access based on the current user's role? How do I setup role with this (simple) Form authentication?
I did a quick search but didn't find an as simple answer....
"theiwaz" <ma***********@ascirum.de> wrote in message Lloyd,
I would suggest you try the ASP.NET Forms Authentication. At http://msdn.microsoft.com/library/de...entication.asp
you'll find a simple sample how to do it.
Marcus
Lloyd Dupont schrieb:
I want to have a simplistic user login functionality. Basically I don't want to bother setup the an identity database on my ASP.NET webserver provider, I just want to hard code a very simple 1 hard coded user (me), which could log in.
However I would like my simplistic customer identification process to play nice with: page.User
so login is automatically track and keep in the session.
Anyway to do that. I have a simplistic login control, but I don't know what to to write in the "Submit" button handler...
-- I have taken a vow of poverty. If you want to really piss me off, send me money.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mads |
last post by:
Hi
we see some strange behavior with the latest version of our deployment package
Background
We have a .Net product that is deployed via a website. Developed with VS.Net 2003, the deployment...
|
by: I_AM_DON_AND_YOU? |
last post by:
There is one more problem I am facing but didn't get the solution. In my
Setup Program I am not been able to create 2 things (when the program is
intalled on the client machine ) : (1) create...
|
by: John |
last post by:
Hi
I have an app to deal with two companies A & B within a group of companies
depending on which database is selected. Is it possible for setup to ask the
user at install time which company they...
|
by: Sathyaish |
last post by:
I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I
also created a setup project to install the add-in. It all works well.
When the user double-clicks on the .msi file to...
|
by: A.Carter |
last post by:
I am developing a windows application with Visual Studio 2003 using C#. The
application is complete so naturally I went to create a setup package. I
added a setup project to the solution and I went...
|
by: Bob |
last post by:
I want my aps to the insalled as was the old way under c:\Program
files\Myapp or give the user the choice as before of installing the app in
another folder location.
That again no longer seems...
|
by: andrewbb |
last post by:
I want to deploy a service with a windows app and the setup program
must conform to the Vista certification requirements. Can that be
done with the standard .net setup project? Assuming cost is...
|
by: sanghavi |
last post by:
how to create a set up project in vb.net..how to run an application on a different machine
|
by: =?Utf-8?B?ZGF2aWQ=?= |
last post by:
Last week I asked a question about connection to database from client machine
(developer machine). I have changed the database security setup for "SQL
Server and Windows" under (local)Windows NT...
|
by: Norman Diamond |
last post by:
My C# code is I18N'ed by appropriately naming and editing .resx files. At
execution time, it works.
My C++ code is somewhat I18N'ed. When I put UI code in C++ I use .rc files.
When I link to a...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |