J
Jan - LundK
Hi,
I have a strange problem with my ASP.NET page. We have a function that
creates a mailto: link based on e-mails you can select. This can be many
e-mails, so the link can get very long. It works fine when protected mode in
IE is on, but when I turn it off, the browser just opens a blank page. This
happens when the length of my mailto: link gets over 508 characters. I
googled (and binged!) for this and found out that 508 characters is a
restriction for bookmarklets. So I guess the same restrictions apply to my
mailto: link.
Does anybody have an idea how to work around this behaviour? I read
something about client-side scripting, but I am not sure how to implement it
or if there is a better way.
You can reproduce the behavior without using ASP.NET, just create a blank
html page and insert a mailto: link with more than 508 characters. You have
to put it on an IIS server, opening the page from file system does not work
anyway.
Even if this is not really ASP.NET related, I posted it here because I need
a solution that works with ASP.NET.
Bye and thanks,
jan
I have a strange problem with my ASP.NET page. We have a function that
creates a mailto: link based on e-mails you can select. This can be many
e-mails, so the link can get very long. It works fine when protected mode in
IE is on, but when I turn it off, the browser just opens a blank page. This
happens when the length of my mailto: link gets over 508 characters. I
googled (and binged!) for this and found out that 508 characters is a
restriction for bookmarklets. So I guess the same restrictions apply to my
mailto: link.
Does anybody have an idea how to work around this behaviour? I read
something about client-side scripting, but I am not sure how to implement it
or if there is a better way.
You can reproduce the behavior without using ASP.NET, just create a blank
html page and insert a mailto: link with more than 508 characters. You have
to put it on an IIS server, opening the page from file system does not work
anyway.
Even if this is not really ASP.NET related, I posted it here because I need
a solution that works with ASP.NET.
Bye and thanks,
jan