|
| |
|
|
jenleo26
Posts: 6 Joined: 1/26/2005 Status: offline
|
" ' " in web address - 1/26/2005 10:39:16
I have a page that uses sessions with people's email addresses. I have ran across someone using jane.d.o'connor as an address and it's giving me errors. Is there a way around this? Here is an example of the full address: http://reporting.com/mylist.asp?email2=Jane.D.O'Connor@reporting.com Thanks! Jen
|
|
|
|
rdouglass
Posts: 9186 From: Biddeford, ME USA Status: offline
|
RE: " ' " in web address - 1/26/2005 11:35:36
Hi and Welcome to Outfront. Yes, apostrophes need to be dealt with but it's relatively easy using the replace function: <%myEmailVariable = replace(myEmailVariable,"'","''")%> Don't get confused by all the single and double quotes; it goes: myEmailVariable,comma,double,single,double,comma,double,single,single,double See if we replace a single apostrophe with 2 apostrophes, we can get the DB to accept it. That any help?
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
jenleo26
Posts: 6 Joined: 1/26/2005 Status: offline
|
RE: " ' " in web address - 1/26/2005 13:40:28
Thank you very much! One question, will it still query the database for the correct email address - the one that contains the single quote?
|
|
|
|
jenleo26
Posts: 6 Joined: 1/26/2005 Status: offline
|
RE: " ' " in web address - 1/26/2005 19:47:17
Yes, Thank You!!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|