S
Saulot
Hi,
Facing a big problem.
In my Default.aspx page, I open a connection with ma Sql Server DataBase
through my objects framework (A "SetDefaultConnectionString" property which
open my connection... work fine with winforms)
My Default.aspx page is a login one.
When I log in, no problem, I got my
Response.Redirect("DefaultEmployee.aspx") which works well. Then, I click on
another Redirect which leads me to the employee's personnal informations and
THERE, Problem.
BUT, using spy window, I can see that just after the Redirect thing, my
connectionstring is set to nothing !!!
So here is the point.
Is there a place to open my connection that it'll be available for the whole
pages of my site and so on, a place to close it when my user lives the site.
I tried Application_start and didn't work.
Help please.
Facing a big problem.
In my Default.aspx page, I open a connection with ma Sql Server DataBase
through my objects framework (A "SetDefaultConnectionString" property which
open my connection... work fine with winforms)
My Default.aspx page is a login one.
When I log in, no problem, I got my
Response.Redirect("DefaultEmployee.aspx") which works well. Then, I click on
another Redirect which leads me to the employee's personnal informations and
THERE, Problem.
BUT, using spy window, I can see that just after the Redirect thing, my
connectionstring is set to nothing !!!
So here is the point.
Is there a place to open my connection that it'll be available for the whole
pages of my site and so on, a place to close it when my user lives the site.
I tried Application_start and didn't work.
Help please.