Click here to Skip to main content
15,039,359 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
sir i want to create database tables with my own,in sql server for roles and membership.I want to create my own login, create user. in
I want to use Authentication and Authorization without cookiee
Smithers-Jones 1-Dec-11 6:50am
Permission granted. Now proceed.
Wonde Tadesse 1-Dec-11 20:12pm
karylle 1-Dec-11 20:50pm
Philippe Mori 1-Dec-11 19:59pm
If you don't use cookie, what will you be using to remember which user is logged. The query string?
vardhamanpatil 2-Dec-11 1:33am
Thank you sir for your help.
[no name] 1-Dec-11 20:59pm
Are you asking for our permission to allow you in doing this?

The information is already saved in a SQL database (in you select that option) and all the code is already there for membership. Just modify the things you like to change if you want it to be somewhat different than the default.

As far as I remember, it is already possible to specify to store the view state in the query string thus you can eliminate cookies if you want.

But in pratice, I think it is less secure to do it that way as it is easier to copy and paste a web address than cookie information. So you would typically have to somehow ensure that you properly handle those cases.
Like reinvent the wheel?

Read this bunch, it has many things(18 parts)

Examining ASP.NET's Membership, Roles, and Profile[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900