473,499 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Experts I have 2 questions remaining

Hello experts,

Using asp with javascript and after reading many articles I found that
1 way to hide url is to use frames. However, my application has a
form in which the user enter's values and clicks submit. I email is
then submitted to an individual the user selects. In that email there
is a link. I have 2 questions.

1)how do I hide the information that is shown when the user hover's
over the link in the email?
using Cdots this is the variable that holds the link. How do I modify
this so that if users hovers, they don't see the query variables.

Expand|Select|Wrap|Line Numbers
  1. URL = "<a href=" & "http://localhost/page1.asp?UserID=" & LastID & "&"
  2. & "HardwareID=" & HardwareID & ">" & "Click Here" & "</a>"
  3.  
2)I loose my frames portion when the users clicks on the link and is
directed to a page with a query string. However I have found some
code to try and work with this but it is not working. Maybe someone
could help me change/modify this code to work.

Here is my frame page
Expand|Select|Wrap|Line Numbers
  1. <script language="Javascript">
  2. var thatframe = 'test2.asp'
  3. if (location.search)
  4. {
  5. var thatframe =
  6. (location.search.substring(1,location.search.length))
  7. }
  8. var frameset = '<FRAMESET ROWS="93,*">'+'<FRAME NAME="thisframe" SRC="/
  9. banner1.asp" MARGINHEIGHT=0 MARGINWIDTH=0 FRAMEBORDER=0 SCROLLING=NO
  10. NORESIZE>'
  11. +'<FRAMESET COLS="100%">'+'<FRAME NAME="thatframe" SRC= "'+ thatframe
  12. +'" MARGINHEIGHT=0 MARGINWIDTH=0 FRAMEBORDER=0 SCROLLING=AUTO
  13. NORESIZE>'
  14. +'</FRAMESET>'
  15. document.write(frameset)
  16. </script>
  17. <HTML>
  18.  
Here is the portion of the code that I am supposed to add to the page
that the email link is directing too
Expand|Select|Wrap|Line Numbers
  1. {
  2. window.location = frame_builder +'?'+ window.location.pathname
  3. }
  4.  
When I click on the email link and it links to the page I still see
the url querystring attributes and I do not see my frames(banner1.asp
and test2.asp). Is there any way to modify this so it works and calls
both frames. Thanks experts.

Here is the email link that I took the code from
http://www.greggriffiths.org/webdev/.../framemanager/

Jun 5 '07 #1
4 1441
Lee
MrHelpMe said:
>
Hello experts,

Using asp with javascript and after reading many articles I found that
1 way to hide url is to use frames. However, my application has a
form in which the user enter's values and clicks submit. I email is
then submitted to an individual the user selects. In that email there
is a link. I have 2 questions.

1)how do I hide the information that is shown when the user hover's
over the link in the email?
using Cdots this is the variable that holds the link. How do I modify
this so that if users hovers, they don't see the query variables.
It would help to know why you want to hide the information.
There is no complete solution. The best solution for you will
depend on what you're hiding and why.

There's no reason why you should have to use a link at all,
or even query variables.

>2)I loose my frames portion
Do you loose them, or lose them? This is confusing because the
act of loosing something is generally intentional, while losing
something is more often an accident.
--

Jun 5 '07 #2
On Jun 5, 11:27 am, Lee <REM0VElbspamt...@cox.netwrote:
MrHelpMe said:
Hello experts,
Using asp with javascript and after reading many articles I found that
1 way to hide url is to use frames. However, my application has a
form in which the user enter's values and clicks submit. I email is
then submitted to an individual the user selects. In that email there
is a link. I have 2 questions.
1)how do I hide the information that is shown when the user hover's
over the link in the email?
using Cdots this is the variable that holds the link. How do I modify
this so that if users hovers, they don't see the query variables.

It would help to know why you want to hide the information.
There is no complete solution. The best solution for you will
depend on what you're hiding and why.

There's no reason why you should have to use a link at all,
or even query variables.
2)I loose my frames portion

Do you loose them, or lose them? This is confusing because the
act of loosing something is generally intentional, while losing
something is more often an accident.

--
Lee,

Thanks for your help. As for your first answer to question 1, I will
explain why.
I do not want users to see the url link when hovering over the email
text link because this would mean that they can easily change the
query string values and basically modify values in the database. I
understand that this is not a complete(security enabled) solution but
it will work for me:) As for your comment There's no reason why you
should have to use a link at all, or even query variables could you
please explain this with some code. The reason I have a link is
because the user who receives an email will click the link and either
approve or disapprove the item being ordered.

As for your second comment on my spelling:) well o.k. I didn't know
this was an English grammar session but your comment is justified:)
Hopefully you don't find anything wrong with the spelling on this
reply:) Thanks again Lee.

Jun 5 '07 #3
MrHelpMe said the following on 6/5/2007 8:10 AM:
Hello experts,

Using asp with javascript and after reading many articles I found that
1 way to hide url is to use frames. However, my application has a
form in which the user enter's values and clicks submit. I email is
then submitted to an individual the user selects. In that email there
is a link. I have 2 questions.

1)how do I hide the information that is shown when the user hover's
over the link in the email?
using Cdots this is the variable that holds the link. How do I modify
this so that if users hovers, they don't see the query variables.

Expand|Select|Wrap|Line Numbers
  1. URL = "<a href=" & "http://localhost/page1.asp?UserID=" & LastID & "&"
  2. & "HardwareID=" & HardwareID & ">" & "Click Here" & "</a>"
  3.  
There is nothing you can do to stop me from seeing a URL that a link
goes to. What you can do though is instead of putting the actual
information in the link, use a token and then look it up on the server
and retrieve the data.

<a href="page1.asp?transactionNumber = 123456">Click Here</a>

And then have the server look up transactionNumber 123456 and retrieve
LastID and HardwareID that is associated with that transaction.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jun 5 '07 #4
On Jun 5, 12:21 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
MrHelpMe said the following on 6/5/2007 8:10 AM:


Hello experts,
Using asp with javascript and after reading many articles I found that
1 way to hide url is to use frames. However, my application has a
form in which the user enter's values and clicks submit. I email is
then submitted to an individual the user selects. In that email there
is a link. I have 2 questions.
1)how do I hide the information that is shown when the user hover's
over the link in the email?
using Cdots this is the variable that holds the link. How do I modify
this so that if users hovers, they don't see the query variables.
Expand|Select|Wrap|Line Numbers
  1.  URL = "<a href=" & "http://localhost/page1.asp?UserID=" & LastID & "&"
  2.  & "HardwareID=" & HardwareID & ">" & "Click Here" & "</a>"
  3.  

There is nothing you can do to stop me from seeing a URL that a link
goes to. What you can do though is instead of putting the actual
information in the link, use a token and then look it up on the server
and retrieve the data.

<a href="page1.asp?transactionNumber = 123456">Click Here</a>

And then have the server look up transactionNumber 123456 and retrieve
LastID and HardwareID that is associated with that transaction.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/- Hide quoted text -

- Show quoted text -
Hey Randy,
Thanks for the response. So nothing can be done eh. Damn. I see
what you are saying with the token but if the user knows the
transactionNumber he/she could change it and pull the info. for that
number. This is what i am trying to eliminate.

Jun 5 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

53
3937
by: ROSY | last post by:
hello, response if u ,on all level of questions::: 1.how a self deletable .exe file deleted on some future date & time without invoking the .exe itself? 2.if we want that any wildcard...
23
5695
Niheel
by: Niheel | last post by:
In a word Please Don't OK I admit that was 2 words but nothing in software was ever specified properly. Here are the reasons why you should post in the forum rather than PMing a Community...
0
2143
MMcCarthy
by: MMcCarthy | last post by:
I've decided to replace the announcement with a sticky thread. Again I would like to welcome all experts to this forum. We are gaining some great experts who are contributing significantly to the...
28
15396
MMcCarthy
by: MMcCarthy | last post by:
Policies below superceded by FAQ Post Course Work Questions and Answers. ADMIN
0
7128
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7215
jinu1996
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...
1
6892
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...
0
5467
agi2029
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,...
0
3096
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...
0
1425
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 ...
1
661
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
294
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.