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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capture SessionID from another webpage?

Status
Not open for further replies.

DVDGirl

Programmer
Mar 29, 2001
42
US
Hi -
We want to capture a 3rd party's session ID. The reason is because we want our users to login into our site, then when they click the 3rd party's link, they will be automatically be logged in and taken to the password-protected pages.

We know that we can replicate the entire link (including an encrypted password and username), however the link calls for a session id that the 3rd party's site generates. When we load the login page, the session ID can be seen via view code.

Does anyone know of a way to "grab" it (perhaps from the view source, or something like that)? The session ID doesn't appear to be anywhere on the login page itself (no hidden text fields, etc.)

Anyone have any ideas or suggestions?

Thanks in advance for any help.

-DVD Girl
 
I'm not sure I understand correctly but if you need the session ID for use then you can just get it again via
id = Session.SessionID
then use this var in the link
am I close[lol] You cannot mandate productivity, you must provide the tools to let people become their best.
-Steve Jobs
admin@onpntwebdesigns.com
 
hi DVDGirl,

not possible with js: js has no access to windows outside of the current window's domain - meaning a page at cannot read window.location (or any other property) for a page at
=========================================================
if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top