Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-18-2002, 06:40 AM   PM User | #1
Bret
New to the CF scene

 
Join Date: Jun 2002
Location: Brisbane Australia
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Bret is an unknown quantity at this point
User Name and password

How do you include a User name and Password in a hyperlink to a secured site
Bret is offline   Reply With Quote
Old 06-18-2002, 11:01 AM   PM User | #2
head8k
New Coder

 
Join Date: Jun 2002
Location: London & Oxford
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
head8k is an unknown quantity at this point
Your question is not easily answered without knowing more information about the environment which it is to be used in.

Presumably the username and password are coming from some kind of database on your server or maybe even the authentication system that comes by default on your server platform?

Why not use a sesssion variable so that you know your user is logged in. You can then check for this variable on each page (using a server-side language such as ASP or PHP) and redirect the user to the login page accordingly.

If you can explain in a bit more detail what you are trying to do (and the language you are trying to do it in), I'm sure someone here will be able to explain things a bit further.
__________________
As easy as 3.1415926535897932384626433832795028841
head8k is offline   Reply With Quote
Old 06-18-2002, 09:15 PM   PM User | #3
Jeewhizz
Regular Coder


 
Join Date: May 2002
Location: London, England
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
Jeewhizz is an unknown quantity at this point
The usual way of doing it is like this

http://username:password@www.site.com

Jee
__________________
Jeewhizz - MySQL Moderator
http://www.sitehq.co.uk
PHP and MySQL Hosting
Jeewhizz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:04 PM.


Advertisement
Log in to turn off these ads.