471,595 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

asp redirect with POST-like data

I've got a page login.asp that depending on ther sending method displays a login page or validates the user.
if GET method used it shows the login page. if POST method used it validates the user and does the stuff i need.
i need to ommit the login process. from some other asp page (redirector.jsp) i need to redirect it to the login page with the post stuff i need.
If it was get method it would be the redirector to
/login.jsp?vLogin=name&vPass=Password
how can it be interpreted as POST data?
Jan 23 '07 #1
1 1987
For login it is not suitable to use GET method as you can see the password as part of the URL.

So what you should do is to use only the POST method. But inorder to restrict user that does not log in from accessin certain page, you should use the Session object instead.
Jan 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by Bob Garbados | last post: by
5 posts views Thread by Simon | last post: by
7 posts views Thread by Donna Hawkins | last post: by
6 posts views Thread by DotNetGruven | last post: by
8 posts views Thread by Mantorok | last post: by
5 posts views Thread by sck10 | last post: by
2 posts views Thread by susb8383 | last post: by
reply views Thread by Anwar ali | last post: by

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.