Guest_imported
New member
- Jan 1, 1970
- 0
Please help! I'm trying to avoid having my users have to log in twice going from menu.asp to default.asp, even though userids and passwords for 2 different portions of my web are stored 2 different ways.. Here is the problem:<br><br>One section of my web use SSL and Windows NT user accounts and passwords to validate logins. (menu.asp)<br>Another page (default.asp) uses an Access database and ODBC function calls to validate the logins. However, once<br>the login has been validated, a session cookie is set with code <br>resembling the following:<br>Session("USERNAME")=UserID<br><br>I was hoping that I could just put in a line of script to set the session cookie with the username and then provide the link. <br><br>I have the following code in the page to verify it.<br><% <br>Session("USERNAME")="JONESJ"<br>%><br>Value of session cookie username:<br><%= Session("USERNAME") %><br><br><br><br>When I click on the link default.htm page, the session <br>cookie appears to be gone. I have the following code in the .asp file that my link points to:<br><br>Value of session cookie username:<br><%= Session("USERNAME") %><br><br>and it returns a blank instead of the session cookie that I had on the previous page.<br><br>Any ideas?? These 2 files are in different virtual directories. ..Thanks!