Click here to Skip to main content
13,097,012 members (74,893 online)
Rate this:
Please Sign up or sign in to vote.
See more:
My problem is that I am unable to navigate from one page to external links.
I have a page having a hyperlink
<a href="<%=uid %>&pwd=<%=Rpwd %>" target="_blank"  önclick="javascript:resettime()">Click to Go</a>

am passing the user ID and password to that page
but my problem is that that site uses session and cookies.
Due to which with each login the address of that particular
site is embedded with a session ID like

which is overriding the address what I am passing in Hyperlink.

The need is when user clicks on the hyperlink they should directly get login to
that site with the user login credentials passed through the hyperlink.

Any Ideas how to solve this Issue.
Posted 2-Jan-13 19:46pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The two sites will need to share a data store, and have a mechanism so you can work out the session id that you need to pass to log in the same user via the URL. You should use a GUID if you can and erase it so it only works once, or it's a major security hole.
Karwa_Vivek 3-Jan-13 1:52am
Yes both site can share data..What is GUID this point,Security issue is not so important.
Can you describe it a bit more
Christian Graus 3-Jan-13 1:53am
A guid is a unique string. Too long to guess. Security is ALWAYS important

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100