Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Integrate w/ other user database app/tables
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Integrate w/ other user database app/tables

 Post Reply Post Reply Page  <123>
Author
GhOs+ View Drop Down
Groupie
Groupie


Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote GhOs+ Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2013 at 9:01am
I am on the same domain and Application Pool - the AP is .NET Framework v2.0.50727 with "Classic" (not integrated) Managed pipeline mode...
Back to Top
GhOs+ View Drop Down
Groupie
Groupie


Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote GhOs+ Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2013 at 9:32am
Strangely, while i am in the same app pool, a new session id is issued when I navigate to the forum page! this must be somehow related. The new session id that is generated is incremented by 1 or 2 as I move from the member page to a forum page.
 
For example, if I print the session id on the member page and it is 12345677, the forum would be 12345678 or 12345679! If using a different app pool or domain, the entire number is different, not incremented by one or two. I am at a total loss, but hopefully this can help identify the problem...
Back to Top
GhOs+ View Drop Down
Groupie
Groupie


Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote GhOs+ Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2013 at 9:49am
IanSmith, in answer to your sidenote, both the membership script and the forum (obviously!) are classic ASP; I am not using any ASP .NET page whatsoever.
 
Could the fact that the forum directory has a web.config file cause this hiccup? I'm starting to think this is the root of my problem -- any recommended method of preventing the session to increment when switching between the membership page (different directory) and the forum pages (with it's own web.config file in the forum directory)?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (1) Thanks(1)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2013 at 4:27pm
The web Wiz Forums web.config file is for the URL Rewrite rules and should not affect sessions.

Make sure that the forums directory is not an application/virtual directory in IIS as this will then mean that it runs as a separate website to the rest of the website and not be able to share session variables.
Back to Top
GhOs+ View Drop Down
Groupie
Groupie


Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote GhOs+ Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2013 at 5:16am
I removed the Application Pool for the forum and am now using the main App Pool for both the Forum and the membership pages. Both allow anonymous access. Restarted IIS. No luck, still different sessionIDs as I move from membership page to forum. Restarted the server. Still different sessionIDs as I move from membership page to forum.
I am not using virtual directories, both are actual directories off the root. Could the different webconfig files (one in forum, other in membership) possibly trigger a different sessionID?
Back to Top
GhOs+ View Drop Down
Groupie
Groupie


Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote GhOs+ Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2013 at 5:33am
It turns out the membership page (since it contains sensitive data) requires HTTPS, when I switch to the forum, it's regular http. Session.ID is incremented. Do you have any suggestion/idea on how I can best bring over the Session("User") ETC that I need for the forum from the membership pages that use HTTPS?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (1) Thanks(1)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2013 at 10:51am
You would need to have both running under the same website either with HTTP or HTTPS.

Web Wiz Forums does support HTTPS and will switch to HTTPS for login, registration, member control panel, etc.

You may want to try enabling HTTPS support in Web Wiz Forums and see if that fixes the issue. You can enable the HTTPS support from the General settings page in Web Wiz Forums admin page.

You may find that you need to point the URL from your website to an https:// URL of the forum so that the session variables can be passed over correctly and the user logged in.
Back to Top
GhOs+ View Drop Down
Groupie
Groupie


Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote GhOs+ Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2013 at 1:43pm
Thanks!!!
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.