473,321 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Membership Problem

Hi, I have a membership problem I couldn't resolve. I have set up membership
as most of tutorial instructed, and I am able to log on, but cannot stay log
on for some reason. ex: when I log on, the log in become log on, but when I
access the protected page, it still prompt me for log in. Please help!
Aug 25 '06 #1
4 1217
Jay
well first, how are you storing your "login"

are u using cookies? or sessions? or what?
no one can help you without any of this information. And there is probably
more that you need to submit.
Thanks,
Jay
"Scatir" <Sc****@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
Hi, I have a membership problem I couldn't resolve. I have set up
membership
as most of tutorial instructed, and I am able to log on, but cannot stay
log
on for some reason. ex: when I log on, the log in become log on, but when
I
access the protected page, it still prompt me for log in. Please help!

Aug 25 '06 #2
Scatir wrote:
Hi, I have a membership problem I couldn't resolve. I have set up
membership as most of tutorial instructed, and I am able to log on,
but cannot stay log on for some reason. ex: when I log on, the log in
become log on, but when I access the protected page, it still prompt
me for log in. Please help!
I haven't a clue what you are talking about, but if, as I suspect, you're
talking about asp.net:

There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Aug 25 '06 #3
I am using SQL to store the membership,

the code in web.config is as follow,

<roleManager enabled="true"/>
<authentication mode="Forms"/>
<membership defaultProvider="MembershipProvider">
<providers>
<add name="MembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="DataConnection" minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"/>
</providers>
</membership>

"Jay" wrote:
well first, how are you storing your "login"

are u using cookies? or sessions? or what?
no one can help you without any of this information. And there is probably
more that you need to submit.
Thanks,
Jay
"Scatir" <Sc****@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
Hi, I have a membership problem I couldn't resolve. I have set up
membership
as most of tutorial instructed, and I am able to log on, but cannot stay
log
on for some reason. ex: when I log on, the log in become log on, but when
I
access the protected page, it still prompt me for log in. Please help!


Aug 25 '06 #4
Sorry that I didn't realize this is a classic ASP newsgroup. Ya, it is
regards to ASP.Net, thanks for the help.

"Bob Barrows [MVP]" wrote:
Scatir wrote:
Hi, I have a membership problem I couldn't resolve. I have set up
membership as most of tutorial instructed, and I am able to log on,
but cannot stay log on for some reason. ex: when I log on, the log in
become log on, but when I access the protected page, it still prompt
me for log in. Please help!

I haven't a clue what you are talking about, but if, as I suspect, you're
talking about asp.net:

There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Aug 25 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the...
9
by: Paul Keegstra | last post by:
Hi, I am currently working on an asp.net 2.0 web site that is a replacement of a classic asp web site. The current web site uses a Commerce Server 2002 database for storing user information. ...
5
by: Vishal Gupta | last post by:
Hi This is Vishal this side.I have been trying to create a new sample website using the new Membership Provider Class. Now when I try to a create a new website and then hit on the Website...
3
by: ryan.mclean | last post by:
Hello everyone, I am wondering, can the membership provider be changed at runtime? Perhaps the connectionStringName? I would like to use a different database based on the server the site is...
6
by: Scatir | last post by:
Hi, I have a membership problem I couldn't resolve. I have set up membership as most of tutorial instructed, and I am able to log on, but cannot stay log on for some reason. ex: when I log on, the...
4
by: =?Utf-8?B?Q2hyaXMgQ2Fw?= | last post by:
I have been having some trouble with implementing a custom Membership Provider. We have a custom data store and business logic that pulls user information. I need some level of functionality...
4
by: Ben | last post by:
Hi, i have already posted a more or less similar thread but it's gone unsolved with the flow of the other threads .. When an anonymous user has created an new account (with the...
1
by: =?Utf-8?B?ZVByaW50?= | last post by:
Asp.Net v2.0 I have created a web application and I am using it from a single website and database. The web application has different ‘portals’ – each independent and I am using the...
1
by: =?Utf-8?B?ZVByaW50?= | last post by:
Asp.Net v2.0 I have created a web application and I am using it from a single website and database. The web application has different ‘portals’ – each independent and I am using the...
8
by: Nick | last post by:
Hi there, Membership.GetNumberOfUsersOnline() works great the first time, then jumps up to the number of users registered in the system. I have tried enumerating through each user individually...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
0
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...
0
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...
1
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)...
1
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.