Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 March 23rd, 2006, 04:52 AM
Registered User
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with cookies using response.redirect

  I have a website with some secured pages in it. When a user enters his username and password they are checked in a database and a session id, session profile and session timeout are created independently for every user. My institute uses microsoft box as a server which they upgraded recently. With the earlier server I used response.redirect once the user was authenticated and the cookie carried all the information about the session, but since the upgrade I need to enter the username and password atleast 3 to 4 times before the cookie carries the information to the next page. So I started using server.transfer instead, but as my secured pages are in different directories (but on the same server) it losses the session information if I tried to access any pages in other directories and have to enter authentication information again. The problem came about when we changed to the latest microsoft server. Can anyone please let me know why the response.redirect is not working and is there a way around it or can I make some changes to my code to keep using server.transfer.

Thank You

Old March 23rd, 2006, 02:54 PM
Friend of Wrox
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts

cross post

Similar Threads
Thread Thread Starter Forum Replies Last Post
Response.Redirect Problem msbsam ASP.NET 2.0 Basics 0 February 10th, 2007 03:28 AM
problem with cookies using response.redirect chaituat ASP.NET 1.0 and 1.1 Professional 0 March 23rd, 2006 02:09 PM
Difference between Session and Response.Cookies? Lucy Classic ASP Basics 1 March 2nd, 2004 02:03 PM
problem faced with response.redirect anandkolar Classic ASP Professional 0 November 12th, 2003 08:54 AM

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