Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing variables to ASP

Status
Not open for further replies.

Tom123

Technical User
Apr 11, 2001
3
IE
Hi,

I am a Perl Rookie who is having a problem passing variables to ASP pages. I have tried two methods but have problems with these -

1) Create the redirect page in PERL and pass the variables in that ie ?name=xxxx&password=xxxxx
This is not the most ideal situation as I would like to hide the variables

2) Cookies. Again I am not too happy with this for a session only login, besides I am having problems reading in the cookie in my ASP page.

My questions are - Can I pass the variables in the ASP call and HIDE them?
Can I access the Session variable in Perl and then use it in the next ASP page?

Any help on this issue would be great.

Thanks,

Tom
 
I take it that this cannot be done.
 
you could pass them in a querystring to your asp, then redirect to another asp after storing them in a cookie. luciddream@subdimension.com
 
using a query string like that is a GET request. there is also the POST request method which is a little more obfuscated from the user's point of view. i'm not sure on the details of performing one from within a script, but i'm willing to bet either the CGI modules or the LWP ones have info on how to....

good luck. "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top