473,396 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to hide the text in url?

Me
I am passing the userid and password from one asp page to another,
how can I restrict it from displaying it on the url?

Eg. http://mywebsite/employeeinformation...ariable=myname

I would like it to show just
http://mywebsite or at the most http://mywebsite/employeeinformation.asp.

Thank you,
-Me

Sep 19 '06 #1
6 1416
Me wrote:
I am passing the userid and password from one asp page to another,
how can I restrict it from displaying it on the url?

Eg. http://mywebsite/employeeinformation...ariable=myname

I would like it to show just
http://mywebsite or at the most
http://mywebsite/employeeinformation.asp.
Simple. don't pass sensitive information in the URL. Use the Session
object to preserve this information - no need to pass it from page to
page.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Sep 19 '06 #2
Stick it in a session var?, a DB?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Me" <Me@discussions.microsoft.comwrote in message
news:43**********************************@microsof t.com...
I am passing the userid and password from one asp page to another,
how can I restrict it from displaying it on the url?

Eg. http://mywebsite/employeeinformation...ariable=myname

I would like it to show just
http://mywebsite or at the most http://mywebsite/employeeinformation.asp.

Thank you,
-Me

Sep 19 '06 #3
Me wrote:
I am passing the userid and password from one asp page to
another, how can I restrict it from displaying it on the
url?

Eg. http://mywebsite/employeeinformation...ariable=myname
If you do not want credentials in the querystring, do not put them there.

That leaves the rest of the request, including headers. None of these is an
especially great parking place for credentials unless you are using SSL.

The *simplest* solution is probably to use integrated Windows security.
Alternately, you could store credentials in session variables. Your question
is far to general to merit further comment.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Sep 19 '06 #4
Me
Thank you Steve,
-Me

"Steven Burn" wrote:
Stick it in a session var?, a DB?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Me" <Me@discussions.microsoft.comwrote in message
news:43**********************************@microsof t.com...
I am passing the userid and password from one asp page to another,
how can I restrict it from displaying it on the url?

Eg. http://mywebsite/employeeinformation...ariable=myname

I would like it to show just
http://mywebsite or at the most http://mywebsite/employeeinformation.asp.

Thank you,
-Me


Sep 20 '06 #5
Me
Thanks Bob,
-Me

"Bob Barrows [MVP]" wrote:
Me wrote:
I am passing the userid and password from one asp page to another,
how can I restrict it from displaying it on the url?

Eg. http://mywebsite/employeeinformation...ariable=myname

I would like it to show just
http://mywebsite or at the most
http://mywebsite/employeeinformation.asp.
Simple. don't pass sensitive information in the URL. Use the Session
object to preserve this information - no need to pass it from page to
page.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Sep 20 '06 #6
Me
Thank you Dave, I realized that I need help in setting up session variables.

-Me

"Dave Anderson" wrote:
Me wrote:
I am passing the userid and password from one asp page to
another, how can I restrict it from displaying it on the
url?

Eg. http://mywebsite/employeeinformation...ariable=myname

If you do not want credentials in the querystring, do not put them there.

That leaves the rest of the request, including headers. None of these is an
especially great parking place for credentials unless you are using SSL.

The *simplest* solution is probably to use integrated Windows security.
Alternately, you could store credentials in session variables. Your question
is far to general to merit further comment.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Sep 20 '06 #7

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

Similar topics

19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
10
by: oLE | last post by:
I would like to add some javascript to show/hide a certain row of a table. The first row of the table contain the hyperlink that calls the javascript the second row is the one i want to show/hide...
2
by: MOHSEN KASHANI | last post by:
Hi, I am trying to hide some form elements in a form by default and show/hide depending on which radio button is clicked. This is what I have but it is not working: <head> <style> ..noshow {...
7
by: FP | last post by:
I'm new to Java Script. I'm displaying comments people have made. Below each persons' comment I want to add 2 buttons "Reply" and "Amend". Clicking "Reply" would display an empty text field...
1
by: asilverpeach | last post by:
Hey Guys! Found some great scripts here on this topic but have to make to changes to the code that I can't seem to figure out. First, In the following code clicking on the headers shows the...
5
by: ali | last post by:
Hello every one i need you help regarding div hide and show. i am having a link like <a href="#" onClick="expandWin()">show/hide </a> <div id=showHide> </div> within div i have lots of...
1
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. ...
10
by: sara | last post by:
Hi - Is it possible to hide the detail section of a report at run time? I have a report that prints all details, with summary lines. The user would like the report ALSO with just summary lines....
6
by: Doogie | last post by:
Hi I have an img control I am trying to hide upon certain types of commands in my code behind. When to hide it is directly tied to a asp:dropdownlist control. So depending on what the user...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.