Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic 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 December 1st, 2004, 07:02 AM
Registered User
 
Join Date: May 2004
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default session variable value cleared ?

hi,
my problem is that when i set a session variabe just before redirect to a URL it lost the session variable. same think is working fine on XP machine i have 2k with SP4 machine please try to solve it

sess_test.asp
<html><body>
<% Session("Sin") = "Hoo"
   Response.Redirect "http://localhost/sg/sess_Result.asp" %>
</body></HTML>

sess_result.asp
<HTML><BODY><title> Result Page </title>
<%= "Here session Variable Result=" & Session("Sin")%>
 </BODY></HTML>


:(


azeem
 
Old December 1st, 2004, 06:55 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Your code runs fine. Your problem is probably IIS session enabling:

http://support.microsoft.com/default...301305&sd=tech

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can we get value of a session variable KamalRaturi ASP.NET 2.0 Professional 3 September 14th, 2006 03:33 PM
Session variable anuradha80 General .NET 3 November 4th, 2004 12:39 AM
Session variable mrideout BOOK: Beginning ASP.NET 1.0 1 August 12th, 2004 07:01 PM
Session Variable mcdowell BOOK: Beginning ASP 3.0 5 June 20th, 2004 05:47 AM





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