HolidayBuyer's Guide

Web Hosting, Design, & Coding forum

General discussion

Automatic Login

by Sovereign Forum moderator / March 31, 2004 4:21 PM PST

OK, please look here to understand my question. As you can see at the bottom of that page are pictures of houses. When a client clicks on their house, they can login to see more pictures. When I create a page like that, I always send out invitations to the client and their family or friends. In that email I would like to have a link, a special link, that when they click it, it fills in the username and password automatic- then they can click remember and never have to worry about it. In the email it says what username and password is, it's just a pain to go back to the email rememeber username, go back and look at password... etc. I just thought it would be easier the other way. Now the probably biggest question is: Is there such script/link?

Discussion is locked
You are posting a reply to: Automatic Login
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Automatic Login
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re:Automatic Login
by David Solum / April 1, 2004 7:52 AM PST
In reply to: Automatic Login

It's less secure than having the user fill out the information in a posted form, but you can include the username and password values in the link itself, as in:

Fill in the ... with valid username and password values.

Your login code will then have to read query string parameters rather than just form parameters. Don't worry though, in many environments the same code reads both.


Collapse -
Re:Automatic Login
by ezbesthost1 / April 22, 2004 10:39 PM PDT
In reply to: Automatic Login

One possible solution is to use sessions that are based on cookies. Your vistors should be aware that they(if you use this) are required to accept cookies, or should place your URL in the friendly zone. If they lose their cookie(due to a crash, reformat, etc,) they should have a provision to login. This is much like many large portal sites use where they have a "remember me" check-box. There are numerous free and GPL scripts at

Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Cameras that make great holiday gifts

Let them start the new year with a step up in photo and video quality from a phone.