Question on Session Variable

Results 1 to 2 of 2

Thread: Question on Session Variable

  1. #1
    tajuddin Guest

    Default Question on Session Variable

    Hi there,<BR><BR>I am running PWS.<BR>I have created a login page. Upon correct password username and password I would redirect into a different page. My code snippet<BR><BR><BR>IF found = 1 THEN<BR> session("login") = True<BR> session("name") = u<BR> <BR> <BR> Response.Redirect("http://mypc/iissamples/homepage/....webpubinvestment1.asp")<BR><BR>Now in the investment1.asp, at the top page I included this<BR><BR>IF NOT session("login") THEN<BR> Response.Redirect("http://mypc/iissamples/homepage/....webpubloginform.asp")<BR> END IF<BR><BR>Somehow the Session("login") is always FALSE<BR><BR>Is there anything wrong with the global.asa file<BR><BR>Thanks in advance for your help

  2. #2
    swastika Guest

    Default RE: Question on Session Variable

    I encountered similar problem. I reinstalled PWS agian on my machine. PWS is not stable. Frequently gives such errors. Try restarting your machine first. If does not work, uninstall pws and reinstall again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts