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!

javascript and integrated authentication

Status
Not open for further replies.

novitom

Instructor
Apr 30, 2007
1
GB
Hi

I have an intranet site built on .net 1.1 that uses integrated authentication against AD to log users in automatically when they visit the site.

What I'd like to do is when a user firsts visits the site, if they have clicked on a link to get to the site, I want to store what the user requested including variables e.g. so that after the intranet application does all the sign in stuff, I can send them to what they actually asked for.

The problem I have is that the application does the redirection at the moment, but loses the variables in the url.

I kind of understand ASp .net, and JavaScript to a greater degree, so I'd like to implement something that's easy for me.

Thanks
 
You can't use Javascript to pull information from the query string, that is done server side.

[!]var=4&dev=6[/!]

At the top of your asp.NET page, grab these variables (the highlighted ones) like so:
Code:
Dim varSS, devSS
Set varSS = Request.QueryString("var")
Set devSS = Request.QueryString("dev")

If you have any questions about this, please ask in the asp.NET forum: forum855

[monkey][snake] <.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top