You said it is something with Lotus Notes, So maybe you could go to Lotus Notes forum to know more about the solution.
If you have any question, please let me know.
Thanks,
Amy Peng
Please mark the replies as answers if they help or unmark if not.
Feedback to us
lordplazikov...
Member
195 Points
319 Posts
Querystring not showing in url
Dec 14, 2012 08:55 AM|LINK
Hi all,
I use a mail to warn my users when a step is taken in the application, now I send the mail and the label link shows perfect
ex.: portal.histogenex.com/excon/CO-NC/ActionPlanDetail.aspx?id=3
When I click the link it redirects to portal.histogenex.com/excon/CO-NC/ActionPlanDetail.aspx
The code is exactly the same:
MailHelper.SendMailMessage(Session("mailer"), cmmail, "", "", "Action Plan Accepted", "Beste " + naam + ", </br></br>" + "Your Action Plan is accepted by the QA-Manager.</br></br> <a href='" + Request.ServerVariables("SERVER_NAME") + Request.RawUrl + "'>" + Request.ServerVariables("SERVER_NAME") + Request.RawUrl + "</a>", "")Anyone a suggestion why this doesn't work?
Thanks in advance.
HostingASPNe...
All-Star
15882 Points
2977 Posts
Re: Querystring not showing in url
Dec 15, 2012 06:50 AM|LINK
Hello,
You could check if there is a querystring parameter. See more details at http://forums.asp.net/t/1365563.aspx/1.
Regards
Free ASP.NET Examples and source code.
RameshRajend...
Star
7983 Points
2099 Posts
Re: Querystring not showing in url
Dec 15, 2012 04:02 PM|LINK
Check
http://forums.asp.net/t/1405907.aspx/1
Prathap Kuma...
Member
615 Points
163 Posts
Re: Querystring not showing in url
Dec 16, 2012 02:16 AM|LINK
Prathap
Amy Peng - M...
Star
10199 Points
964 Posts
Microsoft
Re: Querystring not showing in url
Dec 19, 2012 01:05 AM|LINK
Hi lordplazikovbj5,
I guess the id is a parameter and different user has different id, am I right?
You can use the url rewriting, here are some links about
Url Rewriting: http://coding.smashingmagazine.com/2011/11/02/introduction-to-url-rewriting/ .
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx .
http://wordpress.stackexchange.com/questions/61971/how-can-i-rewrite-a-page-url-based-on-query-string-parameters .
Thanks,
Amy Peng
Feedback to us
Develop and promote your apps in Windows Store
lordplazikov...
Member
195 Points
319 Posts
Re: Querystring not showing in url
Dec 19, 2012 07:25 AM|LINK
That isn't really what I'm looking for, the id must show in the URL but it doesn't show in it :s.
But the weird thing is it does show in the label ...
bhushan_bhar...
Participant
1508 Points
581 Posts
Re: Querystring not showing in url
Dec 19, 2012 07:41 AM|LINK
Have a look this link
Here the code is used to send email with querystring..
http://usingaspdotnet.blogspot.in/2011/07/sending-reset-password-link-for-one.html
Thankx
Bharat Bhushan
Useofasp.net/
Howtouseasp.net
lordplazikov...
Member
195 Points
319 Posts
Re: Querystring not showing in url
Dec 19, 2012 08:51 AM|LINK
I tested the URL in Outlook and this worked perfect.
I tested the URL in Lotus Notes and he doesn't place ?id=1 behind it ...
So the problem is something with Lotus Notes.
Amy Peng - M...
Star
10199 Points
964 Posts
Microsoft
Re: Querystring not showing in url
Dec 24, 2012 12:13 AM|LINK
Hi lordplazikovbj5,
You said it is something with Lotus Notes, So maybe you could go to Lotus Notes forum to know more about the solution.
If you have any question, please let me know.
Thanks,
Amy Peng
Feedback to us
Develop and promote your apps in Windows Store
lordplazikov...
Member
195 Points
319 Posts
Re: Querystring not showing in url
Dec 24, 2012 07:08 AM|LINK
I found the solution, the link was portal.histogenex.com.
Outlook recognises the URL and places http:// before the link and lotus notes doesn't.
So problem solved by putting http:// before every link.
Thanks for helping me out guys !