Ask a Question related to ASP Components, Design and Development.
-
Joe Befumo #1
Session_Start not firing
I'm workinbg in Visual Studio 2003. I'm experimenting with creating a
session variable, and from all I can gather. the Session_Start event is not
firing.
In Global.asx.vb, in the Session Start event, I have the following:
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session is started
Session("varTest") = "123"
End Sub
First off, when I set a break point at that line, it is never reached when
the application starts. Secondly, when I try to post a test alert(), to
display Session("varTest"), it comes up blank (no error). Finally, if I set
Session("varTest") = "123" in my asp page, then display it, it shows up, all
of which leads me to believe that the global.asax file is not seen by the
project, even though it was inserted automatically.
Anyone have any idea how to rectify this problem?
Thanks.
Joe
[url]http://www.befumo.com[/url]
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
Joe Befumo Guest
-
Help with session_start()
Hi. I was tring to start a session my web page and tried using the session_start(). However i keep gettin the warning: Warning: session_start()... -
Classes and session_start()
Hello there! I'm building a php system where I can put images in a zipfile and download it. I found some code to do this and created zip.php, a... -
session_start problem...
Hi. I'm very new to PHP so this may be a dumb question, but I'm stuck. I have just compiled and installed the latest and the greatest versions of... -
session_start() problem
Hi, every time. This is a familiar question here, but the answers I found in this and other groups did not help. I get the : Warning: Cannot send... -
session_start()
Ian.H wrote: Just one clarification for the original poster, as I think this still might be semi-unclear to him. (Had he understood the manual...



Reply With Quote

