.NET Ajax Extensions + Login Control

  • Thread starter Mike Gleason jr Couturier
  • Start date
M

Mike Gleason jr Couturier

Hi,

I put a Login control into an UpdatePanel to prevent the whole page refresh
when logging in. (The login control appears in every page of the site in the
corner).

When the user doesn't provide valid credentials, only the UpdatePanel
refreshes and the thing is working.

But when the user is valid, the Login control seems to refresh the entire
page, bypassign the UpdatePanel. (I don't have the DestinationPageURL filled
in.)

Is there a way to prevent this ?

Thanks

Mike
 
B

bruce barker

you cannot use ajax for login. an ajax call can not set the login cookie, of
if cookieless change the url.

if using a cookie for login, using javascript and a hidden iframe, you can
get a login that does not refresh the page.

-- bruce (sqlwork.com)
 
C

Cowboy \(Gregory A. Beamer\)

Those controls are not really compatible with the update panel, but Andrew
Frederick has a client side login method:
http://tinyurl.com/5rwdtm

Laurent Kempe also set up a login in a modal popup (not sure whether it
refreshes or not):
http://tinyurl.com/58l4tt

There is also an AJAX login system (open source) on Google code. You can
read about it here:
http://tinyurl.com/6cggvf

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 

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

Top