Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2004, 06:07 PM
Registered User
 
Join Date: Jun 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing info between applications privately

Hi
I have a number of applications and keep the userid of the user in the Session variable when he is in any one of them. Problem is that when he moves to another application , I dont want him to have to sign in again obviously so I need to the pass the info.
I could do it with query strings/ Response object but I think that will show the details to publicly.
How can I pass the infor without it being visible to the user?

Dougie
(Scotsman living in South Africa)

 
Old June 22nd, 2004, 10:52 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

As I know, every authentication is known for its project & DLL.
But I guess u can control & check the use when he switch between projects & do authentication Job using ist Session!

HTH.

Always:),
Hovik Melkomian.
 
Old June 23rd, 2004, 05:36 AM
Registered User
 
Join Date: Jun 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have checked, and indeed the Session variables are wiped when it goes to a different project.
The question is really more about how to pass the variable to the new page without using query strings which show the info to all and sundry!
Thanks

Dougie

 
Old June 23rd, 2004, 09:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

If the URL root is the same, you can use cookies to pass an authentication token (that you create yourself) among the applications.

If they are not- you have to pass the authentication token in plaintext over the query string.

The advantage of using a QUery TOken is you can use a GUID (for example) and use that to point into a database that holds the real authenticaion information. a GUID is complex enough that the user wouldn't be able to fake it to get access. You can timeout the token in the backend database to be valid for X time. (or X time after the last contact). This secures the information and gives you the "single signon" you need.



Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help passing login info to new page peterh Classic ASP Basics 4 January 10th, 2008 12:39 PM
passing parameters to applications jake Pro VB 6 1 August 27th, 2005 02:53 PM
Passing Database Logon Info happyslug BOOK: Professional Crystal Reports for VS.NET 1 February 14th, 2005 08:48 AM
Passing NT Login Info negrette Classic ASP Professional 1 October 25th, 2004 02:37 PM
Passing logon info sandeep Crystal Reports 1 October 6th, 2004 08:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.