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

Request is done twice randomly


Sometimes i call a Page, the request is done twice.

I happens randomly after a view serverroundtrips.

Any Idea ?

Nov 18 '05 #1
1 880

ok, I found a solution myself...

Maybe it helps if you have simular Problems.....

I don't know what causes this mistery but it can be solved by sending
a unique Identifier with the QueryString.

For example:

Instead of sending:

My.aspx?name=Rudi&age=12

I now send:

My.aspx?name=Rudi&age=12&UniqueId=1

If the same adress is called an other time again than i Call it with

My.aspx?name=Rudi&age=12&UniqueId=2
My.aspx?name=Rudi&age=12&UniqueId=3
and so on......
On Client side creating the UniqueId by using the Date Funktion

var actualDate = new Date();
window.open("My.aspx?name=Rudi&age=12&UniqueId='+a ctualDate.getTime(),'','');

so with every call the URL looks different and this seams to solve the problem......

Seems that sending the same URL twice causes the Trouble.........

"Captain Chaos" <no****@nospam.com> schrieb im Newsbeitrag news:bs*************@news.t-online.com...

Sometimes i call a Page, the request is done twice.

I happens randomly after a view serverroundtrips.

Any Idea ?


Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Bo Rasmussen | last post by:
Hi, I have a problem : I have a form with some buttons. When one of these buttons is pressed a new URL with some parameters to e.g. delete something from a database. The problem is that when the...
10
by: William L. Bahn | last post by:
I'm looking for a few kinds of feedback here. First, there is a program at the end of this post that has a function kgets() that I would like any feedback on - including style. Second, for...
10
by: Umut Tezduyar | last post by:
It seems, it is caching it. The following code is an example for it. How can avoid from this. override void OnLoad (sender and eventargs) { Control control = this.LoadControl (path);...
0
by: S.J | last post by:
Hello, I'm using a webservice to download data to the client software. Everything looks great, but I randomly get 400 "bad request", don't know why. The call doesn't change it's always same...
1
by: Elie Grouchko | last post by:
Hi I have an ASP page which is randomly (?) executed twice. I noticed that the http header is different, as if there are two different requests sent to the server. Header 2 below is the one that...
3
by: Ed Sonneveld | last post by:
Hi, I have hosted my webservice at a hosting company and it has been working fine for 2 years now. The webservice is called by winforms clients over the internet, using the proxy class generated...
4
by: Olivier Matrot | last post by:
Hello, I have a problem with an ASP.NET 2.0 Application. A client request is processed in parrallel by two threads. This ends with the following exception : <Source>System</Source> <StackTrace...
3
by: =?Utf-8?B?amRrYzRk?= | last post by:
I have been designing an application in Visual Studio 2005, and just about everything is working, except all of my events run twice. They run through correctly, but then they randomly run through...
3
by: Joseph Geretz | last post by:
I'm using the Request Filter documentation which can be found here: http://msdn.microsoft.com/en-us/library/system.web.httprequest.filter.aspx In this example, two filters are installed, one...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.