Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Pass Login Information In URL

Pass Login Information In URL

Pass Login Information In URL

OK....here's my problem. I am suporting a 3rd party asp.net web enterprise application. The application, like most, requires user authentication and therefore the "front page" is a login page. The user's credentials are stored in the application's database. So before proceeding beyond this page the user must enter his/her user name and password and then click the "sign in" button.

Because this is a web application it is possible to copy URLs from inside the application and send them to users. If you do this, when the user clicks on the url it first takes them to the login page and once they have logged in it then takes them to the page/record from which the url was copied. (this is good)

But...here's what I want to (need to) do.

In some cases we do not want the user to have to login. We want to embed the user name and password in the URL or pass it in some other manner.

In trying to do so I've traced the actual htpp traffic and post statements sent to the web application. I was able to trap the actuall concatenated url (including the user name and password). So I thought I was making progress. But when I manually constructed a similar URL and pasted it into a browser address bar it didn't work.

Any ideas?

Here's a few examples.

App login window URL


Sample URL that can be clicked which will first direct user to login and then will take user directly to record


I know this is as clear as mud but ask any questions which may help you help me.


-- Jason
"It's Just Ones and Zeros"

RE: Pass Login Information In URL

You'd need to ask your web app provider to accept GET as well as POST requests for the login.

If you do that, you should be able to pass all the details in the URL.

Hope this helps,


Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page @ Code Couch: http://www.codecouch.com/dan/

Code Couch Tech Snippets & Info: http://www.codecouch.com/

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close