close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Localhost Page Access

Thread began 6/10/2009 1:59 pm by Jon Gibson | Last modified 6/10/2009 4:39 pm by Jon Gibson | 1650 views | 2 replies |

Jon GibsonBeta Tester

Localhost Page Access

Good morning:

I am testing protected pages, specifically the protected pages from the registration solution, on a local server (localhost).

The problem is that I am able to access the protected pages directly by typing in the url extension. The protected pages that are live on my others sites do not allow this.

QUESTION:
Is it normal to have access to the protected pages when testing on a localhost?

QUESTION 2:
How can I safely pass a Session or Get variable from one page to another via a url? I don't want users to see and/or change their passed ids.

Thank you,
Jon

Sign in to reply to this post

Ray BorduinWebAssist

1) No it is not normal. They may be missing the page access code that should be preventint that.

2) You should store the information in a session... there is no need to add it to the URL, since it could be editied from there it isn't a safe way.

Sign in to reply to this post

Jon GibsonBeta Tester

Thank You

OK, I thought that wasn't normal . . . too much code changing. ANSWER: I was restarting a session that allowed anyone to access the protected page.

Do I just define the Session variable on the preceeding page to the protected page, or is the variable already defined by one of the WA rules?
PROBLEM SOLVED:
Set a variable to my $_Session and used that in my query.

Thank you for answering Ray! Don't know what I'd do without you and this forum (part of the problem was solved using your response to Kevin's sessions question).
Jon

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...