Wrox Programmer Forums
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 21st, 2007, 04:33 AM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trying to implement AJAX

Hello! I have a application with aspnet membership... profile... etc.

I'm trying to implement some ajax features.
I modified all my web.config with the issues of this page:

http://asp.net/AJAX/Documentation/Li...SPNETAJAX.aspx

My problem it's because after I made my web.config alterations I loose my "preserved login"

If I leave my application for more than 10 minutes, I loose login!
Before I made web.config additions this never happened!

If someone had this problem and found a solution please tell me!
Thanks!
Max

 
Old October 22nd, 2007, 10:17 AM
Friend of Wrox
 
Join Date: Feb 2006
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you mean to say that you're user is timing out after 10 minutes despite the default being 20 minutes or your setting in the web.config being some other time unit?
 
Old October 22nd, 2007, 01:35 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No... I have a loginView with a "Remember Me" checkBox

The method is:
FormsAuthentication.SetAuthCookie(txtUsername.Text , ckbRemember.Checked)

This worked until I updated my web.Config with AJAX stuff! I put everything that came in the page that I wrote on my previous post.

Before I update my web.config, If I checked on remember I always had my login preserved.
(If I closed the browser, turn off the pc etc... When I come to the page I didn't make the login because the system always check for the cookie)

After I update the webconfig The system don't preserve my login.
If I login on my site Now, (with remember checked) close the browser, wait some minutes (+/- 20m) and then reopen my application, I need to manually make login again :(






Similar Threads
Thread Thread Starter Forum Replies Last Post
implement ajax edit in place with asp kumiko Ajax 0 May 27th, 2008 10:49 AM
Recommend an AJAX IDE - JoyiStar AJAX WebShop. kingstar Ajax 4 December 15th, 2006 05:12 AM
New Ajax article: Creating an Ajax Search W jminatel BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 May 11th, 2006 03:45 PM
new Ajax article: Creating an Ajax Search Widget jminatel Ajax 0 May 11th, 2006 02:50 PM
New Ajax Article: Ajax Submission Throttling jminatel Ajax 0 April 11th, 2006 08:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.