• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Session... when are they created?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Session... when are they created?


  • Subject: Re: Session... when are they created?
  • From: Francesco Romano <email@hidden>
  • Date: Tue, 11 Aug 2009 12:47:33 +0200

On 11/ago/09, at 11:55, Mark Gowdy wrote:
You didn't provide me with all of (2)

I need:
The URL that generated the login page.  (I want to see if it contains session information)
Rendered HTML source from the browser (all of it - if possible)

Also what happens if you remove the '?redirect = redirectTo' bindings?

I would expect the link to the doLogin to be something like:
http://192.168.1.87:5100/cgi-bin/WebObjects/PNStore.woa/wa/Login/doLogin?wosid=q43cu5nqki4nyqiw4nrckqeuw

Mark
 
On 10 Aug 2009, at 19:03, Mark Gowdy wrote:

2) And can you show us the rendered html source from the browser and the URL that got you to that login page.

Yeah... this is because I didn't understand what I should provide you...
The login page can be called from different pages (that because of that redirectTo binding), but I'll show you the URL generated by the ShowAccount link put in the PageWrapper component.

This is the URL if I don't have any session:
http://192.168.1.87:5100/cgi-bin/WebObjects/PNStore.woa/wa/showAccount
And this is the one if I have the session, but no user is associated with it:
(Now I'm in the home page with a session: URL: http://192.168.1.87:5100/cgi-bin/WebObjects/PNStore.woa/wa/default?wosid=4kS9jZKdRzGbKCFBipJUDg) and now I press the show Account link:
http://192.168.1.87:5100/cgi-bin/WebObjects/PNStore.woa/wa/showAccount?wosid=4kS9jZKdRzGbKCFBipJUDg

Than.. after the successful login, this is the URL: http://192.168.1.87:5100/cgi-bin/WebObjects/PNStore.woa/wa/Login/doLogin and this the log:
Aug 11 12:42:24 PNStore[5100] INFO  er.extensions.appserver.ERXApplication  - false <- hasSession()
Aug 11 12:42:24 PNStore[5100] INFO  er.extensions.appserver.ERXApplication  - Created Session pdMZptwvvSouWp644CBBYM
Aug 11 12:42:24 PNStore[5100] INFO  er.extensions.appserver.ERXApplication  - true <- hasSession()

This is the HTML generated for the loginPage:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<!-- <script type="text/_javascript_" src=""></script>
	<script type="text/_javascript_" src=""></script> -->

	<title>PortoNapoleone Store - Login</title>
	<link  rel="stylesheet" type="text/css" href=""></link>

</head>
<body>
	<div id="header">
			<div id="logo">
				<img alt="Logo" src="" width="226" height="99" />
			</div>

			<div class="separationbar"></div>

			<div id="navigation">
				<ul>
					<li><a href="">Store Home</a></li>
					<li> | </li>
					<li><a href=""http://www.portonapoleone.com">http://www.portonapoleone.com">Site Home</a></li>
					<li> | </li>
					<li><a href="">Account</a></li>
					<li> | </li>
					<li><a href="">Il carrello</a></li>
				</ul>
			</div>
			<div id = "ajaxCartConteiner" style = "display:none;">
			</div>

			<div class="separationbar"></div>

		</div>
<div>
	<div>

	</div>
	<div>
	<h4>login</h4>
	<form name="loginForm" method="post" action="">
		<table>
			<tr><td>Username:</td><td><input type="text" name="username" /></td></tr>
			<tr><td>Password:</td><td><input type="password" name="password" /></td></tr>
			<tr><td></td><td><input type="submit" value="Submit" name="Login/doLogin" /><input type="hidden" name="WOSubmitAction" value="Login/doLogin" /></td></tr>
		</table>
	</form>
	</div>
	<div>
	<h4><a href="">registrati</a></h4>
	</div>
</div>




		<div id="footer">
			<p id="left">P.IVA 00127230993</p>
			<p>PortoNapoleone &middot; Santa Margherita Ligure</p>
		</div>

</body>
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Session... when are they created?
      • From: Mark Gowdy <email@hidden>
    • Re: Session... when are they created?
      • From: Mark Gowdy <email@hidden>
References: 
 >Session... when are they created? (From: Francesco Romano <email@hidden>)
 >Re: Session... when are they created? (From: George Domurot <email@hidden>)
 >Re: Session... when are they created? (From: Francesco Romano <email@hidden>)
 >Re: Session... when are they created? (From: George Domurot <email@hidden>)

  • Prev by Date: Re: Defining child Entities.
  • Next by Date: Re: Defining child Entities.
  • Previous by thread: Re: Session... when are they created?
  • Next by thread: Re: Session... when are they created?
  • Index(es):
    • Date
    • Thread