We use an ISAPI filter to convert long urls into short clean ones.
For example:
"Site.com/user/john/"
Is re-written as:
"Site.com/user/userinfo.aspx?u id=john"
Now, "userinfo.a spx" contains a web user control which uses some Atlas functionality;
The web user control contains a "DataList" which gets updated asynchronously
through Atlas when the user clicks a button –the button is the Atlas trigger.
The page acts as it should when we access it using the actual (long) URL,
but when we use the clean url –which goes through the ISAPI filter- we get
a javascript alert through Atlas saying "Unknown Error" when we click the
trigger button.
Any help is greatly appreciated.
Thank you 4 1904
Hi,
Jeeran wrote:
We use an ISAPI filter to convert long urls into short clean ones. For
example:
"Site.com/user/john/"
Is re-written as:
"Site.com/user/userinfo.aspx?u id=john"
Now, "userinfo.a spx" contains a web user control which uses some Atlas
functionality; The web user control contains a "DataList" which gets
updated asynchronously through Atlas when the user clicks a button –the
button is the Atlas trigger.
The page acts as it should when we access it using the actual (long)
URL, but when we use the clean url –which goes through the ISAPI filter-
we get a javascript alert through Atlas saying "Unknown Error" when we
click the trigger button.
Any help is greatly appreciated.
Thank you
Normally, and if I am not mistaken, the URL rewriting shouldn't affect
the Atlas call, since the request sent is a normal HTTP request, and
since the redirect is done very early.
If I were you, I would try and use Fiddler to observe the HTTP traffic,
and see exactly what error is sent back from the server.
HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Hi Jeeran,
I agree with Laurent, generally speaking, the atlas components should work
transparently to underying IIS ISAPI's url rewriting. If the ISAPI fully
redirect all kinds of requests from faked url to its original url, it shoud
be expected to work. So is your ISAPI filter fully redirecting all kinds of
request( get , post ... ) or with different useragent or headers ?
Also, Jeeran's suggestion on using the Fiddler to trace the http
communication betwwen IE and webserver is a good idea. You can get the
fiddler tool from the following site: http://www.fiddlertool.com/fiddler/
Please feel free to post here if you have any further findings.
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Hello Steven Cheng[MSFT],
Thank you for the quick response.
We used the Actionless Form described in thie article, and it alls works
fine now. It seems the ISAPI filter handles GET requests by default, and
has to be explicitly told to handle GET requests. I will try that and see
if it works without the actionless form.
The fiddler tool turned out to be very handy, thanks Laurent.
Hi Jeeran,
I agree with Laurent, generally speaking, the atlas components should
work transparently to underying IIS ISAPI's url rewriting. If the
ISAPI fully redirect all kinds of requests from faked url to its
original url, it shoud be expected to work. So is your ISAPI filter
fully redirecting all kinds of request( get , post ... ) or with
different useragent or headers ?
Also, Jeeran's suggestion on using the Fiddler to trace the http
communication betwwen IE and webserver is a good idea. You can get the
fiddler tool from the following site:
http://www.fiddlertool.com/fiddler/
Please feel free to post here if you have any further findings.
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Thanks for your response Jeeran,
Glad that you've made progress on this issue.
Good luck!
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: somaboy mx |
last post by:
I'm looking for a way to come up with clean urls like
http://www.mysite.com/products/233 instead of
http://www.mysite.com/products.php?pid=233 without having to rely on
mod_rewrite or other server-specific solutions.
any suggestions, links to articles etc?
thanks.
..soma
|
by: Aintzane |
last post by:
Hi!
Sorry if I'm asking silly things, but I'm new with ISAPI Filters.
That's what my filter does. When a user makes a request
the filter verifies if the user has already entered his password. If
it hasn't been entered, the user is redirected to the
login page, and after that it's returned to the previously requested
page. But to do all this I need to keep some
information about the session, and in ISAPI filter each HTTP request
is "a...
|
by: balaji |
last post by:
How can i design an ISAPI Filter that works with IIS-6.0 on win 2003 platform.
I already have an ISAPI Filter that i designed for working with IIS 5.x and
that works fine .
I am finding a problem with the ISAPI Filter designed for IIS 6 since the
SF_NOTIFY_READ_RAW_DATA is not supported.
Can anyone suggest an alternative for the above notification?
thks for any help.
|
by: MadhaviAgashe |
last post by:
Hi,
I have developed a web service in C# and it has methods t
authenticate a user using Single Sign On.
I am trying to access this web service from an ISAPI filter which i
developed in VC++. I know that the property of my isapi filter has to b
customised to suit using a web service. Can someone help me in doin
this unmanaged to managed code access?
Regards,
Madhav
|
by: Jeremy |
last post by:
Hi there,
We recently upgraded to the 1.1 framework, and of course,
all of our 1.0 asp.net apps starting using the 1.1
framework, which we didn't want to happen.
I found an MS article saying if you modify the ISAPI
filter setting in IIS for the site to point to the 1.0
aspnet_filter.dll, your app will then use the 1.0
framework.
| |
by: Jon Maz |
last post by:
Hi All,
I've been looking into options for URL Rewriting in .net, and to be honest,
I haven't seen anything that's easier than the old Classic Asp solution with
an ISAPI filter redirecting to an .asp page with responsibility for handling
the redirect.
I'm now planning to use this solution with my next .net project, and was
wondering if anyone else out there has done this already, and what problems
(if any) arise. Hopefully the news...
|
by: Serg |
last post by:
How do I install ISAPI filter in IIS? I need ISAPI filter to process folder
paths such as http://MyUrl/folder1/folder2/folder3
There is no "ISAPI filters" tab in my IIS.
Thanks!
|
by: Yet another C# coder |
last post by:
Hi,
Does anyone know if in the next version of asp.net / C# (2.0)
Would be possible to write an ISAPI Filter in C#?
Thanx.
|
by: Chris Curvey |
last post by:
Hi all,
I'm trying to write an ISAPI filter in Python, using the examples that
come in the "isapi" directory of the win32com package. The
installation program itself runs fine, but when I examine the
properties of my web server, my filter has a big red down arrow next to
it. But I can't seem to figure out where I should be looking to find
the trouble. If anyone can point me to the right place (or see an
obvious error in the code...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |