Membership Problem

S

Scatir

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!
 
J

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
 
B

Bob Barrows [MVP]

Scatir said:
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.
 
S

Scatir

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>
 
S

Scatir

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top