View Single Post
 
Old November 20th, 2008, 12:47 AM
beetle_jaipur beetle_jaipur is offline
Authorized User
 
Join Date: Feb 2006
Location: jaipur, rajasthan, India.
Posts: 67
Thanks: 7
Thanked 0 Times in 0 Posts
Send a message via Yahoo to beetle_jaipur
Default session variable lost after redirec in classic ASP

Hi,

i am facing some problem regarding redirection and session variables

after setting session variable, if i redirect the page, all session variables are lost.

tried to find solution over internet but most of the solution are for asp.net, i could not found any solution for classic asp.

if anyone has any idea how to overcome the problem, will be great help.

contact.asp?contactMode= enquiryForm
************************************************** *********
   session("enqName") = request.form("enqWebname")

   Dim RedirectUrl
   RedirectUrl = "contactus.asp?status=success"
   Response.Redirect(RedirectUrl)

************************************************** *********

contact.asp?status=success
************************************************** *********
  dim Name
  Name = session("enqName")

   Response.write(Name)
************************************************** *********



thanks for spending time to reading this problem

all suggestions are welcome

thanks and regards
ashok sharma