can anyone tell me how can i implement login feature like daniweb.
i am using asp.net with c#.

Member Avatar for simongh2

You just need a bit of ajax.

Create an ajax service, using what you like best eg, WCF, or ASMX. Use Javascript to pop-up the login. Send the credentials to your ajax service (over HTTPS of course). If you get a true back, redirect, reload or whatever you want to do. You'll need to pass a cookie, or other protected value so you know the suer has been authenticated.

You could also make the form post to another location, which is what appears to happen here. In that case, asp.net has a feature that lets you post across pages.

Simon

PLS insert code for this topic
TANKS A LOT...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.