473,405 Members | 2,344 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,405 software developers and data experts.

AJAX Update Panel Login timeout issue.

Desperately need help. We are using a .Net AJAX control panel and having an issue with when a user times out of our Authenication platform. If a user stays on the screen with no activity for 15mins they are unauthenicated in the background. If they then decide do a update/event on that page the response is a login page that is causing a error. We are trying to create a script that can read the response for a HTML tag of the response and if it is a certain string send the page to login.aspx. Any ideas or help would be greatly appreciated.
Saint
Feb 4 '08 #1
4 2660
iam_clint
1,208 Expert 1GB
sure its possible what part are you getting hung up on?
Feb 4 '08 #2
I am hung up on how to evaluate the response with javascript. Looking for a tag element. For example <title> .....This is the best way I can see of handling this error any other suggestions would be greatly appreciated.
Feb 4 '08 #3
We have got this working but it is too general for the error handling. We would like to interogate the response data possibly and if its the login page take action

if (Args.get_error() && Args.get_error().name === 'Sys.WebForms.PageRequestManagerParserErrorExcepti on')
{
alert('Caught a PageRequestManagerParserErrorException!');
}
Feb 4 '08 #4
iam_clint
1,208 Expert 1GB
I will need more information such as
What type of error is displaying
-an ajax error
-a html error
-a javascript error


do you need ajax error handling
javascript error handling
serverside error handling

I need more details

you can read an html tag via document.getElementsByTagName("insertagname");

which is going to be an array of tags with that tag name which can be viewed vie document.getElementsByTagName("insertagname")[arraynumber]

and you can get its innerhtml like this document.getElementsByTagName("insertagname")[arraynumber].innerHTML
Feb 4 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Bruno Alexandre | last post by:
Hi guys, I have this page that needs to be populated with 2 diferent web services, and each one takes more or less 10 seconds to finish populate his own part, so I move on to the multi threading...
2
by: DanWeaver | last post by:
I have a page where layout of buttons and listboxes etc is important - I would like to make use of Ajax Update panel to asynchronously update various part of the page- in Vis studio whenever I use...
0
by: Phillip Ian | last post by:
Tried this over in CSharp.General and didn't get anything, so I thought I'd try again here. If there's an AJAX specific group I could ask this in, please let me know...I did look. I'm trying to...
2
by: Angel666 | last post by:
We are using forms authenication with AJAX update control panels. We get various results but no redirect when the user has timed out and is no longer authenicated and does a asyncpostback. We...
1
by: db007 | last post by:
Hi, I have a problem with a current project and the scroll position. I have an AJAX enabled website using Visual Studio 2005 and ASP.Net 2.0. The project also uses masterpages. On the...
1
by: sweatha | last post by:
I have designed the login form with 3 panels. In the first panel I have the login verification such as login id, password, login button and forgot password link button. In the second panel I have...
3
by: Microsoft Newsserver | last post by:
I am running ASP.NET 2.0 with Ajax. I am invoking an asyncronous postback by invoking a button click which triggers the async postback. This works fine, but I need to take into consideration...
6
by: Scott M. | last post by:
What is the version number of AJAX when we talk about ASP .NET AJAX in VS 2008?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.