Skip to Content
0
Former Member
Oct 20, 2005 at 02:19 PM

URL formatting in BSP page

40 Views

In my bsp i show links like this:

<a href="<%= st_info-lfurl %>" target="_blank"><%= st_info-lfurl %></a>

If st_info-lfurl contains no protocol (like http://) the system tries to open the url with the sessionurl.

for example (no protocol):

http://server/de(bD1kZSZjPTAwOCZ3PTczODAwMDAr)/www.test.at

for example (with protocol):

http://www.test.at

Of course example 1 ends with an BSP Exception.

Sometimes st_info-lfurl contains a protocol sometimes not - so how can i solve this problem ?