Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 10th, 2003, 02:30 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Session Variables

Hi,
  here's my problem, I'm trying to do a login page, but since I used Apache HTTP Server, it does'nt work anymore. I used PWS (Personal Web Server) before, and was working find. I switched to Apache because it is better. Is there something I have to set in Apache that can refer to session Variables? It seems like its not keeping track of it. I know that in php there's a line to add, but maybe in ASP its the same problem? Thank you.

Flesh_God

Reply With Quote
  #2 (permalink)  
Old November 10th, 2003, 06:12 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Are you using Apache with ASP????? Are you using stuff like Chilli Soft, or does it work for you just out of the box?

ASP Sessions won't just work on other Web servers. You'll need IIS, PWS or some kind of third party tool that runs on a different platform / OS. Or am I missing something here?

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #3 (permalink)  
Old November 11th, 2003, 08:03 AM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here whhat I've got,
Window 98 for my server.
JServ 1.1.1,
iasp 2.1.01
Apache 3.28
And the JVM from Macromedia ultradev.
I'm using port 8080 (cuz my provider is blocking port 80)

Thanks for the help.

Reply With Quote
  #4 (permalink)  
Old November 11th, 2003, 08:05 AM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh and by the way, the page works fine in asp,
but the problem is when we log in. It does'nt
keep the session variable...

Flesh God

Reply With Quote
  #5 (permalink)  
Old November 11th, 2003, 10:35 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Right, so you *do* use a third party product.

Anyway, if other pages works as expected, it may be a problem with the login page. Can you post the relevant portions of the page so we can take a look at it and try to figure out the problem?

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #6 (permalink)  
Old November 11th, 2003, 12:24 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Like I said, I'm sure its not the dreamweaver or login page, because I have tested it with PWS and it works fine. I did a test page (only 2 text boxes and a post button) with dreamweaver and add the login server behaviors, and did'nt work either... So I'm sure its not the coding... like I said, I know in php you have to add something like session start() or something like that... I'm pretty sure its my Apache things...

    I know that when I'm using PWS its sends the complet path (ex: http://mysite.com/index.asp) but with Apache its different, its always (http://mysite.com) maybe the session variable is not pass because the option is not on? what is the option?

   If you need more info, continue your posting :) and thank you for the help.

Flesh God

Reply With Quote
  #7 (permalink)  
Old November 11th, 2003, 01:17 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Ah, OK. I see now what kind of setup you have.

I searched through some of my bookmarks for iASP and found the following:

iASP provides complete remote management and configuration support. The product comes with an ADMIN server and Halcyon's Remote Console Applet (RCA). The RCA provides a browser-based interface for configuring all aspects of iASP's behavior including security, error/connection logs, session management, servlet settings, object pooling, and more. The RCA also provides a user interface for an ASP application paradigm similar to what is provided through the Microsoft Management Console for IIS.

It looks to me you're right: You may need to enable sessions somewhere; but not on the page level, but on the app level.

Did you check this out: http://iasp.mediahost.org/docs/featu...plication.html

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #8 (permalink)  
Old November 11th, 2003, 05:52 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm getting mad now.... lol I can't access the darn IAsp console... I don't understand what they mean... I get an error while trying to access the console, it says that I can't find file mangerservlet or something like that ...... darn I'm getting bored trying to fix that problem.... If only I knew how to program it my self or if only my provider could unwrap port 80 on their servers... I could use PWS...

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Session Variables in C# shikha09 C# 1 November 28th, 2006 10:38 AM
Session Variables testsubject Visual Studio 2005 8 March 8th, 2006 04:26 PM
Is it possible for me using session variables into see07 ASP.NET 1.x and 2.0 Application Design 4 March 9th, 2005 07:46 PM
Session Variables - help? Annoyamouse BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 11 August 31st, 2004 03:56 PM
session variables help face Classic ASP Databases 4 September 12th, 2003 03:57 PM



All times are GMT -4. The time now is 07:41 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.