Ask a Question related to ASP.NET General, Design and Development.
-
Arthur #1
ASP Session Variable Info missing after accessing ASPX
I have a mix web site, ASP and ASPX files.
I have assigned a value to Session("Date") and the href to
an ASPX page. When I further href to another ASP Page. The
content in Session("Date") becoming blank. Is it in
design? Or bug? Is there any work around solution?
Also, Is there any way to secure my ASPX source code from
client? I don't want clients to be able to see the source
code but they can run the ASPX.
Thanks
Arthur Guest
-
Accessing an .aspx page from server in a DMZ
We are currently hosting our own web site; the web site of course resides outside the DMZ. For security reasons, the network crew will not allow us... -
Accessing a aspx page using HttpWebRequest from another aspx page on the same webapp
Did you have any luck on this as I have the same problem. Maybe you can help me out of you solved your problem. -
#25551 [Opn->Bgs]: Session data loss when accessing session from multiple windows.
ID: 25551 Updated by: sniper@php.net Reported By: brett at realestate-school dot com -Status: Open +Status: ... -
#25551 [Bgs->Opn]: Session data loss when accessing session from multiple windows.
ID: 25551 User updated by: brett at realestate-school dot com Reported By: brett at realestate-school dot com -Status: ... -
#25551 [NEW]: Session data loss when accessing session from multiple windows.
From: brett at realestate-school dot com Operating system: Linux - Red Hat PHP version: 4.3.1 PHP Bug Type: Session related... -
Jeff Trotman #2
Re: ASP Session Variable Info missing after accessing ASPX
Are you initially setting Session("Date") in ASP or ASPX? Session variables
don't automatically pass from ASP and ASPX pages in the same application.
(If this is what you're trying to do - take a look at
[url]http://www.sessionbridge.com[/url]. It's a utility to help with this.)
If you're setting it in an ASP page, navigating to an ASPX page, and then
going to another ASP page - the session variable set on the first page
should still be available as long as your timeout hasn't expired. By having
ASP and ASPX in the same application, the client has 1 session with ASP and
another session with ASPX. This shouldn't be any different than navigating
to a page on another site and then back to yours (again, as long as the
timeout hasn't expired).
As far as securing the ASPX, if you use "code-behind" pages - that code is
compiled into the DLL and only your HTML is in the ASPX file.
Jeff Trotman
Westglenn Software
"Arthur" <ArthurLoh@asiantat.com> wrote in message
news:08db01c34aaf$7f719bf0$a401280a@phx.gbl...> I have a mix web site, ASP and ASPX files.
> I have assigned a value to Session("Date") and the href to
> an ASPX page. When I further href to another ASP Page. The
> content in Session("Date") becoming blank. Is it in
> design? Or bug? Is there any work around solution?
>
> Also, Is there any way to secure my ASPX source code from
> client? I don't want clients to be able to see the source
> code but they can run the ASPX.
>
> Thanks
Jeff Trotman Guest



Reply With Quote

